Weapon::setSimulateLocalDamageImpacts
Not available on SYNC MP yet
This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Client-side JavaScript). Calling it does nothing or throws.
JavaScript
Summary
Enables or disables the simulation of local damage impacts for weapons.
Syntax
mp.game.weapon.setSimulateLocalDamageImpacts(doSimulate);
Required Parameters
- doSimulate: bool - Set to
trueto enable simulation, orfalseto disable.
Return Value
- undefined
Example
// Enable local damage impact simulation
mp.game.weapon.setSimulateLocalDamageImpacts(true);
mp.gui.chat.push("Local damage impacts simulation is now enabled.");