Quote:
Originally Posted by Stigg
Put this under your OnGameModeInit()
pawn Код:
for(new i = 0; i < 299; i++) { if(IsValidSkin(i)) { AddPlayerClass(i,0.0,0.0,0.0,0.0,-1,-1,-1,-1,-1,-1); } }
And this at the bottom of your script, not in a callback.
pawn Код:
stock IsValidSkin(SkinID) { if(0 < SkinID < 300) { switch(SkinID) { case 3..6, 8, 42, 65, 74, 86, 119, 149, 208, 273, 289: return 0; } return 1; } return 0; }
|
I do not understand the script
Can you explain to me where it is "My OnGameModeInit?