Getting a value with dini returns 0
#1

Hello,

I got a weird problem

pawn Код:
format(string,sizeof(string),"      Bank Cash: $%d - 5 Percent Profit = $%d - New Balance: $%d.",dini_Int(file,"BankMoney"),BankProfit,dini_Int(file,"BankMoney") + BankProfit);
        SendClientMessage(playerid,COLOR_ORANGE,string);
returns 0. 'file' is formatted good. The problem is in the first %d (Bank Cash: $%d). That one just gives 0 although I got 200000 in my bank.

Regards, Jochem
Reply


Messages In This Thread
Getting a value with dini returns 0 - by Jochemd - 27.12.2010, 19:59
Re: Getting a value with dini returns 0 - by Jefff - 27.12.2010, 21:08
Re: Getting a value with dini returns 0 - by Jochemd - 28.12.2010, 08:09

Forum Jump:


Users browsing this thread: 1 Guest(s)