17.11.2010, 03:27
pawn Код:
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;
}
if (strcmp("/nameon", cmdtext, true) == 0)
{
for(new i = 1; i < MAX_PLAYERS; i++)
{
ShowPlayerNameTagForPlayer(playerid, i, true);
}
GameTextForPlayer(playerid, "~W~Nametags ~G~on", 5000, 5);
return 1;
}
https://sampwiki.blast.hk/wiki/ShowPlayerNameTagForPlayer