Save money in the bank job
#1

I want the money from each job to be added automatically to the bank .
How do??
Give you Rep++ for Help ME!!
Reply
#2

create variable for max_players that gonna keep amount of bank money for every player and just add it there.
Код:
new bMoney[MAX_PLAYERS];
Reply
#3

Quote:
Originally Posted by cnoopers
Посмотреть сообщение
create variable for max_players that gonna keep amount of bank money for every player and just add it there.
Код:
new bMoney[MAX_PLAYERS];
Where add new bMoney[MAX_PLAYERS]; ?
Reply
#4

on the top of your script.
setting money:
Код:
bMoney[playerid] = AMOUNT;
if u wanna withdraw it, just check how much is in bMoney[playerid], set it to 0 and add amount to player.
Reply
#5

I am sorry no have bMoney[playerid] - AMOUNT; in my script and ... no have bMoney. ..
I have pMoney, pCash ... pAccount -is for bank ..
Reply
#6

Help mE!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)