The '2147483647' limit.
#1

Hello. I'm trying to pass the 2147483647 limit on variables by using two variables.

One variable for an amount from 0-999 and another for the rest.


If your wondering why I need such high numbers its basically all the players money stats into one stat.


I need a way of doing it so i can format and display it to the player like so

pawn Код:
format(string, sizeof(string)"bla bla bla a total of $%d%d",thousands, hundreds);
So.. what's the best way to go about this problem without using bits?

Cheerse.
Reply


Messages In This Thread
The '2147483647' limit. - by On_Top_Non_Stop - 27.01.2011, 23:37
Re: The '2147483647' limit. - by Gabe - 28.01.2011, 00:06
Re: The '2147483647' limit. - by 1337connor - 28.01.2011, 00:07

Forum Jump:


Users browsing this thread: 1 Guest(s)