Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: Fuzzy168 on September 08, 2011, 06:54:51 am
-
I see the Pawno tutor by stomeus but i can't seem to find the answer for these symbol..
[pawn]==[/pawn]
-
Ergh.. you fail here _-YaZeEn-_ or however
Look:
A study example
if(cash == 1200) {
I used it where no ; goes. Another study example
PlayerInfo[playerid][Wanted] = 0;
And here the ; goes..
Another thing:
if(cash >= 1000) {
If the cash is bigger or equal with 1000
if(cash <= 1000) {
If the cash is lower or equal with 1000
if(cash != 1000) {
If the cash is different from that value.
Note1: #code format wasn't used, I prefered to make you see the == and = way better than with #code format.
Hope it helped.
heekz.shadow
-
yes it helps alot.. thanks shadow
-
Another symbol = ++
-
i deleted my last post as shadow said its a fail
Another symbol = ++
++ means something + 1 and -- means something - 1. example:
[pawn]kills[playerid] == kills[playerid]+1;[/pawn] and [pawn]kills[playerid]++;[/pawn] are same
same example can be used for --
Think those examples need a ; at the end tho :P
lol thanks for reminding, even through this is just examples i have added it
-
Think those examples need a ; at the end tho :P