OnClientPlayerPickupLeave
Jump to navigation
Jump to search
This event triggers whenever a player leaves pickup locally.
Parameters
player thePickup, bool matchingDimension
- thePickup: the pickup that was left.
- matchingDimension: true if thePickup is in the same dimension as the player, false otherwise.
Source
The source of this event is the player that left the pickup.
Example
This example outputs a message whenever the local player leaves a pickup.
local function clientPlayerPickupLeave(thePickup, matchingDimension) outputChatBox("* You have left a pickup!", 255, 0, 0) end addEventHandler("onClientPlayerPickupLeave", localPlayer, clientPlayerPickupLeave)
See Also
Client pickup events
Client player events
- onClientPlayerChangeNick
- onClientPlayerChoke
- onClientPlayerDamage
- onClientPlayerHeliKilled
- onClientPlayerHitByWaterCannon
- onClientPlayerJoin
- onClientPlayerPickupHit
- onClientPlayerPickupLeave
- onClientPlayerQuit
- onClientPlayerRadioSwitch
- onClientPlayerSpawn
- onClientPlayerStealthKill
- onClientPlayerStuntFinish
- onClientPlayerStuntStart
- onClientPlayerTarget
- onClientPlayerVehicleEnter
- onClientPlayerVehicleExit
- onClientPlayerVoicePause
- onClientPlayerVoiceResumed
- onClientPlayerVoiceStart
- onClientPlayerVoiceStop
- onClientPlayerWasted
- onClientPlayerWeaponFire
- onClientPlayerWeaponSwitch
Client event functions
- triggerLatentServerEvent
- triggerServerEvent
- Shared
- addEvent
- addEventHandler
- cancelEvent
- cancelLatentEvent
- getEventHandlers
- getLatentEventHandles
- getLatentEventStatus
- removeEventHandler
- triggerEvent
- wasEventCancelled