dcmd_banip(playerid,params[])
{
new ip[32], dformat[64];
if(AccInfo[playerid][Level] >= 5) return SendClientMessage(playerid,0xff0000ff,"You Are Not Admin!");
if(sscanf(params,"s[32]",ip)) return SendClientMessage(playerid,LIGHTBLUE2,"USAGE: /unbanip [ip]");
if(sscanf(params,"s[32]",ip)) return SendClientMessage(playerid,orange,"Function: Will UnBan the Ip Of specified player");
format(dformat,sizeof dformat,"banip %s",ip);
SendRconCommand(dformat);
return 1;
}
dcmd_banip(playerid,params[])
{
new ip[32], dformat[64];
if(AccInfo[playerid][Level] >= 5) return SendClientMessage(playerid,0xff0000ff,"You Are Not Admin!");
if(sscanf(params,"s[32]",ip)) return SendClientMessage(playerid,LIGHTBLUE2,"USAGE: /unbanip [ip]");
SendClientMessage(playerid, -1,"{FF0000}FUNCTION:Will unban the ip of specified player");
format(dformat,sizeof dformat,"banip %s",ip);
SendRconCommand(dformat);
return 1;
dcmd_banip(playerid,params[])
{
new ip[32], dformat[64];
if(AccInfo[playerid][Level] >= 5) return SendClientMessage(playerid,0xff0000ff,"You Are Not Admin!");
if(sscanf(params,"s[32]",ip)) return SendClientMessage(playerid,LIGHTBLUE2,"USAGE: /unbanip [ip]");
if(isnull(params)) return SendClientMessage(playerid,orange,"Function: Will UnBan the Ip Of specified player");
format(dformat,sizeof(dformat),"banip %s",ip);
SendRconCommand(dformat);
return 1;
}
#if !defined isnull
#define isnull(%1) \
((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))
|
error 001: expected token: "#endif", but found "-end of file-" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. |