Ratio - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Ratio (
/showthread.php?tid=483307)
Ratio -
Configuration - 25.12.2013
Hello i wana make to start ratio start from 50 when account is new but he start from 0 how can i make it here is code
pawn Код:
"Ratio: %.0f",,Float:Account[playerid][pScore]/Float:Account[playerid][pDeaths]);
Re: Ratio -
Firewire - 25.12.2013
PHP код:
"Ratio: %.0f",Float:Account[playerid][pScore]/Float:Account[playerid][pDeaths] + 50);
I don't get what you mean but if you want it to always be above 50, then just simply
+50 to your code.