Guest User

Hannes

a guest
Mar 1st, 2010
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.38 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. public OnPlayerConnect(playerid)
  4. {
  5.     new ip[64];
  6.     new pName[MAX_PLAYER_NAME];
  7.     new str[128];
  8.     GetPlayerIp(playerid, ip, 64);
  9.     GetPlayerName(playerid, pName, sizeof(pName));
  10.     format(str, sizeof(str), "%s has joined the server! [IP: %s] [Country: /*%s*/]",pName, ip/*, country*/);
  11.     SendClientMessageToAll(0xC0C0C0AA, str);
  12.     return 1;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment