26.03.2012, 19:23
Tenta ai:
pawn Код:
if(strcmp(cmd, "/verip", true) == 0)
{
if(IsPlayerAdmin(playerid))
{
new id[128], IP[128];
id = strtok(cmdtext,idx);
if(!strlen(id)) return SendClientMessage(playerid, -1, "Digite: /verip [id]");
GetPlayerIp(strval(id), IP, sizeof(IP));
format(string, sizeof(string), "* IP Do Jogador: %s", IP);
SendClientMessage(playerid, -1, string);
return 1;
}
}