SA-MP Forums Archive
How to fix this warning..? - 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: How to fix this warning..? (/showthread.php?tid=311293)



How to fix this warning..? - Warren - 15.01.2012

Hi, i get this warning when i compile....

warning 235: public function lacks forward declaration (symbol "OnPlayerLogin")

How to fix this?


Re: How to fix this warning..? - Bogdan1992 - 15.01.2012

Add this under #defines and new's.
PHP код:
forward OnPlayerLogin();