ScriptEvent:setTargetTimerValue

From Mod Wiki

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.