SA-MP Forums Archive
Having all skins in one selection? - 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: Having all skins in one selection? (/showthread.php?tid=492090)



Having all skins in one selection? - PlayHard - 02.02.2014

Hello,

I forgot how to make all the sings without "AddClass" thing, can you help me with that guys please?

(I want all the skins to be included in a small script without adding like 200+ AddPlayerClass)


Re: Having all skins in one selection? - Konstantinos - 02.02.2014

Use a loop.

An example:
pawn Код:
for (new i; i != 300; ++i) if (i != 74) AddPlayerClass(i, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0);
More information about the parameters: https://sampwiki.blast.hk/wiki/AddPlayerClass