Scripting/Squirrel/Functions/Pickup.Timer

From Vice City Multiplayer
Revision as of 13:51, 15 August 2016 by MatheuS (talk | contribs) (Created page with "== Syntax == <pre>Pickup.Timer = value;</pre> == Arguments == * == Return value == Time to pickup re-appear == Example == <pre> function onPickupPickedUp( player, pickup )...")
(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.");
     }
}