admin and player
#2

Код:
new connectstr[128], ip[16];
    GetPlayerIp(playerid, ip, sizeof(ip)) // Assign the IP to the ip string variable
    format(connectstr, sizeof(connectstr), "* %s (%d) Has Joined The Server -  IP: %s.",pNick(playerid),playerid,ip); 
    for(new i; i <= MAX_PLAYERS; i++) //Loop through all players
    {
    	if(PlayerInfo[i][pAdmin] >= 1) SendClientMessage(i, COLOR_DEAD, connectstr);
    }
Reply


Messages In This Thread
admin and player - by JuzDoiT - 11.06.2017, 12:49
Re: admin and player - by FailerZ - 11.06.2017, 13:07
Re: admin and player - by JuzDoiT - 11.06.2017, 13:09
Re: admin and player - by FailerZ - 11.06.2017, 13:13

Forum Jump:


Users browsing this thread: 1 Guest(s)