PedGiveHelmet Method

RAGE Plugin Hook Documentation

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

Gives this Ped a new helmet of the specified type.

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

public void GiveHelmet(
	bool canBeRemovedByPed,
	HelmetTypes helmetType,
	int textureIndex
)

Parameters

canBeRemovedByPed
Type: SystemBoolean
Whether the helmet can be removed by the Ped.
helmetType
Type: RageHelmetTypes
The type of helmet to give to this Ped.
textureIndex
Type: SystemInt32
The index of the texture of the helmet.
See Also

Reference