OnPickupUse
Jump to navigation
Jump to search
This event is triggered when a player stands on a pickup while not in a vehicle.
Syntax
onPickupUse ( player player )
Example
addEventHandler ( "onPickupUse", getRootElement(), "pickupUse" ) function pickupUse ( thePlayer ) outputChatBox ( getClientName ( thePlayer ) .. " picked up a pickup!" ) end