OnPickupCollected: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
|parameter2 = Ped ped The ped that collected the pickup
|parameter2 = Ped ped The ped that collected the pickup
|cancellable = false
|cancellable = false
|since=1.2.0
|since=1.2.0 1.2.0
|notes = [https://wiki.gtaconnected.com/Resources/GTAVC/Pickups VC Pickup Types]
|notes = [https://wiki.gtaconnected.com/Resources/GTAVC/Pickups VC Pickup Types]
}}
}}

Revision as of 13:16, 30 June 2021

Event Server and Client icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline Not Cancellable

Available since Server 1.2.0, Client 1.2.0

function(Event event, Pickup pickup, Ped ped)

The OnPickupCollected event is invoked when a pickup is collected. A pickup can be collected by a player or a vehicle, depending on the pickup's type.

Parameters

1) Event event The event object for this event.
2) Pickup pickup The pickup that was collected.
3) Ped ped The ped that collected the pickup.

Attributes

const This event cannot be cancelled.

Notes

Examples

There aren't any examples for this event.

Compatibility

There isn't any compatibility information for this event.

Related

Server Related

icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnPickupCollected


Client Related

icon-iii.png icon-vc.png icon-sa.png OnPickupCollected