Throwing

Throwing items and held weapons, and the settings behind it.

Any item, and the weapon in your hands, can be thrown. It flies with real physics, and wherever it lands it becomes a normal ground drop that anyone can pick up.

Throwing an item

  1. Right-click the item and pick Throw.
  2. Aim and press LMB to throw; RMB cancels.

Heavier stacks fly shorter: every kilogram takes some force away. An item whose definition sets throwable = false cannot be thrown.

Throwing a held weapon

Hold the middle mouse button with a weapon in your hands to aim and charge, and release it to throw. Right-click or ESC cancels. Players can rebind the key in Settings → Key Bindings → FiveM (obsi_throw_weapon).

Grenades, molotovs and other throwable weapons keep their own throw. Fists, jerry cans, fire extinguishers and the stun gun cannot be thrown.

Settings

All values are in the throw table of data/obsi/core.lua.

SettingDefaultMeaning
anyItemtrueEvery item is throwable unless it says throwable = false
maxDistance30.0Server check: the landing point must be this close to the thrower
minForce / maxForce6.0 / 22.0Throw force range
forcePerKg1.2Force removed per kg of the thrown stack
defaultPropprop_cs_cardbox_01Prop for items without their own prop
aimTimeout15000Milliseconds of aiming before the throw is cancelled

Weapon throwing

Setting in throw.weaponsDefaultMeaning
keyMOUSE_MIDDLEDefault key
minHold250Milliseconds; releasing earlier cancels
chargeTime1200Milliseconds of holding for full force
denyProjectilestrueGrenades and other throwables keep their own throw
allownilnil = any weapon, or a list of weapon names
denyunarmed, cans, extinguisher, stun gunWeapons that can never be thrown

The Throwing addon on the admin Addons page switches the feature off live.