Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: Fuzzy168 on September 08, 2011, 06:54:51 am

Title: Some Pawno symbols?
Post 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]
Title: Re: Some Pawno symbols?
Post by: heekz.shadow on September 08, 2011, 03:13:51 pm
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
Title: Re: Some Pawno symbols?
Post by: Fuzzy168 on September 09, 2011, 04:01:45 am
yes it helps alot.. thanks shadow
Title: Re: Some Pawno symbols?
Post by: Fuzzy168 on September 09, 2011, 04:28:19 am
Another symbol = ++
Title: Re: Some Pawno symbols?
Post by: yazeen on September 09, 2011, 07:03:35 am
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

Title: Re: Some Pawno symbols?
Post by: thijn on September 09, 2011, 09:32:30 am
Think those examples need a ; at the end tho :P