[Ajuda] Desconectar so em CRASH ;-;
#4

tenta assim

Код:
public OnPlayerDisconnect(playerid, reason) {

	SalvarConta(playerid);
	
	if(PlayerInfo[playerid][Admin] >= 1)
	{
		Delete3DTextLabel(PlayerInfo[playerid][LabelAdmin]);
	}

new string[128];
switch(reason)
{
case 0: format(string, sizeof(string), "[SAIU]: >> %s(%d) Saiu do Servidor (Conexгo/Crash) <<", Nome(playerid),playerid);
case 1: format(string, sizeof(string), "[SAIU]: >> %s(%d) Saiu do Servidor (Desconectou-se) <<", Nome(playerid),playerid);
case 2: format(string, sizeof(string), "[SAIU]: >> %s(%d) Saiu do Servidor (Kickado ou Banido) <<", Nome(playerid));
}

if (strlen(Nome(playerid)) > 2 && (strlen(string)) > 1)
{
SendClientMessageToAll(playerid, YELLOW, string);
}
Reply


Messages In This Thread
Desconectar so em CRASH ;-; - by VinnyScript - 29.01.2015, 00:23
Re: Desconectar so em CRASH ;-; - by .Skool_. - 29.01.2015, 00:43
Re: Desconectar so em CRASH ;-; - by VinnyScript - 29.01.2015, 03:01
Re: Desconectar so em CRASH ;-; - by zqkRazer - 29.01.2015, 03:21
Re: Desconectar so em CRASH ;-; - by willttoonn - 29.01.2015, 03:52
Re: Desconectar so em CRASH ;-; - by VinnyScript - 29.01.2015, 04:32

Forum Jump:


Users browsing this thread: 1 Guest(s)