The more score the more guns
#10

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.
Reply


Messages In This Thread
The more score the more guns - by Garc1a - 09.10.2011, 20:04
Re: The more score the more guns - by Garc1a - 10.10.2011, 06:54
Re: The more score the more guns - by Garc1a - 10.10.2011, 15:25
Re: The more score the more guns - by grand.Theft.Otto - 10.10.2011, 15:32
Re: The more score the more guns - by Garc1a - 10.10.2011, 15:46
Re: The more score the more guns - by grand.Theft.Otto - 10.10.2011, 17:16
Re: The more score the more guns - by Laronic - 10.10.2011, 17:18
Re: The more score the more guns - by Garc1a - 10.10.2011, 17:23
Re: The more score the more guns - by Laronic - 10.10.2011, 17:24
Re: The more score the more guns - by Garc1a - 10.10.2011, 17:27

Forum Jump:


Users browsing this thread: 4 Guest(s)