10.10.2011, 17:23
I don't understand.. this is the code:
The errors are coming from return 1;
Код:
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; }