Player online
#1

What is function to check how many players are online
Reply
#2

Quote:
Originally Posted by Speed
Посмотреть сообщение
What is function to check how many players are online
pawn Код:
GetOnlinePlayers(){
new tmp=0;
for(new i=0; i<=MAX_PLAYERS; i++){
if(IsPlayerConnected(i))
tmp++;}
return tmp;
}
I scripted it by hand here now, untested, let me know if it worked.
Reply
#3

But if you do that ,you should do it in a Textdraw ,Textdrawstrings or you do it with SendClientMessageToAll
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)