How to use this
#1

How do i use this: https://sampwiki.blast.hk/wiki/Random on cash
So like, Rather than random spawns, Its random cash,
How would i do that? What would i edit or whatever
Reply
#2

pawn Код:
GivePlayerMoney(playerid, random(maxcell));
Reply
#3

I leave the name, RandomSpawn and stuff the same? Or what?
Reply
#4

How about if you check the example i gave you. Just put your value in it.
Reply
#5

Dont quite understand
Reply
#6

Quote:
Originally Posted by JoeDaDude
I leave the name, RandomSpawn and stuff the same? Or what?
No, don't need it, just that 1 line will work.
Reply
#7

pawn Код:
GivePlayerMoney(playerid, random(5000));
So this code will give money to player in a random value from 0 to 4999.
Reply
#8

oh ty
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)