Script Help
#1

How to make script ,
For Example ,i deposit my 100k to the bank and someone robbed the bank successfully, my balance will decrease 50% due to robbery how to make like that Script?
Reply
#2

Код:
previous value of player's account - ((50/100)*robbed value) = new value of the player's account
Reply
#3

Create the Bank robbery command.
Then once the robbery is complete, loop through the players.
Inside of the loop do the following:
new balance = pInfo[i][pBankBalance];
pInfo[i][pBankBalance] = balance/2;
If you need help writing the entire system Forum PM me.
Reply
#4

@Lynn sure sir/ma'am but i need take my files first , i'll appreciate your help mister/ma'am i'll PM you later when i have my GAMEMODE
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)