Server Exports

A list of server-side exports

setPlayerWeaponModifier

Sets the modifier of a weapon for the player referenced.

exports['upgrade-damage']:setPlayerWeaponModifier(playerId, weaponHash, modifier)

resetPlayerWeaponModifier

Resets a previously set modifier for the player referenced.

exports['upgrade-damage']:resetPlayerWeaponModifier(playerId, weaponHash)

setPlayerGlobalModifier

Sets a global modifier for all weapons for the player referenced.

exports['upgrade-damage']:setPlayerGlobalModifier(playerId, modifier)

setAllPlayersWeaponModifier

Sets the modifier for all players for a single weapon

exports['upgrade-damage']:setAllPlayersWeaponModifier(weaponHash, modifier)

Last updated