SA-MP Forums Archive
When the server is full... - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: When the server is full... (/showthread.php?tid=469878)



When the server is full... - sony112502 - 15.10.2013

When the server is full,any player enter the server

There isn't any message in the server log to show any player can't enter the server?

How to make it show?


Sorry,my english is not good ...


Re: When the server is full... - JeaSon - 15.10.2013

onplayerconnect
this is an example

it should be under onplayerconnect

pawn Код:
new name[MAX_PLAYER_NAME],id,string[256];
GetPlayerName(playerid,name,sizeof(name));
format(string,sizeof(string),"%s (ID:%d) has joined the server",name,id);
SendClientMessage(playerid,-1,string);