ClearPlayerInventory
CommandCheat
- Arguments
- 4
- Admin cheat
- Yes
Console command
ClearPlayerInventory
Clears the specified player's inventory, equipped items, and/or slot items.
Syntax: cheat ClearPlayerInventory <PlayerID> <ClearInventory> <ClearSlotItems> <ClearEquippedItems>
Build command
cheat ClearPlayerInventory 1 0 0 0Usage
This is how you can open the console to type the commands in and how to execute them.
- 1. TAB | Press the TAB key on your keyboard.
- 2. ENTER | Enter a command into the console and press the ENTER key on your keyboard.
- 3. MULTIPLAYER | On multi-player servers, some commands (primarily cheats) require authentication with the enablecheats command and need to be prefixed with cheat or admincheat. This is not necessary in single-player.