SA-MP Forums Archive
Integer raise limit - 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: Integer raise limit (/showthread.php?tid=128942)



Integer raise limit - godknightx - 20.02.2010

Hy

How can i raise limit of the integer type?
Because now the limit is 2147483648 (-2147483648 to +214748364, and its not enought for me (e.g RolePlay system cash)

Thanx


Re: Integer raise limit - Correlli - 20.02.2010

You can't. That is the maximum for the 32-bit extension language like PAWN.

And the limit is 2147483647 ((2^31) - 1), not 2147483648.

Quote:
2147483647 in computing

The number 2,147,483,647 is also the maximum value for a 32-bit signed integer in computing. It is therefore the maximum value for variables declared as int in many programming languages running on popular CPUs, and the maximum possible score for many video games. The appearance of the number often reflects an error, overflow condition, or missing value.



Re: Integer raise limit - godknightx - 20.02.2010

Ahh... Thanx for the information