SHARE
TWEET

client count from commonFuncs.h

skroton Jun 1st, 2016 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function int ClientCount(void)
  2. {
  3.     int ret, i;
  4.  
  5.     for (i = 0; i < PLAYERMAX; i++)
  6.     {
  7.         if (PlayerInGame(i) || PlayerIsSpectator(i)) { ret++; }
  8.     }
  9.  
  10.     return ret;
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top