OnIncomingConnection function
#3

pawn Код:
public OnIncomingConnection(playerid, ip_address[], port)
{
    new playername[MAX_PLAYER_NAME], str[128];
    GetPlayerName(playerid, playername, sizeof playername);
    format(str, sizeof str, "Incoming connection for player %s (%i) [IP/port: %s:%i]", playername, playerid, ip_address, port);
    SendClientMessageToAll(str, 0xAAFFCCAA);
    printf("Incoming connection for player %s (%i) [IP/port: %s:%i]", playername, playerid, ip_address, port);
    return 1;
}
Reply


Messages In This Thread
OnIncomingConnection function - by audriuxxx - 22.04.2014, 13:51
Re: OnIncomingConnection function - by Leroytjuh - 22.04.2014, 13:53
Re: OnIncomingConnection function - by iFarbod - 22.04.2014, 13:58
Re: OnIncomingConnection function - by audriuxxx - 22.04.2014, 14:11
Re : OnIncomingConnection function - by Ramoboss - 22.04.2014, 14:25
Re: OnIncomingConnection function - by audriuxxx - 22.04.2014, 14:44

Forum Jump:


Users browsing this thread: 1 Guest(s)