Hey,
I'm trying to exec a say command after a player joins the server and chooses a team.
Currently i'm using this method:
PHP Code:
public client_infochanged(id)
{
if (get_user_team(id) > 0) client_cmd(id, "say /rules")
return PLUGIN_CONTINUE
}
Problem is, that even if the player changes his team, the commands executes again. I need it to execute ONLY once after the first teamjoin.
__________________