TimerRun Method (Int32, Action) |
Runs the specified action repeatedly with the specified interval.
Namespace:
SampSharp.GameMode.SAMP
Assembly:
SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntaxpublic static Timer Run(
int interval,
Action action
)
Parameters
- interval
- Type: SystemInt32
The interval in miliseconds. - action
- Type: SystemAction
The action.
Return Value
Type:
TimerThe created timer.
See Also