Random giving money ?
#4

Quote:
Originally Posted by newbienoob
Посмотреть сообщение
Use Random
Example:
Код:
new money = random(1000); //Random money you will get between 0 - 1000
GivePlayerMoney(playerid,money);
Thanks but,
What i need write into here i know that possible make random stuffs but how to place money into this one ?
pawn Код:
new Float:RandomSpawn[][4] =
{
    // Positions, (X, Y, Z and Facing Angle)
    {-2796.9854, 1224.8180, 20.5429, 192.0335},
    {-2454.2170, 503.8759, 30.0790, 267.2932},
    {-2669.7322, -6.0874, 6.1328, 89.8853}
};

Quote:
Originally Posted by [bot]fatninja
Посмотреть сообщение
well as if i think keep al the players in an array and use the rand function in array to give randomly someone cash
Didnt get your point.
What i gona make not going be just a cmd to give random cash to player..
Reply


Messages In This Thread
Random giving money ? - by BlueGames - 23.10.2012, 05:56
Re: Random giving money ? - by newbienoob - 23.10.2012, 06:02
Re: Random giving money ? - by Abhishek. - 23.10.2012, 06:02
Re: Random giving money ? - by BlueGames - 23.10.2012, 06:06
Re: Random giving money ? - by newbienoob - 23.10.2012, 06:09
Re: Random giving money ? - by BlueGames - 23.10.2012, 06:11
Re: Random giving money ? - by Abhishek. - 23.10.2012, 06:12
Re: Random giving money ? - by BlueGames - 23.10.2012, 06:14
Re: Random giving money ? - by BlueGames - 23.10.2012, 10:06
Re: Random giving money ? - by Abhishek. - 23.10.2012, 11:29

Forum Jump:


Users browsing this thread: 3 Guest(s)