Pickup-Error?
#1

Код:
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);
Reply
#2

do you have
pawn Код:
#include <a_samp>
at the top?

Also look the wiki for this:
https://sampwiki.blast.hk/wiki/CreatePickup
Reply
#3

Yes, i got #include <a_samp>
Reply
#4

It's CreatePickup, not CreatePickUp.
Reply
#5

Thank you, i got it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)