Huhu!
mein Stock:
stock GIP(playerid)
{
new playersip[16];
return GetPlayerIp(playerid, playersip, sizeof(playersip));
}
Befehl:
if(strcmp(cmdtext,"/myip",true) == 0)
{
new string[128];
format(string,sizeof(string),"Deine IP ist: %d",GIP(playerid));
SendClientMessage(playerid,Rot,string);
return 1;
}