float GetCrouchFactor (int ptr)
Gets the crouch multiplier for the height of an actor. This is meaningless to actors that are not players.
- ptr: The pointer to check.
Returns 1 for actors that are not players, or players not crouching. A value of 0.5, for example, indicates a player is crouching.
|Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.|