SA-MP Forums Archive
[HELP] Can't see my pickup? - 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: [HELP] Can't see my pickup? (/showthread.php?tid=178540)



[HELP] Can't see my pickup? - RoCK'N'Rolla - 22.09.2010

hi,

I want to create a white arrow pickup which will show something when the player takes it. I used it like this:

CreatePickup(1318, 3, 5470.2422, 1492.8363, 211.6919, -1);

But it didn't show anyhing. (It will be created on a object which was created with CreateObject)..

How to fix?


Re: [HELP] Can't see my pickup? - ColdXX - 22.09.2010

Change the last number "-1" (virtual world) to "0"


Re: [HELP] Can't see my pickup? - RoCK'N'Rolla - 22.09.2010

No effect, still nothing. "-1" means for all of the virtual worlds.


Re: [HELP] Can't see my pickup? - Voldemort - 22.09.2010

1. Choose right type https://sampwiki.blast.hk/wiki/PickupTypes

2. -1 means its virtual world ignored, in other words it will be in any virtual world

EDIT: Check pos, or you need it far in water?


Re: [HELP] Can't see my pickup? - RoCK'N'Rolla - 22.09.2010

I tried it with other types, but still nothing.


Re: [HELP] Can't see my pickup? - RoCK'N'Rolla - 22.09.2010

Yeah, it will be a stunt pickup at the last of the stunt. And yeah, stunt is on water (z = 211).


Re: [HELP] Can't see my pickup? - RoCK'N'Rolla - 22.09.2010

Will pickup type of it show difference when they created on an object?


Re: [HELP] Can't see my pickup? - ColdXX - 22.09.2010

Are you using any streamers for pickups? How many pickups u have already?


Re: [HELP] Can't see my pickup? - RoCK'N'Rolla - 22.09.2010

Hmm yeah, im using streamer of Incognito. I have np with objects. Can objects effect pickups?


Re: [HELP] Can't see my pickup? - ColdXX - 22.09.2010

Ok then change
CreatePickup with CreateDynamicPickup

and OnPlayerPickUpPickup with OnPlayerPickUpDynamicPickup

then use

if(pickupid == "name")

blablabv