SA-MP Forums Archive
What wrong with this callback?! - 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: What wrong with this callback?! (/showthread.php?tid=548329)



What wrong with this callback?! - Galletziz - 29.11.2014



if don't comment it, compiler returns this error, why?!
I just include a_mysql.inc.


Re: What wrong with this callback?! - iiNzTicTx - 29.11.2014

'expected token: "-string end-", but found "-identifier-"

This means you have a something (a string) that isn't closed earlier in the script, perhaps by a ']', and it has instead found 'public [FUNCTION]', which is an identifier.

Does it work without this callback? It appears to be correct...


Re: What wrong with this callback?! - Galletziz - 29.11.2014

Quote:
Originally Posted by iiNzTicTx
Посмотреть сообщение
'expected token: "-string end-", but found "-identifier-"

This means you have a something (a string) that isn't closed earlier in the script, perhaps by a ']', and it has instead found 'public [FUNCTION]', which is an identifier.

Does it work without this callback? It appears to be correct...
I know what it means, and yeah without this callback it work, infact, it have a correct syntax, but i am sure that the error depends from somethings inside surce code that define this callback.. in what include is defined this callback?


Re: What wrong with this callback?! - Runn3R - 29.11.2014

Compiles fine for me download the new server package and open up pawno in it then try to compile it.




Re: What wrong with this callback?! - Galletziz - 29.11.2014

I have already do it, but nothing, someone can help me?