12.09.2012, 10:12
pawn Код:
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, RED, "You are not allowed to do that");
new PlayerIP[16], string[20], id;
GetPlayerIp(id, PlayerIP, sizeof(PlayerIP));
format(string, sizeof(string), "Player IP is:%s", PlayerIP);
SendClientMessage(playerid, YELLOW, string);
return 1;
}