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



ERROR invalid expression, assumed zero - Antonioh - 08.01.2013

invalid expression, assumed zero

The line is
Quote:

(59071) public Tut5(playerid)

Quote:

(59071) : error 017: undefined symbol "Tut5"

EDIT^^


Re: ERROR invalid expression, assumed zero - Konstantinos - 08.01.2013

Is the forward same with the parameters or when you call it?


Re: ERROR invalid expression, assumed zero - Kittylol - 08.01.2013

You don't need at Tut5 playerid
You that playerid need to add below with code like SendClientMessage(playerid, red, "text");
But if code have public(you don't need playerid.


Re: ERROR invalid expression, assumed zero - Antonioh - 08.01.2013

same


Re: ERROR invalid expression, assumed zero - Kittylol - 08.01.2013

Here is the fix
pawn Код:
#define Tut5