WorldAddSpeedZone Method

RAGE Plugin Hook Documentation

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

Adds a new speed zone limiting the maximum driving speed of AI-driven vehicles in an area.

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

public static uint AddSpeedZone(
	Vector3 position,
	float radius,
	float maxSpeed
)

Parameters

position
Type: RageVector3
The position to add the speed zone at.
radius
Type: SystemSingle
The radius of the speed zone.
maxSpeed
Type: SystemSingle
The maximum speed allowed by the speed zone.

Return Value

Type: UInt32
An unsigned int representing the handle of the created speed zone.
See Also

Reference