Unban help
#1

Hello everyone,i'm running 0.2x samp server and i have admin filterscript and everything,but what it doesn't contain is unban material,so if anyone could just post me DOWNLOAD LINKS of those filterscripts i would be really happy,btw.THis is what i need /unbanname , /unbanip
Reply
#2

If you use Godfather, here is what I have. To ban a name needs more work.
And I suggest you to run a 0.3a R8 server not 0.2X, not many people play 0.2X anymore. Since SA-MP has upgraded to 0.3a (R8 for servers)

www.sa-mp.com To download the new version

pawn Код:
if(strcmp(cmd,"/unbanip",true)==0)
    {
        if(PlayerInfo[playerid][pAdmin] >= 4)
        {
            tmp = strtok(cmdtext,idx);
            if(!strlen(tmp))
            {
                SendClientMessage(playerid,COLOR_WHITE,"   USAGE: /unbanip [players ip]");
                return 1;
            }

            format(string,sizeof(string),"unbanip %s",tmp);
            SendRconCommand(string);
            SendRconCommand("reloadbans");
            GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, 256, "AdmWarning: %s has unbanned IP %s", sendername,tmp);
            ABroadCast(COLOR_YELLOW,string,1);
        }
        return 1;
    }
Reply
#3

Quote:

If you use Godfather, here is what I have

(i don't use godfather mode,i don't even know what it is)
Quote:

To ban a name needs more work.

i already have ban commands(/ban,/rban,/tempban)
Quote:

And I suggest you to run a 0.3a R8 server not 0.2X, not many people play 0.2X anymore. Since SA-MP has upgraded to 0.3a (R8 for servers)

i've put vote on my forum and in few days we will see to switch or not to switch...
Quote:
www.sa-mp.com To download the new version

lol ! everyone knows that...
Quote:

if(strcmp(cmd,"/unbanip",true)==0)
{
if(PlayerInfo[playerid][pAdmin] >= 4)
{
tmp = strtok(cmdtext,idx);
if(!strlen(tmp))
{
SendClientMessage(playerid,COLOR_WHITE," USAGE: /unbanip [players ip]");
return 1;
}

format(string,sizeof(string),"unbanip %s",tmp);
SendRconCommand(string);
SendRconCommand("reloadbans");
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, 256, "AdmWarning: %s has unbanned IP %s", sendername,tmp);
ABroadCast(COLOR_YELLOW,string,1);
}
return 1;
}

thanks, i'll try it.
Reply
#4

Not working,if someone could give me correct pwn link download?
Reply
#5

Do you have anything not defined?
Reply
#6

Please just give me the download link! that's all i need! IF you don't want to help then don't respond here anymore bro.
Reply
#7

What's the sense in us putting something on a website (one command) which we can here, and tell you what to do.
Reply
#8

Ok,then just post me the whole thing in pastebin and tell me under where to put and i'll try to add it to my gamemode,though it probably won't work because i'll screw up something,but still,it looks you aren't gonna post me the thing i need...
Reply
#9

Well Johny i suggest you first visit SAMP WIKI page read everything and than you will know how you can add these
Reply
#10

come on man,i don't want to learn scripting,it is too damn difficult.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)