On player join problem
#1

Hello!
If a player join in my server then the message is not showing ( Player has joined the server (Country) )
It was working before but now it is not.and in my testing server it is working fine..
Anyone know how to fix this shit?
Reply
#2

can i see your command where you worked?
Reply
#3

in OnPlayerConnect callback
pawn Код:
if(ServerInfo[ConnectMessages] == 1){
        new pAKA[256];
        pAKA = dini_Get("ladmin/Config/aka.txt",tmp3);
        GetPlayerCountryName(playerid);
        new mess[128],IP[128];
        GetPlayerIp(playerid,IP,sizeof(IP));
        format(mess,sizeof(mess),"%s has joined the server.  [ Country: %s | IP Address: %s ]",PlayerName,GetPlayerCountryName(playerid),IP);
        printf(mess);
        format(string, sizeof(string), "** %s [Id:%d] has joined the server.(%s)", PlayerName, playerid, GetPlayerCountryName(playerid));
        SendClientMessageToAll(COLOR_GREY, string);}
But it is working fine in my testing server and not working in the main server (hosted server)
Reply


Forum Jump:


Users browsing this thread: