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?

You can do this:
pawn Код:
//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.
Best regards!

PD: Victim clothes lover.

Forum Jump:

Users browsing this thread: 1 Guest(s)