[Tutorial] How to display current online players(OnPlayerConnect)
#7

Quote:
Originally Posted by iZN
Посмотреть сообщение
- You don't need to use OnPlayerConnect() or OnPlayerDisconnect() to increment or decrement any specific variable, you could simply check current players with a simple for() loop.
It's probably more efficient to use the variable, still. On another note, if you happen to use foreach you may simply use Iter_Count instead.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)