ScriptEvent:setTargetTimerValue

From Mod Wiki
Revision as of 18:07, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Parameters

integer handle -- Handle to the timer to set.
entity (cannot be null) player -- Player to set the timer on.
float value -- Value to set.

Result

None.

Supported By

sdSysCallThread

Comments

  • Timers can be allocated using allocTargetTimer.
  • If the entity passed in is not a player, the call will be ignored.
  • If the handle is out of range, an error will be thrown.

Functionality

Sets the new value of a timer for the specified client.