Player::setCanLosePropsOnDamage

From RAGE Multiplayer Wiki

Client-Side
Event

 JavaScript



Enable or disable the ability for entity to drop props when they're damaged.

JavaScript Syntax

Parameters

  • enable: boolean
  • p0: Number

Example

mp.players.local.setCanLosePropsOnDamage(false, 0);


See also