19.08.2012, 12:14
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:
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 } }