Help me please thanks
#3

Add this on OnPlayerDisconnect or whatever you use to show player disconnections.

Код:
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
		if(IsPlayerConnected(i))
		{
			if (player admin / rank ; whatever you use to get your player admin status)
			{
			  new playerip[20];
				new playername[MAX_PLAYER_NAME];
				new string[256];
				GetPlayerName(playerid, playername, sizeof(playername));
				GetPlayerIp(playerid, playerip, sizeof(playerip));
				SendClientMessage(i, your desired color, "%s has left the game. IP: %s.", playername, playerip);
			}
		}
		return 1;
	}
That should work, but I won't guarantee it. I suck at coding sometimes.
Reply


Messages In This Thread
Help me please thanks - by lilstuh - 30.06.2009, 01:04
Re: Help me please thanks - by Grim_ - 30.06.2009, 01:16
Re: Help me please thanks - by Kenny990 - 30.06.2009, 01:19
Re: Help me please thanks - by lilstuh - 01.07.2009, 02:26
Re: Help me please thanks - by Mr_Finnigan - 01.07.2009, 02:29
Re: Help me please thanks - by lilstuh - 01.07.2009, 02:52

Forum Jump:


Users browsing this thread: 2 Guest(s)