PedIsInCover Property

RAGE Plugin Hook Documentation

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

Gets a value indicating whether this Ped is currently in cover.

A Ped is considered in cover if it has fully entered the cover state. It is not in cover while moving into cover.

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

public bool IsInCover { get; }

Property Value

Type: Boolean
true if this Ped is currently in cover; otherwise, false.
See Also