[HELP] Can't see my pickup?
#1

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?
Reply
#2

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

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

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?
Reply
#5

I tried it with other types, but still nothing.
Reply
#6

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

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

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

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

Ok then change
CreatePickup with CreateDynamicPickup

and OnPlayerPickUpPickup with OnPlayerPickUpDynamicPickup

then use

if(pickupid == "name")

blablabv
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)