Hello guys, I want to ask something about FormatMoney. I use this stock
But, when I play and use /stats command, it shows me like at the screenshot.
Код:
change this code
format(coordsstring, sizeof(coordsstring), "Cash: $%s | Bank Balance: $%s | Upgrade Points: %d | Spawn Armor: %.0f | Next level: %d/%d hours", FormatMoney(GetPlayerCash(targetid)), FormatMoney(PlayerInfo[targetid][pAccount]), upgradep, shealth, exp, expamount);
SendClientMessageEx(playerid, COLOR_WHITE,coordsstring);
to this
format(coordsstring, sizeof(coordsstring), "Cash: $%d | Bank Balance: $%d | Upgrade Points: %d | Spawn Armor: %.0f | Next level: %d/%d hours", FormatMoney(GetPlayerCash(targetid)), FormatMoney(PlayerInfo[targetid][pAccount]), upgradep, shealth, exp, expamount);
SendClientMessageEx(playerid, COLOR_WHITE,coordsstring);