ObjectClient

setWeaponImpactsApplyGreaterForce

SET_WEAPON_IMPACTS_APPLY_GREATER_FORCE0x1A6CBB06E2D0D79D

The GTA V native SET_WEAPON_IMPACTS_APPLY_GREATER_FORCE of the OBJECT namespace, as LS:MP client scripts call it: the global function setWeaponImpactsApplyGreaterForce, in JavaScript and in Lua.

SignatureJavaScript
setWeaponImpactsApplyGreaterForce(object: Object, p1: boolean): void
SignatureLua
setWeaponImpactsApplyGreaterForce(object: Object, p1: boolean)

Usage

JavaScript
setWeaponImpactsApplyGreaterForce(object, p1);
Lua
setWeaponImpactsApplyGreaterForce(object, p1)

Parameters

ParameterTypeJavaScriptLua
objectObjectnumberinteger
p1BOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Object OBJECT
In the game
void SET_WEAPON_IMPACTS_APPLY_GREATER_FORCE(Object object, BOOL p1)
Hash
0x1A6CBB06E2D0D79D
Introduced
Game build 1604 legacy numbering

Open in the interactive natives reference