get_user_weapon errors w/ bots
The get_user_weapon seems to have mad compatibility issues with FoxBot. Is there an other function that does the exact same thing but is stable with bots?
You guys would probably recommend I use is_user_bot function to disclude bots but it would feel to awkward that extra dynamic light flashes with weapon fire would only work with real players. My usage of this funtion PHP Code:
Code:
L 09/27/2011 - 00:00:00: [AMXX] Displaying debug trace (plugin "myplugin.amxx") |
Re: get_user_weapon errors w/ bots
code?
|
Re: get_user_weapon errors w/ bots
Seems to be a code error rather than a bot issue.
|
Re: get_user_weapon errors w/ bots
Spectator used just to start the infinite loop
PHP Code:
PHP Code:
PHP Code:
The code works in game on both player and bot HW guys shooting the auto-cannon but the errors only happen if theres bots. More bots the more harder the error spams. EDIT: Quote:
|
Re: get_user_weapon errors w/ bots
PHP Code:
PHP Code:
|
Re: get_user_weapon errors w/ bots
register_event("Spectator", "speed", "abcde")
Flags are wrong. |
Re: get_user_weapon errors w/ bots
PHP Code:
PHP Code:
|
Re: get_user_weapon errors w/ bots
Quote:
|
Re: get_user_weapon errors w/ bots
This is not the good way to fix it, check flags in register_event !!
http://www.amxmodx.org/funcwiki.php?...vent&go=search Don't put "a" in flags but only "b", for other flags, it depends on what you need. |
Re: get_user_weapon errors w/ bots
Quote:
|
| All times are GMT -4. The time now is 19:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.