addserver function to set inventory show
This commit is contained in:
@@ -769,7 +769,7 @@ namespace ReallifeGamemode.Server.Events
|
||||
if (!player.IsLoggedIn() || player.GetData<bool>("isDead")) return;
|
||||
if (player.GetData<bool>("isDead")) return;
|
||||
|
||||
player.TriggerEvent("inventoryShow");
|
||||
player.ToggleInventory();
|
||||
InventoryManager.SetBackpackItems(player);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user