Advertisement
FoxHound

GetOnlinePlayers

Mar 9th, 2011
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.16 KB | None | 0 0
  1. stock GetOnlinePlayers() {
  2.     new i[3]={0,...};
  3.     for(i[0]=GetMaxPlayers(); i[1]<=i[0]; i[1]++) {
  4.         if(IsPlayerConnected(i[1])) { i[2]++; } }
  5.     return i[2]; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement