Ped Constructor (PredicateModel, Vector3)

RAGE Plugin Hook Documentation

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

Initializes a new instance of the Ped class.

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

public Ped(
	Predicate<Model> modelPredicate,
	Vector3 position
)

Parameters

modelPredicate
Type: SystemPredicateModel
A method that determines whether a model should be considered when choosing a random model for this Ped. Only Ped models will be passed to this method. Cannot be null.
position
Type: RageVector3
The position to spawn at.
See Also

Reference