Bits (results -1)
Hey,
For the weaponsystem I'm making for Dimensions, I'm trying to get the result of: PHP Code:
Whats wrong with it |
Re: Bits (results -1)
Looks like 1<<31 was to much for PAWN
Solved ;) |
Re: Bits (results -1)
It's because you use %d/%i instead of %u (unsigned) (so unrelated to 1 << 31 itself)
And to get such value, you can do : ~( 1 << 32 ) + 1. |
Re: Bits (results -1)
Aight,
Thanks! |
| All times are GMT -4. The time now is 10:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.