22.10.2015, 07:06
Here you go
Код:
CMD:getip(playerid,params[]) { new ip; ip = GetPlayerIp(playerid,IP[playerid],sizeof(IP)); new nameforip; nameforip = GetPlayerName(playerid); new ipinfomsg; format(ipinfomsg,sizeof(ipinfomsg),"The IP of '%s' is '%d'",nameforip,ip); SendClientMessage(playerid,-1,ipinfomsg); return 1; }