PlayerClient

isPlayerClimbing

IS_PLAYER_CLIMBING0x95E8F73DC65EFB9C

The GTA V native IS_PLAYER_CLIMBING of the PLAYER namespace, as LS:MP client scripts call it: the global function isPlayerClimbing, in JavaScript and in Lua.

SignatureJavaScript
isPlayerClimbing(player: Player): boolean
SignatureLua
isPlayerClimbing(player: Player): boolean

Usage

JavaScript
const result = isPlayerClimbing(player);
Lua
local result = isPlayerClimbing(player)

Parameters

ParameterTypeJavaScriptLua
playerPlayernumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Returns TRUE if the player ('s ped) is climbing at the moment.

Reference

Namespace
Player PLAYER
In the game
BOOL IS_PLAYER_CLIMBING(Player player)
Hash
0x95E8F73DC65EFB9C

Open in the interactive natives reference