How to make the connection shown in the online as a number?
Code:function PLUGIN:OnPlayerConnected(packet) local connection = packet.connection rust.BroadcastChat("<color=#00ff00>Server</color>: <color=#ffa500>" .. connection.username .. "</color> connect in server. Online: <color=#00ff00>" .. ?????????.. "</color> players.") end
Solved Getting online user count?
Discussion in 'Rust Development' started by maksiyshuk, May 12, 2015.
-
Number ? what do you mean ... ? Like if his the first, second or third person on your server ?
U should
-Count Active Players
and then send it to chat
[DOUBLEPOST=1431434239][/DOUBLEPOST]I also prefer checking other plugin... and it think wrong section .. its not a request bcs
we wont write u the code
http://oxidemod.org/plugins/player-list.661/ -
-
Wulf Community Admin