01.12.2009, 13:00
Okay, i know that if you use say
then later on in your script you use
to plus it by one.
My question is how would I go about adding or subtracting like 5 without making another variable.
Example:
or
Help is much appreciated.
EDIT: I solved my own problem by accident.
Thanks anyway.
pawn Код:
new Point = 0;
pawn Код:
Point++;
My question is how would I go about adding or subtracting like 5 without making another variable.
Example:
pawn Код:
new current = Point;
Point = current + 5;
pawn Код:
Point = Point + 5;
EDIT: I solved my own problem by accident.
pawn Код:
Point += 5;
or
Point -= 5;