GameStartNewScript Method (String)

RAGE Plugin Hook Documentation

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

Starts a new instance of the game script with the specified name with a stack size of 1424.

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

public static uint StartNewScript(
	string name
)

Parameters

name
Type: SystemString
The name.

Return Value

Type: UInt32
An unsigned int representing a handle to the started script.
Exceptions

ExceptionCondition
ArgumentExceptionThrown if the specified name does not represent a valid script.
Remarks

If the specified script has not already been loaded, this method is not guaranteed to return on the same tick.
See Also

Reference