Debt Money
#1

what can I add to getplayer money from bank account.. si if they on minus in bank they go to jail!!

PHP код:
if(GetPlayerCash(j) < 0)
            {
                if(
MoneyMessage[j]==0)
                {
                    
format(stringsizeof(string), "You are in debt, you have till next Time Check to get: $%d or you go to jail."GetPlayerCash(j));
                    
SendClientMessage(jCOLOR_LIGHTREDstring);
                    
MoneyMessage[j] = 1;
                }
            }
            else
            {
                
MoneyMessage[j] = 0;
            } 
Reply
#2

Well use the bank enumator in place of GetPlayerCash. Example:
pawn Код:
if(PlayerData[j][pBankAccount] < 0)
{
    .///
}
Reply
#3

Use your bank account array instead of GetPlayerMoney, you will have to show us how you declare that for us to help.
Reply
#4

but I want getplayercash too and account money.. both...
Reply
#5

Quote:
Originally Posted by Ugaustin
Посмотреть сообщение
but I want getplayercash too and account money.. both...
Count them both togheter.
Reply
#6

....
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)