Pickup-Error? - 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: Pickup-Error? (
/showthread.php?tid=108607)
Pickup-Error? -
XCarBOn - 14.11.2009
Код:
new pickup;
pickup = CreatePickUp(1239, 14, 556.2316,-1254.9169,17.0658);
When i add this to a filterscript and i try to compile i get this error:
Код:
********(48) : error 010: invalid function or declaration
And line 48 is
Код:
pickup = CreatePickUp(1239, 14, 556.2316,-1254.9169,17.0658);
Re: Pickup-Error? -
Virtual1ty - 14.11.2009
do you have
at the top?
Also look the wiki for this:
https://sampwiki.blast.hk/wiki/CreatePickup
Re: Pickup-Error? -
XCarBOn - 14.11.2009
Yes, i got #include <a_samp>
Re: Pickup-Error? -
Correlli - 14.11.2009
It's CreatePickup, not CreatePickUp.
Re: Pickup-Error? -
XCarBOn - 14.11.2009
Thank you, i got it.