VehicleClient

setDisableWeaponBladeForces

SET_DISABLE_WEAPON_BLADE_FORCES0x211E95CE9903940C

The GTA V native SET_DISABLE_WEAPON_BLADE_FORCES of the VEHICLE namespace, as LS:MP client scripts call it: the global function setDisableWeaponBladeForces, in JavaScript and in Lua.

SignatureJavaScript
setDisableWeaponBladeForces(toggle: boolean): void
SignatureLua
setDisableWeaponBladeForces(toggle: boolean)

Usage

JavaScript
setDisableWeaponBladeForces(toggle);
Lua
setDisableWeaponBladeForces(toggle)

Parameters

ParameterTypeJavaScriptLua
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.

Sets some global vehicle related bool

Reference

Namespace
Vehicle VEHICLE
In the game
void SET_DISABLE_WEAPON_BLADE_FORCES(BOOL toggle)
Hash
0x211E95CE9903940C
Introduced
Game build 1604 legacy numbering
Formerly
_SET_DISABLE_VEHICLE_UNK_2

Open in the interactive natives reference