SA-MP Forums Archive
CreateClass Gta Samp - 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: CreateClass Gta Samp (/showthread.php?tid=445355)



CreateClass Gta Samp - Moleex - 20.06.2013

How To Create Skin In Gta Samp Server
Please.... Thank You


Re: CreateClass Gta Samp - SwisherSweet - 20.06.2013

https://sampwiki.blast.hk/wiki/AddPlayerClass


Re: CreateClass Gta Samp - Cvnnor - 20.06.2013

If you mean how to pick a skin upon player joining the server then refer to the sa-mp wiki - https://sampwiki.blast.hk/wiki/AddPlayerClass - that should help you and if you mean something else just reply here


Respuesta: CreateClass Gta Samp - JustBored - 20.06.2013

SetPlayerSkin(playerid, skin);
Only between 0 and 299, if you put numbers that aren't between those numbers the player will crash.


Re: CreateClass Gta Samp - Can4ns - 21.06.2013

Код HTML:
//Random skin if player spawns. Under onplayerspawn:

new randomskin=random(299);
SetPlayerSkin(playerid, randomskin);

//AddPlayerClass, so you can select skins:
AddPlayerClass(120, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0);