#1

Hai How can i do it like if a player just do:

/money, then he just get a random amount of money between 30000 - 50000 and in zcmd

pawn Код:
CMD:money(playerid, params[])
{
  // I want the code here, but i simply dont know how to make it randommly
       return 1;
}
any ideas, ? i look forward :3
Reply
#2

anyone, is it simple or
Reply
#3

posted in the wrong topic, sorry my mistake
Reply
#4

pawn Код:
30000+random(50000)
Reply
#5

Wrong.
pawn Код:
CMD:money(playerid, params[])
{
    GivePlayerMoney(playerid, 30000 + random(20000));
    return 1;
}
Reply
#6

ahh ty
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)