12.10.2011, 13:40
Hello, I've scripted this code using YCMD, Would it hide Name tags?
pawn Код:
YCMD:nameoff(playerid, params[], help)
{
#pragma unused help
#pragma unused params
for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(playerid, i, false);
GameTextForPlayer(playerid, "~W~Nametags ~R~off", 5000, 5);
return 1;
}
YCMD:nameon(playerid, params[], help)
{
#pragma unused help
#pragma unused params
for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(playerid, i, true);
GameTextForPlayer(playerid, "~W~Nametags ~R~on", 5000, 5);
return 1;
}