[Ajuda] Problema com OnPlayerDisconnect
#1

Код:
new string[128], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
 
	switch(reason)
	{
	    case 0: format(string, sizeof(string)," [SERVIDOR] \"%s\" (%d) perdeu a conexгo.", name, playerid);
	    case 1: format(string, sizeof(string)," [SERVIDOR] \"%s\" (%d) saiu do servidor.", name, playerid);
//	    case 2: format(string, sizeof(string)," [SERVIDOR] \"%s\" (%d) foi expulso do servidor.", name,playerid);
	}
	SendClientMessageToAll(COLOR_CONNECTION, string);
	SendDeathMessage(INVALID_PLAYER_ID, playerid, 201);
porque isso nгo funciona? nгo faz nada ¬¬
Reply


Messages In This Thread
[Ajuda] Problema com OnPlayerDisconnect - by cotonete - 16.11.2011, 19:50
Re: [Ajuda] Problema com OnPlayerDisconnect - by ViniBorn - 16.11.2011, 19:56
Re: [Ajuda] Problema com OnPlayerDisconnect - by cotonete - 16.11.2011, 20:02
Re: [Ajuda] Problema com OnPlayerDisconnect - by ViniBorn - 16.11.2011, 20:04
Re: [Ajuda] Problema com OnPlayerDisconnect - by TopFuel - 16.11.2011, 20:06

Forum Jump:


Users browsing this thread: 1 Guest(s)