01.09.2013, 04:58
Hi guys, I'm trying to add all skins in my gamemode. I need a little help here.
This is the original code
If you see I changed the code from for(new i = 0; i < 287; i++) to for(new i = 0; i < 299; i++)
because 299 is the maximum skin, and it means I added all the skins (https://sampwiki.blast.hk/wiki/Skins:All), is it correct?
Quote:
for(new i = 0; i < 299; i++) { AddPlayerClass(i, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); } |
Quote:
for(new i = 0; i < 287; i++) { AddPlayerClass(i, x, y, z, 0, 0, 0, 0, 0, 0); //Replace x, y, z to your coordinates. } |
because 299 is the maximum skin, and it means I added all the skins (https://sampwiki.blast.hk/wiki/Skins:All), is it correct?