[HELP]: Scripting operators
#1

Hello there,
so I didn't have in mind a really good title for the topic, Let's just get to the point,
I was wondering, what is the function of the following operators:

PHP код:
+= 
and
PHP код:
-= 
Reply
#2

++ add one value
-- remove one value
+= add specified value
-= remove specified value
Reply
#3

Код:
 -=
means for example you have 350$ if you do PlayerCash -= 30 / it will take 30$ from amount that player has.

Код:
 +=
it will add the amount you set.

srry for my bad english hope you get it
Reply
#4

PHP код:
+= 5
is equivalent to
PHP код:
5
Same for all the other similar operators.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)