Scripting/Squirrel/Events/Pickup/onPickupRespawn
From VC-MP Wiki
This is called when a pickup respawns.
Syntax
function onPickupRespawn( pickup )
Parameters
- pickup - The pickup which has respawned.
Example
This example will message when a pickup will be respawned.
function onPickupRespawn( pickup ) { Message( "Pickup " + pickup.ID + " respawned!" ); }
Notes
The function Message was used in in this example. More info about this in the corresponding page.
Related Events
- onPickupPickedUp
- onPickupDestroy
- onPickupRespawn
