Wrong Calculations
#3

When you do 400.000.000*40 it gives you 16.000.000.000 and it is too large. This is caleld overflow. The maximum it can hold (on pawn) is 2147483647 and the minimum -2147483648.

https://sampwiki.blast.hk/wiki/Scripting_Basics#Variables
Reply


Messages In This Thread
Wrong Calculations - by MRM - 14.07.2017, 19:22
Re: Wrong Calculations - by Paulice - 14.07.2017, 19:26
Re: Wrong Calculations - by GaByM - 14.07.2017, 19:29
Re: Wrong Calculations - by AbyssMorgan - 14.07.2017, 19:43

Forum Jump:


Users browsing this thread: 1 Guest(s)