Difference between revisions of "ScriptEvent:setTargetTimerValue"

From Mod Wiki
 
(No difference)

Latest revision as of 18:07, 5 November 2007

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.