GameFiberExecuteFor Method

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Calls the specified method once every tick on the calling GameFiber, for the specified duration.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public static void ExecuteFor(
	ThreadStart start,
	int duration
)

Parameters

start
Type: System.ThreadingThreadStart
The method to call every tick.
duration
Type: SystemInt32
The duration to keep calling the method for.

Return Value

Type: 
An instance of GameFiber representing the created fiber.
See Also

Reference