30.06.2014, 20:53
he used
So cash will return 0/1 according to https://sampwiki.blast.hk/wiki/Function:GivePlayerMoney
1: The function executed successfully.
0: The function failed to execute. This means the player is not connected.
So you have to make cash=value of the random... and use cash then..
pawn Код:
cash = GivePlayerMoney(playerid, random(500) + 1000);
1: The function executed successfully.
0: The function failed to execute. This means the player is not connected.
So you have to make cash=value of the random... and use cash then..