29.08.2013, 20:50
nao o seu e strcmp
coloca este
coloca este
pawn Код:
if(strcmp(cmd, "/desbanir", true) == 0)
{
if(/*variavel de adm level 3*/)
{
new ip[20], string[128];
if(sscanf(params, "s[128]", ip))
{
SendClientMessage(playerid, Verde, "Use /desbanir [ip]");
return 1;
}
format(string, sizeof(string), "unbanip %s", ip);
SendRconCommand(string);
}
return 1;
}