hidePedWeaponForScriptedCutscene
HIDE_PED_WEAPON_FOR_SCRIPTED_CUTSCENE0x6F6981D2253C208FThe GTA V native HIDE_PED_WEAPON_FOR_SCRIPTED_CUTSCENE of the WEAPON namespace, as LS:MP client scripts call it: the global function hidePedWeaponForScriptedCutscene, in JavaScript and in Lua.
hidePedWeaponForScriptedCutscene(ped: Ped, toggle: boolean): voidhidePedWeaponForScriptedCutscene(ped: Ped, toggle: boolean)Usage
JavaScript
hidePedWeaponForScriptedCutscene(ped, toggle);Lua
hidePedWeaponForScriptedCutscene(ped, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
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.
Hides the players weapon during a cutscene.
Reference
- Namespace
- Weapon WEAPON
- In the game
void HIDE_PED_WEAPON_FOR_SCRIPTED_CUTSCENE(Ped ped, BOOL toggle)- Hash
0x6F6981D2253C208F