03.11.2009, 02:10
Just do what Kevin said.
(here it is if you dont know what he is talking about)
(here it is if you dont know what he is talking about)
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
TextDrawHideForPlayer(playerid,TextWebsite);
TextDrawHideForPlayer(playerid,TextName);
new pName[MAX_PLAYER_NAME], string[56];
GetPlayerName(playerid, pName, sizeof(pName));
switch(reason)
{
case 0: format(string, sizeof(string), ">> %s has left World War (Lost Connection)", pName);
case 1: format(string, sizeof(string), ">> %s has left World War (Leaving)", pName);
case 2: format(string, sizeof(string), ">> %s has left World War (Kicked)", pName);
}
SendClientMessageToAll(COLOR_ORANGE, string);
return 1;
}