setDisableWeaponBladeForces
SET_DISABLE_WEAPON_BLADE_FORCES0x211E95CE9903940CThe 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.
setDisableWeaponBladeForces(toggle: boolean): voidsetDisableWeaponBladeForces(toggle: boolean)Usage
JavaScript
setDisableWeaponBladeForces(toggle);Lua
setDisableWeaponBladeForces(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
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