VehicleClient

setDisableRetractingWeaponBlades

SET_DISABLE_RETRACTING_WEAPON_BLADES0x8F0D5BA1C2CC91D7

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

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

Usage

JavaScript
setDisableRetractingWeaponBlades(toggle);
Lua
setDisableRetractingWeaponBlades(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Vehicle VEHICLE
In the game
void SET_DISABLE_RETRACTING_WEAPON_BLADES(BOOL toggle)
Hash
0x8F0D5BA1C2CC91D7
Introduced
Game build 1604 legacy numbering

Open in the interactive natives reference