simple help +rep - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: simple help +rep (
/showthread.php?tid=644442)
simple help +rep -
bboytimix - 07.11.2017
hello there i need help ,simple thing
a pawno wiki link of -,+,=,* etc.... meanings
cant get this in ******
Re: simple help +rep -
Awide - 07.11.2017
Those mean what they mean in mathematics...
https://sampwiki.blast.hk/wiki/Scripting_Basics#Variables
Re: simple help +rep -
Xeon™ - 07.11.2017
One question: How old are you?
OP:
+ is plus
= is equal
* is multiple
- is minus
+= is smthing like
var += 1; this means var = var + 1;
same for -=
another notice: are you kidding me?
Re: simple help +rep -
J0sh... - 07.11.2017
+= is adding to the current value by x amount.
-= is removing the current value by x amount
*= is multiplying the current value by x amount.
Re: simple help +rep -
Aylan - 07.11.2017
I really can't tell if this is a joke or not but the ones you listed are basic mathematical terms...
Most have been stated above. Here's a few more;
< less than
> greater than
== equal to
!= not equal to
<= less than or equal to
>= greater than or equal to
Re: simple help +rep -
10MIN - 08.11.2017
Read: (the article is for C++, not Pawn, but it doesn't matter):
http://www.cplusplus.com/doc/tutorial/operators/
Re: simple help +rep -
Sew_Sumi - 08.11.2017
https://sampwiki.blast.hk/wiki/Control_Structures#Operators
This would be more appropriate, as it's relating directly to Pawn and on the actual wiki.
Re: simple help +rep -
Zeth - 08.11.2017
You should rather go and learn Mathematics before getting into scripting.