SA-MP Forums Archive
invalid expression, assumed zero - 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: invalid expression, assumed zero (/showthread.php?tid=90049)



invalid expression, assumed zero - AcId n RaPiD - 05.08.2009

Well, I need help here.. I get this random error, but I'm trying to fix it.

Код:
C:\Users\User\Desktop\SAMP Script #2\pawno\seatbelt.pwn(18160) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Here's the code...

pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) //LINE 18160
{
if (newkeys & KEY_HORN)
{




Re: invalid expression, assumed zero - Antonio [G-RP] - 05.08.2009

Im THINKING add an extra } at the end of the code...

This
Код:
}
Tell me if that fixes it