alt.Player.local.moveSpeed

Get the current movement speed of a player.

Syntax

readonly moveSpeed: number;

Example Usage

const moveSpeed = alt.Player.local.moveSpeed;

if (moveSpeed > 5) {
    alt.log('Probably running');
}

alt.Player.local can also be a player instance from server

results matching ""

    No results matching ""