If you would like to use this on your server, feel free to. Just give me credit in the script
PHP Code:
//Coded by iMask
findplayer("accountname").addWeapon(this.name);
function onActionServerSide() {
this.targetID = player.chat.substring(5).trim();
for (temp.pl: allplayers) {
if (temp.pl.account == this.targetID) {
temp.pl.chat = "I have been warned! Type unstick me to return.";
pl.setlevel2("level_name.nw", 30, 30); //type in the level name you want
player.chat = "Warned the player" SPC this.targetID;
}
}
}
//#CLIENTSIDE
function onPlayerChats() {
if (player.chat.starts("/warn")) {
triggerserver("gui", this.name, NULL);
}
}