Interface Features
This page covers interactive interface features that do not require any additional data files.
Give menu#
When giving an item, nearby players can be rendered directly in the world as selectable 3D targets aligned to on-screen slots, letting you pick who to give the item to.
- Nearby players are detected around you and cloned as preview peds positioned to match the give slots.
- The list refreshes automatically as players move in and out of range.
- Selecting a slot calls the
giveItemToTargetexport for the chosen player.
The classic behaviour is still available: set the convar below to show a plain list of nearby players instead.
bash
# Show a list of all nearby players when giving items
setr inventory:giveplayerlist falseWeapon attachment preview#
Weapons with components can be inspected in a 3D preview. The equipped weapon is rendered in front of the camera and its attachment slots are drawn as guide lines to the matching points on the model.
- The weapon object is built from the item, including its current tint and components.
- Each attachment slot (scope, suppressor, skin, barrel, flashlight, grip, clip) is linked to its bone on the model.
- Equipped slots are highlighted; empty slots are shown dimmed.
- The preview can be rotated to view the weapon from any angle.
Attaching or removing a component updates the preview immediately and applies the change to the weapon's metadata.