![]() |
Re: New AMX Plug In For RealBot
Quote:
Best Bytes®, Harry |
Re: New AMX Plug In For RealBot
Quote:
this way the amx_rbmm menuitems are no longer greyed out. i'll continue fiddeling ;-) Best Bytes®, Harry |
Re: New AMX Plug In For RealBot
Quote:
Well, it's very simple, the keys are defined via set bits in a variable: Code:
new keys = (1<<0)|(1<<1)|(1<<2)|(1<<3)|(1<<4)|(1<<9) The "|" adds the keys together. If you want key "1" and "0" enabled in your menu: Code:
new keys = (1<<0)|(1<<9) |
Re: New AMX Plug In For RealBot
Quote:
after hours of frustration i switched over to _your_ script, wich does exactly what i want. it took me about 15 minutes to set it up. THANX again! Best Bytes®, Harry P.S ich wuerd' noch reinschreiben welche rechte man haben muss um das script benutzen zu koennen. i'd also note which rights are nessecary to execute your amx commands... |
Re: New AMX Plug In For RealBot
ADMIN_CFG ("h").
I choose this level because a bot strongly interferes with the servers configuration :D. (And my clanmates have the neccessary access rights anyway...) And the amx_realbotvote command requires ADMIN_VOTE ("j"). |
Re: New AMX Plug In For RealBot
Quote:
thanx. i figured that out myself ;-) i meant more like "pleasee add that to the docu" Best Bytes®, Harry |
Re: New AMX Plug In For RealBot
I already added it to the documentation for the next release ;).
|
Re: New AMX Plug In For RealBot
Its Funny i made the script and had no problems with it at all
|
Re: New AMX Plug In For RealBot
Quote:
no doubt...you surely wrote a nice script! but for someone who hasn't fiddled with AMX yet... hmm.. it takes a while to understand it. @Terran the "fillslots" status gets logged every 10 seconds? (at least when it's set to zero) ...isn't that a bit much? Best Bytes®, Harry |
Re: New AMX Plug In For RealBot
Well, as I'm still developing the script those logging is neccessary for me to see what the script does - and the checks are done every 10 seconds.
If you want get rid of all log messages, edit the "log" function and comment out its content. Code:
log(id,text[]) { Code:
public checkSlots() { Code:
public setupCheckSlots() { |
All times are GMT +2. The time now is 17:40. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.