How would I go about looking at all player owned loot on the map and looping through it?
I tried foreach (var e in BaseNetworkable.serverEntities) but that is showing me all entities that are on the map, not necessarily items that have been crafted or are owned by players.
The end goal is to find all weapons of a certain type and get the players name who owns it(or crafted it).
Check loot that players have
Discussion in 'Rust Development' started by AppetiteForDistruction, Apr 16, 2018.