new ban
i try to make a new ban plugin that uses a new ban file, but i have problems...
can anybody help me? |
Re: new ban
Tell us, what's the problem?
|
Re: new ban
What is wrong with the normal ban system? It is much much more efficient.
|
Re: new ban
compiler output:
Code:
new_ban.sma(89 -- 90) : error 006: must be assigned to an arraythe normal cs's ban system don't work perfectly. for example somtimes the ban file was deleted... |
Re: new ban
Use amxbans. Or advanced bans by Exolent.
|
Re: new ban
ok, but i want to make my own ban plugin
|
Re: new ban
Quote:
Quote:
Show the output of the server command "meta list" (without the quotes of course). Also, you can change the ban file to what ever you want. So, maybe doing so will stop it from happening if what ever is deleting it is doing by a hardcoded file name. Put this in server.cfg: Code:
bannedcfgfile "yourfile.cfg"Quote:
|
Re: new ban
i have problem with parse()...
for example: parse("STEAM_0:0:1111111111 000.000.00.000:00000 0", arg1, 32, arg2, 32, arg3, 32) - this is not the original steamid and ip... for "arg1 arg2 arg3" i get: S10 10 0 |
Re: new ban
Quote:
So, if you hard code the string like you have there you need to do: Code:
parse("^"STEAM_0:0:1234567^" ^"000.000.00.000:00000^" ^"0^"", ...)Code:
"STEAM_0:0:1234567" "000.000.00.000:00000" "0" |
Re: new ban
ok ,but i again get "S10 10 0"
|
| All times are GMT -4. The time now is 21:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.