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
- Right-click the item and pick Throw.
- 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.
| Setting | Default | Meaning |
|---|---|---|
anyItem | true | Every item is throwable unless it says throwable = false |
maxDistance | 30.0 | Server check: the landing point must be this close to the thrower |
minForce / maxForce | 6.0 / 22.0 | Throw force range |
forcePerKg | 1.2 | Force removed per kg of the thrown stack |
defaultProp | prop_cs_cardbox_01 | Prop for items without their own prop |
aimTimeout | 15000 | Milliseconds of aiming before the throw is cancelled |
Weapon throwing
Setting in throw.weapons | Default | Meaning |
|---|---|---|
key | MOUSE_MIDDLE | Default key |
minHold | 250 | Milliseconds; releasing earlier cancels |
chargeTime | 1200 | Milliseconds of holding for full force |
denyProjectiles | true | Grenades and other throwables keep their own throw |
allow | nil | nil = any weapon, or a list of weapon names |
deny | unarmed, cans, extinguisher, stun gun | Weapons that can never be thrown |
The Throwing addon on the admin Addons page switches the feature off live.