Scripting/Squirrel/Functions/Pickup.Timer

From Vice City Multiplayer
Revision as of 18:37, 30 January 2017 by Thijn (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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