[This is preliminary documentation and is subject to change.]
Represents a player.
Inheritance Hierarchy
RagePlayer
Namespace: Rage
Assembly: RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax
The Player type exposes the following members.
Properties
Name | Description | |
---|---|---|
AreWantedLevelStarsFlashing |
Gets a value indicating whether the wanted level stars of this player are currently flashing.
| |
CanUseCover |
Sets a value indicating whether this player can use cover.
| |
Character |
Gets this player's character.
| |
DispatchCops |
Sets a value indicating whether cops will be dispatched for this player.
| |
Group |
Gets this player's Group.
| |
HasControl |
Gets a value indicating whether the player this instance represents currently has control.
| |
Id |
Gets the identifier of this instance.
| |
Index |
Gets the index of this instance.
| |
IsDead |
Gets a value indicating whether this player is dead.
| |
IsDrivingAgainstTraffic |
Gets a value indicating whether this player is currently driving against traffic.
| |
IsDrivingOnPavement |
Gets a value indicating whether this player is currently driving on pavement.
| |
IsFreeAiming |
Gets a value indicating whether this player is free aiming.
| |
IsFreeAimingAtAnyEntity |
Gets a value indicating whether this player is free aiming at any Entity.
| |
IsIgnoredByEveryone | Gets or sets a value indicating whether this player is ignored by everyone. If the player is ignored, Peds will still react to the player, but will not fire. Does not prevent the player from getting a wanted level. | |
IsIgnoredByPolice | Gets or sets a value indicating whether this player is ignored by police. If the player is ignored, police will still react to the player, but will not fire. Does not prevent the player from getting a wanted level. | |
IsInvincible |
Gets or sets a value indicating whether this player is invincible.
| |
IsPlaying |
Gets a value indicating whether this player is playing.
| |
IsPressingHorn |
Gets a value indicating whether this player is currently pressing the horn.
| |
LastVehicle |
Gets this player's last vehicle.
| |
Model |
Gets or sets the model of this player.
| |
Name |
Gets the name of this player.
| |
TimeSincePlayerLastDroveAgainstTraffic |
Gets the time since this player last drove against traffic.
| |
TimeSincePlayerLastDroveOnPavement |
Gets the time since this player last drove on pavement.
| |
TimeSincePlayerLastHitAnyPed | ||
TimeSincePlayerLastHitAnyVehicle | ||
WantedLevel |
Gets or sets the wanted level of this player.
|
Methods
Name | Description | |
---|---|---|
GetFreeAimingTarget |
Gets the Entity this player is free aiming at.
| |
IsFreeAimingAtEntity | ||
LimitPlayerToVehicle |
See Also