01.07.2012, 19:28
Say, if I want someone to be able to select any skin when they spawn (299 of them according to the wiki) do I have to make separate AddPlayerClass lines for every skin, or is there a simple, shorter way?
//In OnGameModeInit
for(new s = 0; s <= 299; s++)
{
AddPlayerClass(s, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
//The first parameter must be "s", DON'T change it.
}