CZ Bots + AMXX 1.70 + auto bot script = crashing
Hello. I am attempting to write a script, fairly simple at the moment.
Basically, it sets a task for every 5 seconds in the plugin_init() function. It seems pretty stable; bots coem and leave as humans enter/leave the CT/T teams. But it does seem to crash our server every dozen or so maps, but no crashing seems to happen if its stopped. Code:
#include <amxmod>Thanks. -blz |
Re: CZ Bots + AMXX 1.70 + auto bot script = crashing
That's funny, I'm working on a script to do exactly the same thing!
I see two potential problems. First, I wouldn't put a new inside a for loop. It's more efficient to create it once, and reuse it in the for loop. This may be the source of your crashing. Second, this code is wrong: PHP Code:
PHP Code:
|
| All times are GMT -4. The time now is 16:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.