Custom skin error
#1

Hi. When I want to add a skin to NPC, it gives him CJ's skin. Why?

Here's my artconfig

Code:
AddCharModel(305, 20001, "lvpdpc2.dff", "lvpdpc2.txd");
AddCharModel(305, 20002, "lapdpd2.dff", "lapdpd2.txd");
AddSimpleModel(-1,19379, -2000, "wallzzz.dff", "wallzzz.txd");
AddCharModel(0, 20003, "zombie1.dff", "zombie1.txd");
AddCharModel(0, 20004, "zombie2.dff", "zombie2.txd");
And here's my pawn code.


Code:
new ZSkins[] = { 20002, 20003};
public OnPlayerSpawn(playerid)
{
    if(IsPlayerNPC(playerid))
    {
           
            SetPlayerSkin(playerid, ZSkins[random(2)]);
Reply


Messages In This Thread
Custom skin error - by Zeus666 - 16.01.2018, 20:15
Re: Custom skin error - by Lucases - 16.01.2018, 20:26
Re: Custom skin error - by Zeus666 - 16.01.2018, 20:28
Re: Custom skin error - by UndertakerLegend - 16.01.2018, 23:32
Re: Custom skin error - by RogueDrifter - 17.01.2018, 00:22
Re: Custom skin error - by Zeus666 - 17.01.2018, 13:51
Re: Custom skin error - by RogueDrifter - 17.01.2018, 13:54
Re: Custom skin error - by Zeus666 - 17.01.2018, 14:02
Re: Custom skin error - by Zeus666 - 17.01.2018, 14:05
Re: Custom skin error - by RogerCosta - 17.01.2018, 15:03
Re: Custom skin error - by RogueDrifter - 17.01.2018, 20:42
Re: Custom skin error - by Mugala - 27.01.2018, 08:37

Forum Jump:


Users browsing this thread: 1 Guest(s)