05.07.2010, 17:15
This should work
Edit: Damn it, the "there are new replies after you clicked 'reply'" thingy isn't implanted here
pawn Код:
for (new i = 0; i < 300; i++)
{
if (IsValidSkin(i))
{
AddPlayerClass(i, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
}
}
IsValidSkin(skinid)
{
switch (skinid)
{
case 3, 4, 5, 6, 8, 42, 65, 74, 86, 119, 149, 208, 265, 266, 267, 268, 269, 270, 271, 272, 273, 289: { return 0; }
default: {return 1;}
}
return 1;
}
Edit: Damn it, the "there are new replies after you clicked 'reply'" thingy isn't implanted here