[BUG] Strval
#1

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?
Reply
#2

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
Reply
#3

This should get fixed.
Reply
#4

Why do you want to even put it so high?
Reply
#5

I dont. People abuse it!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)