SA-MP Forums Archive
public function lacks forward declaration (symbol "OnPlayerInfoChange") - 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: public function lacks forward declaration (symbol "OnPlayerInfoChange") (/showthread.php?tid=152262)



public function lacks forward declaration (symbol "OnPlayerInfoChange") - Jackster - 03.06.2010

How to fix?

public function lacks forward declaration (symbol "OnPlayerInfoChange")


Thanks...

I fixed it.....


Re: public function lacks forward declaration (symbol "OnPlayerInfoChange") - shady91 - 03.06.2010

read it it says lacks forward declaration so thats your problem add above it

forward OnPlayerInfoChange(playerid);


Re: public function lacks forward declaration (symbol "OnPlayerInfoChange") - -Rebel Son- - 03.06.2010

^^^ what he said. because it's a 0.2x function, it's considered a new function.


Re: public function lacks forward declaration (symbol "OnPlayerInfoChange") - Correlli - 03.06.2010

Quote:
Originally Posted by Shady91
read it it says lacks forward declaration so thats your problem add above it

forward OnPlayerInfoChange(playerid);
No need for that. Just remove the callback because it's not used in 0.3 version anymore.


Re: public function lacks forward declaration (symbol "OnPlayerInfoChange") - shady91 - 03.06.2010

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by Shady91
read it it says lacks forward declaration so thats your problem add above it

forward OnPlayerInfoChange(playerid);
No need for that. Just remove the callback because it's not used in 0.3 version anymore.
Oh, I didn't know, I never used it before.