TimerRunOnce Method (TimeSpan, Action) |
Runs the specified action once after the specified interval.
Namespace:
SampSharp.GameMode.SAMP
Assembly:
SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntaxpublic static Timer RunOnce(
TimeSpan interval,
Action action
)
Parameters
- interval
- Type: SystemTimeSpan
The interval. - action
- Type: SystemAction
The action.
Return Value
Type:
TimerThe created timer.
See Also