14.04.2012, 04:08
pawn Code:
public OnGameModeInit()
{
for( new SkinID; SkinID < MAX_SKIN_ID; SkinID ++ )
{
switch( SkinID )
{
//Add the exceptions here - Normal users will NOT be allowed to select them!
case 0: SkinID ++;
//Not allowed to select this due to it being the Carl Johnson skin model!
case 165: SkinID ++;
case 166: SkinID ++;
case 211: SkinID ++;
case 217: SkinID ++;
case 294: SkinID ++;
//Not allowed to select these due to them being a 'Staff only' skin model!
case 265: SkinID ++;
case 266: SkinID ++;
case 267: SkinID ++;
case 274: SkinID ++;
case 275: SkinID ++;
case 276: SkinID ++;
case 277: SkinID ++;
case 278: SkinID ++;
case 279: SkinID ++;
case 280: SkinID ++;
case 281: SkinID ++;
case 282: SkinID ++;
case 283: SkinID ++;
case 284: SkinID ++;
case 285: SkinID ++;
case 286: SkinID ++;
case 287: SkinID ++;
case 288: SkinID ++;
//Not allowed to select these due to them being a 'Specialized Service' skin model!
default: AddPlayerClass( SkinID, 0,0,0,0, 0,0, 0,0, 0,0 );
//They are allowed to use these skins, and have, as a result, been created!
}
}
return 1;
}