How to make random script ?
#2

pawn Код:
switch (random(4))
{
    case 0: GivePlayerMoney(playerid, 500);
    case 1: GivePlayerWeapon(playerid, 24, 1000);
    case 2: GivePlayerWeapon(playerid, 34, 1000);
    case 3:
    {
        // something else..
    }
}
Reply


Messages In This Thread
How to make random script ? - by barts - 31.01.2014, 11:40
Re: How to make random script ? - by Konstantinos - 31.01.2014, 11:46
Re: How to make random script ? - by DaniceMcHarley - 31.01.2014, 11:58
Re: How to make random script ? - by barts - 31.01.2014, 12:47
Re: How to make random script ? - by BroZeus - 31.01.2014, 13:38
Re: How to make random script ? - by DaniceMcHarley - 31.01.2014, 13:52

Forum Jump:


Users browsing this thread: 1 Guest(s)