SetPlayerMarkerForPlayer | NPC's
#9

SetPlayerColor to white without alpha (0xFFFFFF00) should already do the job - which you do in OnPlayerSpawn. If that does not work there is already something wrong, or interfering.

Anyway this should work, if not you're doing something wrong, or having another issue.

Код:
public OnPlayerStreamIn(playerid, forplayerid) 
{ 
    if(IsPlayerNPC(playerid)) 
    { 
        SetPlayerMarkerForPlayer(forplayerid, playerid, 0x00000000); // Change to grey/white without Alpha
    }
(taken from XeonMaster's reply)

Btw are those default NPCs or are you using FCNPC?
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: 2 Guest(s)