Set NPC Color?
#1

Is there a SetPlayerColor for NPC's?
Like, SetNPCColor ?
Reply
#2

i think it might be the same but the player id is the npc's name
Reply
#3

Код:
public OnPlayerSpawn(playerid)
{
	if(!IsPlayerNPC(playerid)) return 1;

	new playername[64];
	GetPlayerName(playerid,playername,64);

	if(!strcmp(playername,"name of your npc",true)) {
    SetPlayerColor(playerid,0xFFFFFFFF);
 	}
Reply
#4

Got it to work!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)