OnPickupCollected: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{ScriptItem2 | ||
| | |name = OnPickupCollected | ||
|side = shared | |||
|type = event | |type = event | ||
| | |games = iii vc sa | ||
| | |desc = a pickup is collected. A pickup can be collected by a player or a vehicle, depending on the pickup's type | ||
| | |arg1 = Pickup pickup The pickup that was collected | ||
|arg2 = Ped ped The ped that collected the pickup | |||
| | |note = [https://wiki.gtaconnected.com/Resources/GTAVC/Pickups VC Pickup Types] | ||
| | |cancel = false | ||
|sinceSS = 1.2.0 | |||
|sinceCS = 1.2.0 | |||
}} | }} |
Latest revision as of 20:28, 19 November 2022
Event
Server and Client
Online and Offline
Not Cancellable
Available since Server 1.0.0, Client 1.0.0
OnPickupCollected(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