Scripting/Squirrel/Functions/Pickup.Timer

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing

Syntax

Pickup.Timer = value;

Arguments

Return value

Time to pickup re-appear

Example

	
function onPickupPickedUp( player, pickup )
{
     if( pickup.ID == 200 )
     {
         pickup.Timer = 10000;
         MessagePlayer("This pickup will take 10 seconds to appear again.");
     }
}

Related Functions