28.07.2017, 15:12
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.
(taken from XeonMaster's reply)
Btw are those default NPCs or are you using FCNPC?
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 }
Btw are those default NPCs or are you using FCNPC?