SA-MP Forums Archive
OnPlayerPickupPickup - Lacks Forward Declaration? - 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: OnPlayerPickupPickup - Lacks Forward Declaration? (/showthread.php?tid=438325)



OnPlayerPickupPickup - Lacks Forward Declaration? - Apprentice - 19.05.2013

OnPlayerPickupPickup - Lacks Forward Declaration?

...\0.3x Scripting\gamemodes\Project.pwn(389) : warning 235: public function lacks forward declaration (symbol "OnPlayerPickupPickup")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.


I've been getting this error for some reason when compiling one of my scripts & am unsure why.

It's in the a_samp.inc.
It's compiling from the current version.
It works in another of my scripts.

So why is it not functioning in this one? I can't get it to do anything, even when adding the forward it is bizarrely requesting. Thank you for your assistance.


Re: OnPlayerPickupPickup - Lacks Forward Declaration? - Dragonsaurus - 19.05.2013

Shouldn't that be OnPlayerPickUpPickup ?


Re: OnPlayerPickupPickup - Lacks Forward Declaration? - Apprentice - 19.05.2013

You're right, it works. Damn. Isn't it just so annoying when something so small can cause an issue?

Thank you for your observation & assistance.