setPedAllowHurtCombatForAllMissionPeds
SET_PED_ALLOW_HURT_COMBAT_FOR_ALL_MISSION_PEDS0xF2BEBCDFAFDAA19EThe GTA V native SET_PED_ALLOW_HURT_COMBAT_FOR_ALL_MISSION_PEDS of the PED namespace, as LS:MP client scripts call it: the global function setPedAllowHurtCombatForAllMissionPeds, in JavaScript and in Lua.
setPedAllowHurtCombatForAllMissionPeds(toggle: boolean): voidsetPedAllowHurtCombatForAllMissionPeds(toggle: boolean)Usage
JavaScript
setPedAllowHurtCombatForAllMissionPeds(toggle);Lua
setPedAllowHurtCombatForAllMissionPeds(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.
ntoggle was always false except in one instance (b678).
The one time this is set to true seems to do with when you fail the mission.
Reference
- Namespace
- Ped PED
- In the game
void SET_PED_ALLOW_HURT_COMBAT_FOR_ALL_MISSION_PEDS(BOOL toggle)- Hash
0xF2BEBCDFAFDAA19E