/rban ain't working right
#2

Try replacing
Код:
GetPlayerIp(Player, ip1, sizeof(ip1));
format(ip,128,"%s**",ip);
fwrite(Bans, ip);
format(ip1,128,"banip %s",ip1);
with
Код:
GetPlayerIp(Player, ip1, sizeof(ip1));
strdel( ip1, strlen( ip1 ) - 2, strlen( ip1 ) );
strcat( ip1, "**", 128 );
fwrite(Bans, ip);
format(ip1,128,"banip %s",ip1);
Reply


Messages In This Thread
/rban ain't working right - by Zonoya - 23.09.2011, 16:03
Re: /rban ain't working right - by IstuntmanI - 23.09.2011, 16:21
Re: /rban ain't working right - by Zonoya - 23.09.2011, 16:27

Forum Jump:


Users browsing this thread: 1 Guest(s)