Connect and Disconnect textdraw box.
#2

onplayerconnect;

PHP код:
new playername[MAX_PLAYER_NAME];
GetPlayerName(playeridplayername30);
new 
str[256];
format(strsizeof(str), "[JOIN] %s has joined the server."playername);
            for(new 
i=0;i<MAX_PLAYERS;i++) if(IsPlayerConnected(i)) SendClientMessage(i,COLOR_LIGHTGREYstr); 
onplayerdisconnect
PHP код:
new playername[MAX_PLAYER_NAME];
GetPlayerName(playeridplayername30);
new 
str[256];
format(strsizeof(str), "[LEAVE] %s has left the server"playername);
            for(new 
i=0;i<MAX_PLAYERS;i++) if(IsPlayerConnected(i)) SendClientMessage(i,COLOR_LIGHTGREYstr); 
Reply


Messages In This Thread
Connect and Disconnect textdraw box. - by iAssassin - 10.06.2016, 10:02
Re: Connect and Disconnect textdraw box. - by justjamie - 10.06.2016, 10:59
Re: Connect and Disconnect textdraw box. - by iAssassin - 10.06.2016, 11:50
Re: Connect and Disconnect textdraw box. - by Adeon - 10.06.2016, 13:34
Re: Connect and Disconnect textdraw box. - by iAssassin - 10.06.2016, 14:11
Re: Connect and Disconnect textdraw box. - by iAssassin - 11.06.2016, 18:17

Forum Jump:


Users browsing this thread: 2 Guest(s)