Modulus/maths help; race spawns fails, something wrong ?
#4

I do not have experience with dealing with mathematical calculations In pawn, but since you asked about the usage of '%' in pawn,let me explain it.
% is similar to / but instead of giving the quotient as a result, it gives the remainder as result.

Eg: c=15/10
Here c will give you the value 1 (Quotient)
Eg: c=15%10
Here c will give you the value 5 (since the remainder is 5)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)