SA-MP Forums Archive
[Help] Error - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Help] Error (/showthread.php?tid=129877)



[Help] Error - dclaw - 24.02.2010

The error:
Код:
(117) : error 029: invalid expression, assumed zero
The line's:
Код:
		if(adminlevel[playerid] >= 1
		{ //117



Re: [Help] Error - Klutty - 24.02.2010


pawn Код:
if(adminlevel[playerid] >= 1))



Re: [Help] Error - Flake. - 24.02.2010

Quote:
Originally Posted by Klutty
pawn Код:
if(adminlevel[playerid] >= 1))
i use the same type of admin script i tested that. works for me


Re: [Help] Error - dclaw - 24.02.2010

Quote:
Originally Posted by (*|Flake|*)
Quote:
Originally Posted by Klutty
pawn Код:
if(adminlevel[playerid] >= 1))
i use the same type of admin script i tested that. works for me
i maked my own system


Re: [Help] Error - VonLeeuwen - 24.02.2010

Quote:
Originally Posted by Klutty
pawn Код:
if(adminlevel[playerid] >= 1))
Isn't it
pawn Код:
if(adminlevel[playerid] >=1)
With one )? If not, why not?


Re: [Help] Error - dclaw - 24.02.2010

Quote:
Originally Posted by VonLeeuwen
Quote:
Originally Posted by Klutty
pawn Код:
if(adminlevel[playerid] >= 1))
Isn't it
pawn Код:
if(adminlevel[playerid] >=1)
With one )? If not, why not?
ye one )


Re: [Help] Error - jamesbond007 - 24.02.2010

Quote:
Originally Posted by VonLeeuwen
Quote:
Originally Posted by Klutty
pawn Код:
if(adminlevel[playerid] >= 1))
Isn't it
pawn Код:
if(adminlevel[playerid] >=1)
With one )? If not, why not?
i was just about to say that...


Re: [Help] Error - Klutty - 24.02.2010

Oh yes you're right, i usually do like if(blablbla(playerid)), but now I saw that that wasnt the case, sorry.


Re: [Help] Error - VonLeeuwen - 24.02.2010

Don't worry, I was thinking I was getting old and couldn't remember things right, which I don't like..