Nick Names problems HELP NEEDED.
#3

Код HTML:
	if(newstate == PLAYER_STATE_ONFOOT)
	{
 		new giveplayer = GetClosestPlayer(playerid);
 		TogglePlayerControllable(playerid, 1);
	    if(GetDistanceBetweenPlayers(playerid,giveplayer) < 30)
		{
 			for(new i = 0; i < MAX_PLAYERS; i++)
    		{
    		    new toto1;
    		    new toto2;
				new nombre[MAX_PLAYER_NAME];
				new name2[MAX_PLAYER_NAME];
				toto1 = GetPlayerName(playerid, nombre, sizeof(nombre));
				toto2 = GetPlayerName(giveplayer, name2, sizeof(name2));
				if(PlayerInfo[playerid][pAdmin] >= 1)
				{
				    ShowPlayerNameTagForPlayer(i, playerid, 1);
				}
				if(BuddyInfo[playerid][Buddy1] == toto1 && BuddyInfo[giveplayer][Buddy2] == toto2)
				{
    	    		ShowPlayerNameTagForPlayer(giveplayer, playerid, 1);
    	    		ShowPlayerNameTagForPlayer(playerid, giveplayer,  1);
				}
				else
				{
				    ShowPlayerNameTagForPlayer(giveplayer, playerid, 0);
				    ShowPlayerNameTagForPlayer(playerid, giveplayer, 0);
				}
			}
		}
I have this and disablenametags i dont have nothing...
Reply


Messages In This Thread
Nick Names problems HELP NEEDED. - by Mataaltedi - 03.08.2012, 10:52
Re: Nick Names problems HELP NEEDED. - by Misiur - 03.08.2012, 10:59
Respuesta: Nick Names problems HELP NEEDED. - by Mataaltedi - 03.08.2012, 11:04

Forum Jump:


Users browsing this thread: 1 Guest(s)