SA-MP Forums Archive
Random Skin HELP - 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: Random Skin HELP (/showthread.php?tid=375424)



Random Skin HELP - zT KiNgKoNg - 06.09.2012

hey guys im making a new roleplay script and i have this code
pawn Код:
SetSpawnInfo(playerid, 0, skins[random(60)], 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0);
and it should randomly give a player a skin from 1 to 60 skipping 0


Re: Random Skin HELP - zT KiNgKoNg - 06.09.2012

SORTED WITH

pawn Код:
SetPlayerSkin(playerid,pSkin);
i added this on register and login