Scripting/Squirrel/Events/Pickup/onPickupRespawn

From VC-MP Wiki

Jump to: navigation, search

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

Personal tools
squirrel scripting