[Ajuda] Ajuda no cуdigo
#3

Code:
new IPDoCara[16];
GetPlayerIp(playerid, IPDoCara, 16);
for(new i; i < MAX_PLAYERS; i++)
{
    if(!IsPlayerConnected(i)) continue;

    if(PlayerInfo[i][pAdmin] > 0)
    {
	    if(PlayerInfo[i][pAdmin] >= 3000)
		{
			format(string2, sizeof(string2), "AdmCmd: %s (IP: %s) conectou-se.", PlayerName(playerid), IPDoCara);
		}
	    else
		{
			format(string2, sizeof(string2), "AdmCmd: %s conectou-se.", PlayerName(playerid));
		}
	 	SendClientMessage(i, COLOR_LIGHTRED, string2);
	}
}
Reply


Messages In This Thread
Ajuda no cуdigo - by LuanGamer - 07.02.2017, 16:01
Re: Ajuda no cуdigo - by ipsLuan - 07.02.2017, 16:57
Re: Ajuda no cуdigo - by RodrigoMSR - 07.02.2017, 17:18

Forum Jump:


Users browsing this thread: 1 Guest(s)