GameFiberExecuteNewFor Method (ThreadStart, String, Int32)

RAGE Plugin Hook Documentation

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

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

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

public static GameFiber ExecuteNewFor(
	ThreadStart start,
	string name,
	int duration
)

Parameters

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

Return Value

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

Reference