UsePickup
Jump to navigation
Jump to search
This function is used to simulate the player using a pickup
Syntax
bool usePickup ( pickup thePickup, player thePlayer )
Required Arguments
- thePickup: The pickup element to be picked up/used.
- thePlayer: The player to use the pickup.
Example
Click to collapse [-]
ServerThis example creates a pickup after a player dies so that he drops his weapon.