Whats wrong with this code? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Whats wrong with this code? (
/showthread.php?tid=128070)
Whats wrong with this code? -
Kyle - 16.02.2010
[b]Can anyone tell me whats wrong with this code? Please?
Код:
Ratio[playerid] = Kills[playerid] / Deaths[playerid];
Re: Whats wrong with this code? -
Kyle - 16.02.2010
Quote:
Originally Posted by KyleSmith
Can anyone tell me whats wrong with this code? Please?
Код:
Ratio[playerid] = Kills[playerid] / Deaths[playerid];
|
Re: Whats wrong with this code? -
m0niSx - 16.02.2010
Quote:
Originally Posted by KyleSmith
[b]Can anyone tell me whats wrong with this code? Please?
Код:
Ratio[playerid] = Kills[playerid] / Deaths[playerid];
|
i think nothing is wrong here
what's your problemes exactly ?
Re: Whats wrong with this code? -
Correlli - 16.02.2010
Just make sure that Ratio variable is a float type.