Author Topic: Some Pawno symbols?  (Read 4009 times)

0 Members and 1 Guest are viewing this topic.

Offline Fuzzy168

  • VC:MP Veteran
  • *****
  • Posts: 729
  • Programming since 2011
    • View Profile
Some Pawno symbols?
« 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]
I'm beginning to feel like a Lag God, Lag God

Offline heekz.shadow

  • LU testers
  • Made Man
  • *
  • Posts: 249
    • View Profile
Re: Some Pawno symbols?
« Reply #1 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
« Last Edit: September 08, 2011, 03:15:31 pm by heekz.shadow »
Code: [Select]
[20:23] <habi> later only i heard that lu chatbox is customizable. On my first visit, it appeared ugly.
[20:23] <habi> May be that also be the reason why lu has no players

Offline Fuzzy168

  • VC:MP Veteran
  • *****
  • Posts: 729
  • Programming since 2011
    • View Profile
Re: Some Pawno symbols?
« Reply #2 on: September 09, 2011, 04:01:45 am »
yes it helps alot.. thanks shadow
I'm beginning to feel like a Lag God, Lag God

Offline Fuzzy168

  • VC:MP Veteran
  • *****
  • Posts: 729
  • Programming since 2011
    • View Profile
Re: Some Pawno symbols?
« Reply #3 on: September 09, 2011, 04:28:19 am »
Another symbol = ++
I'm beginning to feel like a Lag God, Lag God

yazeen

  • Guest
Re: Some Pawno symbols?
« Reply #4 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

« Last Edit: September 10, 2011, 07:42:15 am by yazeen »

Offline thijn

  • LU testers
  • VC:MP Veteran
  • *
  • Posts: 667
  • Im proud to be pro.
    • View Profile
    • Vice Underdogs
Re: Some Pawno symbols?
« Reply #5 on: September 09, 2011, 09:32:30 am »
Think those examples need a ; at the end tho :P