Pickup pickupable with vehicle?
#2

Hello!

if i understand you, you want the pickup dont respawn after you take him
you can do it in OnPlayerPickupPickup

and if you want that the pickup can puckable only in vehicle you can use
IsPlayerInAnyVehicle

example:
Код:
nos = CreatePickup(1018, 1, 4596.5996,-3723.7300,12.0558, -1);
OnPlayerPickupPickup(playerid, pickupid)
{
       if(pickupid == nos && IsPlayerInAnyVehicle(playerid))
      {
            // Whats the pickup do
      }
}
Reply


Messages In This Thread
Pickup pickupable with vehicle? - by ValentinLaw - 19.08.2012, 11:52
Re: Pickup pickupable with vehicle? - by avivelkayam - 19.08.2012, 12:14
Re: Pickup pickupable with vehicle? - by ValentinLaw - 19.08.2012, 16:18

Forum Jump:


Users browsing this thread: 1 Guest(s)