1. I'm hitting my head right now. This is my first wall in a upcoming plugin. Can you give me an example in lua of how you would convert your current online players (number of them) into a global variable.
     
  2. Wulf

    Wulf Community Admin

    Add "local activePlayers" outside of all functions, then somewhere in a function, add "activePlayers = global.BasePlayer.activePlayerList.Count" in there.