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-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax public 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