if(strcmp("/getip", cmdtext, true, 20) == 0 && IsPlayerAdmin(playerid) == 1){ new string[256]; new ActionName[24]; new ip[256]; new id[20]; GetPlayerName(id,ActionName,24); GetPlayerIp(id,ip,256); format(string,256,"\"%s\'s\" IP: \'%s\'",ActionName,ip); SendClientMessage(playerid,COLOR_YELLOW,string); return 1; }