Making randoms...
#1

im trying to make somthing give an random amount of money.. but i've failed.. the wiki doesnt help to much for random..... here is timer code...

pawn Код:
public ObjectLoad()
{
    for(new i; i < MAX_PLAYERS; i ++)
    {
        TogglePlayerControllable(i, 1);
        GivePlayerMoney(i, 1337);
    }
    return 1;
}

at
pawn Код:
GivePlayerMoney(i, 1337);
is where i want it to give random amounts.. like 777...444..2323.. bla bla bla...


can som1 explain better then wiki pls :S
Reply


Messages In This Thread
Making randoms... - by DiddyBop - 29.11.2009, 17:39
Re: Making randoms... - by Anwix - 29.11.2009, 19:42
Re: Making randoms... - by Joe Staff - 29.11.2009, 19:46
Re: Making randoms... - by DiddyBop - 29.11.2009, 19:51

Forum Jump:


Users browsing this thread: 3 Guest(s)