Originally Posted by Stigg
Use this:
pawn Код:
public OnGameModeInit() { 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); } } return 1; }
With this stock.
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; }
Gives you all valid skins.
|