EuphoriaMessageSetArgument Method

RAGE Plugin Hook Documentation

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

Sets the specified argument to this EuphoriaMessage.

Note that this overrides existing arguments with the same name. If this is not desired, use the [!:Rage::EuphoriaMessage::PushArgument] overload.

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

public void SetArgument(
	string name,
	Object value
)

Parameters

name
Type: SystemString
The name of the argument.
value
Type: SystemObject
The value of the argument. The following types are supported: Int32SingleBooleanString[!:Rage::Vector3][!:Rage::IHandleable] (Rage.Vehicle, Rage.Ped, Rage.Object, etc.) PoolHandle
Exceptions

ExceptionCondition
ArgumentExceptionThrown if the specified value is of an unsupported type.
See Also

Reference