1. 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
     
    Last edited by a moderator: May 12, 2015
  2. 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/
     
  3. No no. When I need someone to connect - to indicate the server online!
     
  4. Wulf

    Wulf Community Admin

    The plugin linked above will show you how to get the online user count.