R3vo/Sandbox – User
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{| class="wikitable | {| class="wikitable" | ||
|- | |- | ||
! colspan="3" | | ! colspan="3" |Container | ||
|- | |- | ||
! | ! Subtype !! Command usually contains !! Example | ||
|- | |- | ||
| Vehicle with inventory || <tt>cargo*</tt> || <code>[[clearWeaponCargo]] _truck;</code> | |||
| [[ | |||
|- | |- | ||
| Backpack || <tt>backpack*</tt>|| <code>[[clearAllItemsFromBackpack]] [[player]];</code> | |||
| | |||
|- | |- | ||
| Vest || <tt>vest*</tt>|| <code>[[vestContainer]] [[player]];</code> | |||
| [[ | |||
|- | |- | ||
| Uniform || <tt>uniform*</tt> || <code>[[uniformContainer]] [[player]];</code> | |||
| [[ | |||
|- | |- | ||
| Scripted weapon holder || <tt>cargo*</tt> || <code>[[backpackCargo]] _ammoBox;</code> | |||
| | |||
|- | |- | ||
| Ammo box, supply box || <tt>cargo*</tt> || <code>[[backpackCargo]] _ammoBox;</code> | |||
| | |||
| | |||
|} | |} | ||
Subtype Object | |||
* Container | |||
A container can be: | |||
* a vehicle with inventory | |||
* a backpack | |||
* a vest | |||
* an uniform | |||
* a scripted weapon holder | |||
* an ammobox | |||
Make sure to apply commands only on appropriate objects, e.g [[backpackSpaceFor]] will only work on a container of type backpack |
Revision as of 22:17, 13 May 2021
Container | ||
---|---|---|
Subtype | Command usually contains | Example |
Vehicle with inventory | cargo* | clearWeaponCargo _truck;
|
Backpack | backpack* | clearAllItemsFromBackpack player;
|
Vest | vest* | vestContainer player;
|
Uniform | uniform* | uniformContainer player;
|
Scripted weapon holder | cargo* | backpackCargo _ammoBox;
|
Ammo box, supply box | cargo* | backpackCargo _ammoBox;
|
Subtype Object
- Container
A container can be:
- a vehicle with inventory
- a backpack
- a vest
- an uniform
- a scripted weapon holder
- an ammobox
Make sure to apply commands only on appropriate objects, e.g backpackSpaceFor will only work on a container of type backpack