Bicas

Untitled

May 3rd, 2014
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. GetOnlinePlayers( ) // by Renas (fixed by bicas)
  2. {
  3. new pOnline;
  4. for ( new i = 0; i < MAX_PLAYERS; i ++ )
  5. {
  6. if(IsPlayerConnected ( i ) && !IsPlayerNPC ( i ) )
  7. {
  8. pOnline++;
  9. }
  10. }
  11. return pOnline;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment