SA-MP Forums Archive
Set NPC skin at 0.3.8 custom skin - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Set NPC skin at 0.3.8 custom skin (/showthread.php?tid=648182)



Set NPC skin at 0.3.8 custom skin - Zeus666 - 16.01.2018

Hi. I want to add 2 custom skins

here is my artconfig

AddCharModel(305, 1000, "zombie1.dff", "zombie1.txd");
AddCharModel(305, 1001, "zombie2.dff", "zombie2.txd");

Here's my pwn line

new ZSkins[] = { 1000, 1001};



public OnPlayerSpawn(playerid)
SetPlayerSkin(playerid, ZSkins[random(2)]);



but in game it shows CJ SKIN. Why?