11.06.2017, 12:49
hello , can someone help me to settings , Join Message For My Server?
here is onplayerconnect message
i want to edit it ,, if online players are admins ,, then show his ip addres if they are not show the same message
here is my admin settings
here is onplayerconnect message
PHP код:
new connectstr[128];
format(connectstr, sizeof(connectstr), "* %s (%d) Has Joined The Server.",pNick(playerid),playerid);
SendClientMessageToAll(COLOR_DEAD, connectstr);
PHP код:
new connectstr[128];
format(connectstr, sizeof(connectstr), "* %s (%d) Has Joined The Server - IP: %s.",pNick(playerid),playerid,ip);
SendClientMessageToAll(COLOR_DEAD, connectstr);
Quote:
if(PlayerInfo[playerid][pAdmin] < 1) { //add code } |