Connecting Message
#1

Hi all
Im using ladmin system and i made two different join messages one for player and other for admin but i dont why its not working

code

new IP[128];
if(ServerInfo[ConnectMessages] == 1)
{

GetPlayerIp(playerid,IP,sizeof(IP));
format(string,128,"*** %s [ID:%d] has joined the server.[ Country: %s | IP: %s ] ", PlayerName,playerid, GetPlayerCountryName(playerid),IP);
SendClientMessageToAll(green, string);
}
else
{
if (dUserINT(PlayerName2(playerid)).("Level") >= 1){
switch(PlayerInfo[playerid][Level]) {
case 0: {
format(string,128,"*** [Basic Adm] %s [ID:%d] has joined the server.[ Country: %s | IP: %s ] ", pName(playerid),playerid,GetPlayerCountryName(play erid),IP);
SendClientMessageToAll(green, string);
}
}
}
}
Reply


Messages In This Thread
Connecting Message - by Miller007 - 13.04.2016, 07:03
Re: Connecting Message - by Sew_Sumi - 13.04.2016, 08:04
Re: Connecting Message - by Miller007 - 13.04.2016, 08:06
Re: Connecting Message - by Sew_Sumi - 13.04.2016, 08:17
Re: Connecting Message - by AmigaBlizzard - 13.04.2016, 13:32
Re: Connecting Message - by Sew_Sumi - 13.04.2016, 14:12

Forum Jump:


Users browsing this thread: 1 Guest(s)