Error help plsease!
#4

pawn Код:
public OnPlayerConnect(playerid)
{
    new GetPName[MAX_PLAYER_NAME], string[24+MAX_PLAYER_NAME];
    GetPlayerName(playerid, GetPName, sizeof(GetPName));
    new mess[256],pmess[256],IP[256];
    GetPlayerIp(playerid,IP,sizeof(IP));
    format(mess,sizeof(mess),"%s has joined the server. Country: %s | IP Address: %s",GetPName,GetPlayerCountryName(playerid),IP);
    printf(mess);
    format(pmess,sizeof(pmess),"%s has joined the server from %s.",GetPName);
    SendClientMessageToAll(COLOR_GREY, string);
    return 1;
}
Reply


Messages In This Thread
Error help plsease! - by PrinXe - 04.01.2015, 14:29
Re: Error help plsease! - by HY - 04.01.2015, 14:36
Re: Error help plsease! - by UltraScripter - 04.01.2015, 14:37
Re: Error help plsease! - by DoubleNicca - 16.09.2015, 20:46
Re: Error help plsease! - by saffierr - 16.09.2015, 20:53

Forum Jump:


Users browsing this thread: 1 Guest(s)