SA-MP Forums Archive
CreatePickup| Pickups Not Appearing - 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: CreatePickup| Pickups Not Appearing (/showthread.php?tid=225595)



CreatePickup| Pickups Not Appearing - Th3Angel - 13.02.2011

I created some pickups with CreatePickup and they aren't appearing. I've tested the coords and they're where they are supposed to be.

pawn Код:
Flag[0][Object] = CreatePickup(2993, 1, 2530.39453125, -1677.5107421875, 18.858819961548, 0);
Flag[1][Object] = CreatePickup(2993, 1, 2157.9509277344, -1738.3619384766, 19.301254272461, 0);



Re: CreatePickup| Pickups Not Appearing - marinov - 14.02.2011

pawn Код:
Flag[0][Object] = CreatePickup(2993, 1, 2530.39453125, -1677.5107421875, 18.858819961548, -1);
Flag[1][Object] = CreatePickup(2993, 1, 2157.9509277344, -1738.3619384766, 19.301254272461, -1);
try that ?


Re: CreatePickup| Pickups Not Appearing - Zack9764 - 14.02.2011

I'm pretty sure it's not the virtual world.

Are you using a streamer?


Re: CreatePickup| Pickups Not Appearing - Antonio [G-RP] - 14.02.2011

is.

Код:
Flag[0][Object]
"object" defined as something?


Re: CreatePickup| Pickups Not Appearing - Krx17 - 14.02.2011

Try creating it with CreateObject and see if that works.


Re: CreatePickup| Pickups Not Appearing - Th3Angel - 14.02.2011

Quote:
Originally Posted by Krx17
Посмотреть сообщение
Try creating it with CreateObject and see if that works.
I need a pickup, not object.
Quote:
Originally Posted by Antonio [G-RP]
Посмотреть сообщение
is.

Код:
Flag[0][Object]
"object" defined as something?
If by defined, you mean assigned to anything; no, except for the CreatePickup();
Quote:
Originally Posted by Zack9764
Посмотреть сообщение
I'm pretty sure it's not the virtual world.

Are you using a streamer?
Yes, I'm using a streamer. Incognito's Streamer plugin to be exact.


Re: CreatePickup| Pickups Not Appearing - marinov - 14.02.2011

so, virtual world didnt work ?


Re: CreatePickup| Pickups Not Appearing - Th3Angel - 14.02.2011

It did actually.
Edit: Found the problem. Forgot to reset virtual worlds.


Re: CreatePickup| Pickups Not Appearing - Steven82 - 14.02.2011

If your using the plugin streamer, why are you still using "CreatePickup" it would be "CreateDynamicPickup" for the streamer to be used...*sigh*