05.08.2009, 18:42
pawn Код:
ShowNameTags(1);//this makes them show
pawn Код:
ShowNameTags(0;//this hides them
to make a command to show and hide them use this.
pawn Код:
}
if(strcmp(cmdtext, "/nametagon", true)==0)
{
for(new i = 0; i < MAX_PLAYERS; i ++)
{
SendClientMessage(playerid, COLOR_YELLOW2, "Name Tag's Will Appear.");
ShowPlayerNameTagForPlayer(playerid, i, 1);
}
return 1;
}
if(strcmp(cmdtext, "/nametagoff", true)==0)
{
for(new i = 0; i < MAX_PLAYERS; i ++)
{
ShowPlayerNameTagForPlayer(playerid, i, 0);
SendClientMessage(playerid, COLOR_YELLOW2, "Name Tag's Will Be Hidden.");
}
return 1;
}