SA-MP Forums Archive
Skins in gamemode - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Skins in gamemode (/showthread.php?tid=218959)



Skins in gamemode - Davz*|*Criss - 31.01.2011

Hey all can anyone help me with making an gamemode?

How do i add skins ??

To a gamemode..

Not teams just skins ..?

Help me out plz


Re: Skins in gamemode - HyperZ - 31.01.2011

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


Re: Skins in gamemode - Stigg - 31.01.2011

AddPlayerClass(0,0.0,0.0,0.0,0.0,-1,-1,-1,-1,-1,-1); //cj

Do this for each of your needed skins, or

for(new i = 0; i < 299; i++)
{
if(IsValidSkin(i))
{
AddPlayerClass(i,0.0,0.0,0.0,0.0,-1,-1,-1,-1,-1,-1);
}
}
for all valid skins. Hope this helps.

Peace....


Re: Skins in gamemode - Stigg - 31.01.2011

Quote:
Originally Posted by Clive
Посмотреть сообщение
Beat me to it Clive. Lolz.

Peace...


Re: Skins in gamemode - Davz*|*Criss - 31.01.2011

Thanks Clive and Stigg this helped out..

Thanks again