admin and player
#4

my bad add ; at the end of GetPlayerIp like this
Код:
GetPlayerIp(playerid, ip, sizeof(ip));
Here the total code if you didn't get what I mean
PHP код:
    new connectstr[128], ip[16];
    
GetPlayerIp(playeridipsizeof(ip)); // Assign the IP to the ip string variable
    
format(connectstrsizeof(connectstr), "* %s (%d) Has Joined The Server -  IP: %s.",pNick(playerid),playerid,ip); 
    for(new 
i<= MAX_PLAYERSi++) //Loop through all players
    
{
        if(
PlayerInfo[i][pAdmin] >= 1SendClientMessage(iCOLOR_DEADconnectstr);
    } 
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: 3 Guest(s)