Is there a way to cancel the player interface to loot storage box? Like pressing ESCAPE or TAB.
Cancel loot interface
Discussion in 'Rust Development' started by t0pdevice, Feb 22, 2015.
-
Code:
player.inventory.loot:Clear() -- [lua]player.inventory.loot.Clear() // [c#]
-
or just BasePlayer.EndLooting() which technically does the same thing but just checks if the player is actually looting.
Code:player.EndLooting() [C#] player:EndLooting() [LUA]