How do i get a players reason for leaving?
#3

hmm,
PHP код:
new string[64], pName[MAX_PLAYER_NAME];
GetPlayerName(playeridpNameMAX_PLAYER_NAME);
switch(
reason)
{
    case 
0format(stringsizeof string"%s has left the server. (Crash)"pName);
    case 
1format(stringsizeof string"%s has left the server. (Exit the game)"pName);
    case 
2format(stringsizeof string"%s has left the server. (Kicked/Banned)"pName);
}
SendClientMessageToAll(whitestring); 
Reply


Messages In This Thread
How do i get a players reason for leaving? - by [p3]pr0t0typ3 - 21.08.2012, 19:52
Re: How do i get a players reason for leaving? - by Roko_foko - 21.08.2012, 19:55
Re: How do i get a players reason for leaving? - by AliveBG - 21.08.2012, 20:01

Forum Jump:


Users browsing this thread: 3 Guest(s)