admin and player
#1

hello , can someone help me to settings , Join Message For My Server?

here is onplayerconnect message

PHP код:
    new connectstr[128];
    
format(connectstrsizeof(connectstr), "* %s (%d) Has Joined The Server.",pNick(playerid),playerid);
    
SendClientMessageToAll(COLOR_DEADconnectstr); 
i want to edit it ,, if online players are admins ,, then show his ip addres if they are not show the same message

PHP код:
    new connectstr[128];
    
format(connectstrsizeof(connectstr), "* %s (%d) Has Joined The Server -  IP: %s.",pNick(playerid),playerid,ip);
    
SendClientMessageToAll(COLOR_DEADconnectstr); 
here is my admin settings

Quote:

if(PlayerInfo[playerid][pAdmin] < 1)
{

//add code
}

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)