12.04.2009, 09:07
hey guys i have this code in my gamemode
but it only goes off for one second and comes back
hope you can help!
pawn Код:
//The player who typed /nameoff will not be able to see any other players nametag.
if (strcmp("/nameoff", cmdtext, true) == 0)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
ShowPlayerNameTagForPlayer(playerid, i, false);
}
GameTextForPlayer(playerid, "~W~Nametags ~R~off", 5000, 5);
return 1;
}
hope you can help!