Well I haven't posted a question on here in a bit, but I ran into another problem. I want to make a script that sets the players tag. I'm not sure if this script is correct in any way/or if I over thought it. Can someone tell me whats wrong :o?
PHP Code:
function onActionSeverside(tags){
if (tokens[0] == "/tag"){
player.guild = "Elepahnt";
}
}
//#CLIENTSIDE
function onPlayerChats(){
if (player.chat == "/tag"){
temp.tokens = player.chat.tokenize();
triggerServer("gui", this,name, tags);
}
}