New problem , i make a tool for king of a town , my flags does not work , if i say /add , it's say it work ! but i not got xen tag !
PHP Code:
// Scripté par Trakan :D
//#CLIENTSIDE
//Pour Xenos
if (clientr.towntag == Xen) {
if (clientr.towntagrank == Guerrier) {
function onPlayerChats() {
switch (player.chat) {
case "/add": {
player.chat = "Work!";
} else {
player.chat = "not work !";
}
}
}
}
}
And else {
does not work
