[AJUDA] OnPlayerDisconnect ! PLZZ
#4

pawn Code:
public OnPlayerDisconnect(playerid, reason)
{
  new pname[MAX_PLAYER_NAME], string[128];
  GetPlayerName(playerid, pname, sizeof(pname));
  switch(reason)
  {
    case 0: format(string, sizeof(string), "%s saiu do servidor (Crash/Conexгo)", pname);
    case 1: format(string, sizeof(string), "%s saiu do servidor. (Conta Prуpia)", pname);
    case 2: format(string, sizeof(string), "%s fez merda e saiu do servidor. (Kickado/Banido)", pname);
  }
  SendClientMessageToAll(0xAAAAAAAA, string);
  return 1;
}
Reply


Messages In This Thread
[AJUDA] OnPlayerDisconnect ! PLZZ - by †♥† - 31.10.2010, 20:31
Re: [AJUDA] OnPlayerDisconnect ! PLZZ - by zSuYaNw - 31.10.2010, 21:00
Re: [AJUDA] OnPlayerDisconnect ! PLZZ - by †♥† - 31.10.2010, 22:46
Re: [AJUDA] OnPlayerDisconnect ! PLZZ - by zSuYaNw - 31.10.2010, 23:06
Re: [AJUDA] OnPlayerDisconnect ! PLZZ - by Gustavob - 31.10.2010, 23:10
Re: [AJUDA] OnPlayerDisconnect ! PLZZ - by zSuYaNw - 31.10.2010, 23:18
Re: [AJUDA] OnPlayerDisconnect ! PLZZ - by TiagoPS - 31.10.2010, 23:21
Re: [AJUDA] OnPlayerDisconnect ! PLZZ - by Gustavob - 31.10.2010, 23:22
Re: [AJUDA] OnPlayerDisconnect ! PLZZ - by TiagoPS - 31.10.2010, 23:27

Forum Jump:


Users browsing this thread: 1 Guest(s)