Ok , my script does not work , here is :
PHP Code:
// Scripted by *Trakan
//#CLIENTSIDE
function onWeaponFired() {
say2 Ecrit /tag pour mettre le #btag de ta nation!;
}
public function destroy() : void {
temp.stack = getCallStack();
temp.npc = stack[stack.size()-2].scriptcallobject.name;
echo("[NPC Error]: '"@ npc @"' tried to delete '"@ this.name @"'");
}
function onActionServerSide(cmd, tag) {
switch (cmd) {
case "tagOn": {
if (tag == null) {
break;
}
player.guild = tag;
break;
}
}
}
//#CLIENTSIDE
function onPlayerChats() {
switch (player.chat) {
case "/tag": {
triggerserver("gui", clientr.towntagrank, name, "tagOn", clientr.towntag);
break;
}
}
}
If i say /tag , nothing...
Thank you for your future help
