NPC Skins Help
#3

Quote:
Originally Posted by TheYoungCapone
Посмотреть сообщение
Onplayerspawn

Код:
        new npcname[MAX_PLAYERS];
	GetPlayerName(playerid, npcname, sizeof(npcname));
	if(!strcmp(npcname, "YourNPCName", true))
	{
	 SetPlayerSkin(playerid, 114);//whatever skin id u want
	 SetPlayerColor(playerid, COLOR_DBLUE)//whatever color u want
 	}
Ah yeah, I realized I goofed up on the strcmp, and I have changed that, but both skins are still 105 (I don't set it as 105 anywhere).
Reply


Messages In This Thread
NPC At Character Selection Menu - by Placebo - 30.03.2011, 03:12
Re: NPC Skins Help - by TheYoungCapone - 30.03.2011, 03:24
Re: NPC Skins Help - by Placebo - 30.03.2011, 03:33
Re: NPC Skins Help - by TheYoungCapone - 30.03.2011, 03:34
Re: NPC Skins Help - by Placebo - 30.03.2011, 03:42
Re: NPC Skins Help - by TheYoungCapone - 30.03.2011, 03:44
Re: NPC Skins Help - by Placebo - 30.03.2011, 03:58
Re: NPC Skins Help - by TheYoungCapone - 30.03.2011, 04:01

Forum Jump:


Users browsing this thread: 2 Guest(s)