23.10.2012, 06:06
Quote:
Use Random
Example: Код:
new money = random(1000); //Random money you will get between 0 - 1000 GivePlayerMoney(playerid,money); |
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:
well as if i think keep al the players in an array and use the rand function in array to give randomly someone cash
|
What i gona make not going be just a cmd to give random cash to player..