SetPlayerMarkerForPlayer | NPC's
#2

Hai!

you did write the params in a wrrong way

SetPlayerMarkerForPlayer(playerid, showplayerid, color);

playerid The player that will see the player's changed blip/nametag color
showplayerid The player whose color will be changed

PHP код:
stock AdjustMarkers(playerid
{     
    for(new 
=0iMAX_PLAYERSi++) 
    { 
        if(!
IsPlayerNPC(i)) 
        { 
            if(
GPM(playerid)==&& GPM(i)==1
            { 
                
SetPlayerMarkerForPlayer(iplayerid0x85170255DD); 
            } 
            else 
            { 
                
SetPlayerMarkerForPlayer(iplayerid, ( GetPlayerColor) & 0xFFFFFF00 )); 
            }     
        } 
        else 
        { 
            
SetPlayerMarkerForPlayer(iplayerid, ( GetPlayerColor) & 0xFFFFFF00 )); 
        } 
         
    } 

Reply


Messages In This Thread
SetPlayerMarkerForPlayer | NPC's - by iLearner - 28.07.2017, 12:59
Re: SetPlayerMarkerForPlayer | NPC's - by Xeon™ - 28.07.2017, 14:05
Re: SetPlayerMarkerForPlayer | NPC's - by iLearner - 28.07.2017, 14:13
Re: SetPlayerMarkerForPlayer | NPC's - by Xeon™ - 28.07.2017, 14:19
Re: SetPlayerMarkerForPlayer | NPC's - by iLearner - 28.07.2017, 14:25
Re: SetPlayerMarkerForPlayer | NPC's - by Xeon™ - 28.07.2017, 14:29
Re: SetPlayerMarkerForPlayer | NPC's - by iLearner - 28.07.2017, 14:36
Re: SetPlayerMarkerForPlayer | NPC's - by Xeon™ - 28.07.2017, 14:41
Re: SetPlayerMarkerForPlayer | NPC's - by NaS - 28.07.2017, 15:12
Re: SetPlayerMarkerForPlayer | NPC's - by iLearner - 28.07.2017, 15:20

Forum Jump:


Users browsing this thread: 1 Guest(s)