GivePlayerMoney
#1

Hello, can someone write the follow GivePlayerMoney code for this:

They will get money random from 50k-200k!

Can someone write the GivePlayerMoney code for that?

Thanks!
Reply
#2

No problem, but you could learn it your self or search before you ask I am sure there is a lot of question on forums that you could see.

pawn Код:
#include <a_samp>

#define RandomEx(%0,%1) \
    (random((%1) - (%0)) + (%0))


//Put this code where you want the money to be given.
GivePlayerMoney(playerid,RandomEx(50, 200));
Reply
#3

How about every 5 minutes the server gives automatically 10 score?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)