[BUG] Strval - 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: [BUG] Strval (
/showthread.php?tid=203154)
[BUG] Strval -
wups - 26.12.2010
Strange bug, when i enter 999999999 this doesn't work somehow.
if(strval(inputtext) > 15) return SendClientMessage(playerid,COLOR," * Thats to much!");
and it goes to a negative number!
if(strlen(inputtext) > 3) return ... Should fix it yes?
Re: [BUG] Strval -
Wyu - 26.12.2010
strval can only handle numbers in range from -2 147 483 648 to 2 147 483 647, if the number is too big an overflow happens
Re: [BUG] Strval -
wups - 26.12.2010
This should get fixed.
Re: [BUG] Strval -
Mean - 26.12.2010
Why do you want to even put it so high?
Re: [BUG] Strval -
wups - 26.12.2010
I dont. People abuse it!