Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- public OnPlayerConnect(playerid)
- {
- new ip[64];
- new pName[MAX_PLAYER_NAME];
- new str[128];
- GetPlayerIp(playerid, ip, 64);
- GetPlayerName(playerid, pName, sizeof(pName));
- format(str, sizeof(str), "%s has joined the server! [IP: %s] [Country: /*%s*/]",pName, ip/*, country*/);
- SendClientMessageToAll(0xC0C0C0AA, str);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment