[HELP] Taking a pickup when in a vehicle
#1

hi, how can i create a pickup which is only for in vehicles? I tried to create it, but it didn't appear on an object. Need help please.
Reply
#2

Use pickup type 14
Reply
#3

i used :

CreatePickup(1239, 14, 5470.5356,1704.6692,283.6691, 0);

It didn't even appear... (It has been created on an Object created with CreateObject..)
Reply
#4

use AddStaticPickup

https://sampwiki.blast.hk/wiki/PickupTypes
Reply
#5

Static pickups are unusable in onplayerpickuppickup, so i can't.
Reply
#6

Pickup type 14 falls through custom objects. You could try some IsPlayerInRangeOfPoint checks, though.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)