31.01.2009, 18:12
I am embarassed to ask, since im such a noob and i cant figure it out here is my code, it wont compile because i dont know how to assing getplayerip to a string so i can use and print it out so any help would be nice thanks
Код:
if(PlayerAdminLevel[playerid] == 1337)
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
SendClientMessage(playerid, COLOR_ERROR, "USAGE: /getip (id)");
return 1;
}
GetPlayerIp = %P;
SendClientMessage(playerid,0xA9A9A9AA,"Player IP : %P");
}
else
SendClientMessage(playerid,0xFF0000AA,"You Cannot Use This Command.");
return 1;
}

