problem with nameoff cmd
#3

i did it
Код:
	if(strcmp(cmd, "/nameOn", true) == 0)
	{
			if(PlayerInfo[playerid][pAdmin] >3)
			{
		  	for(new i = 0; i < GetMaxPlayers(); i++)
				{
					ShowPlayerNameTagForPlayer(i, playerid, 1);
				}
	      SendClientMessage(playerid,COLOR_GREY, "You Turned Name Tags ON");
			}
			return 1;
	}
	if(strcmp(cmd, "/nameOff", true) == 0)
	{
			if(PlayerInfo[playerid][pAdmin] >3)
			{
	      SendClientMessage(playerid,COLOR_GREY, "You Turned Name Tags Off");
				for(new i = 0; i < GetMaxPlayers(); i++)
				{
					ShowPlayerNameTagForPlayer(i, playerid, 0);
				}
			}
			return 1;
	}
but i always see the playername
Reply


Messages In This Thread
problem with nameoff cmd - by jasonnw666 - 31.01.2010, 18:58
Re: problem with nameoff cmd - by Mr L - 31.01.2010, 19:00
Re: problem with nameoff cmd - by jasonnw666 - 31.01.2010, 19:12
Re: problem with nameoff cmd - by Mr L - 31.01.2010, 19:19
Re: problem with nameoff cmd - by jasonnw666 - 01.02.2010, 16:03
Re: problem with nameoff cmd - by MadeMan - 01.02.2010, 16:09
Re: problem with nameoff cmd - by jasonnw666 - 01.02.2010, 16:25
Re: problem with nameoff cmd - by MadeMan - 01.02.2010, 16:28
Re: problem with nameoff cmd - by jasonnw666 - 01.02.2010, 17:52
Re: problem with nameoff cmd - by jasonnw666 - 01.02.2010, 20:10

Forum Jump:


Users browsing this thread: 3 Guest(s)