OnPickupCollected: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{ScriptItem | {{ScriptItem | ||
|endpoint = | |endpoint = shared | ||
|type = event | |type = event | ||
|name = OnPickupCollected | |name = OnPickupCollected |
Revision as of 13:14, 30 June 2021
Event
Server and Client
Online and Offline
Not Cancellable
Available since
Documentation Missing: Available since (Both server and client version is needed for shared items)
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
OnPickupCollected
Client Related
OnPickupCollected