Quote:
Originally Posted by CyberGhost
pawn Код:
public OnPlayerSpawn(playerid) { SetPlayerToTeamColor(playerid); switch(GetPlayerScore(playerid)) // Get the user's score for the switch. { case 0..5: { GivePlayerWeapon(playerid, 24, 1000); // multiple other weapons // multiple other weapons } case 6..50: { GivePlayerWeapon(playerid, 31, 1000); // multiple other weapons // multiple other weapons } case 51..9999: { GivePlayerWeapon(playerid, 38, 1000); // multiple other weapons // multiple other weapons } } return 1; }
|
Ahaa, thanks, amazing how much one bracket can do.