EntityClient

setCanClimbOnEntity

SET_CAN_CLIMB_ON_ENTITY0xA80AE305E0A3044F

The GTA V native SET_CAN_CLIMB_ON_ENTITY of the ENTITY namespace, as LS:MP client scripts call it: the global function setCanClimbOnEntity, in JavaScript and in Lua.

SignatureJavaScript
setCanClimbOnEntity(entity: Entity, toggle: boolean): void
SignatureLua
setCanClimbOnEntity(entity: Entity, toggle: boolean)

Usage

JavaScript
setCanClimbOnEntity(entity, toggle);
Lua
setCanClimbOnEntity(entity, toggle)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

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

p1 always false.

Reference

Namespace
Entity ENTITY
In the game
void SET_CAN_CLIMB_ON_ENTITY(Entity entity, BOOL toggle)
Hash
0xA80AE305E0A3044F

Open in the interactive natives reference