Hey, I wish to get details such as kills/deaths and ping.
As i understand it, Ping is inside the Players Session, i have a loop going around each active player, how can i return each players ping from a BasePlayer object?
Thanks.
[DOUBLEPOST=1451478155][/DOUBLEPOST]I have since found Network.Net.sv.GetAveragePing inside Wulf's Ping for Rust plugin (which is weirdly using the CovalencePlugin class as its extends).
However, Network.Net does not exist in my Visual Studio package, what reference is this inside?
[DOUBLEPOST=1451478610][/DOUBLEPOST]Okay, i got Network.Net.sv.GetAveragePing(_player.net.connection) to work a treat.
Is there a way to get kills/deaths, or do i have to make this myself using OnEntityDeath to keep track of this?
Solved Get players deaths and kills (PvP)
Discussion in 'Rust Development' started by AlienX, Dec 30, 2015.
-
Wulf Community Admin
You'd have to track them yourself.
-
Lovely, thank you.