Larger integer than 32 bits?
#1

Hello,

I have faced a problem with my server's bank system. One player has already reached the maximum value SA-MP's variables can hold, 2^31 (2,147,483,647).

Is there any way to store larger number than that in a variable?


Thank you already in advance.
Reply
#2

I think its not possible to store more than this.
Maybe you should use another variable to store his money.
Reply
#3

Not possible in this way by using a single integer.
Store his mobey in 2 variables instead and use one variable at a time untill it reaches 0. After that use the other full variable.
Only way i can think of atm
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)