Onos blocker
Ok, ive been working on this onos blocker because the current ones i dislike. It compiles, but itdoesnt work. It wont let me onos. Can anyone help me? The point is to have at least 3 rines to every 1 ono.
Code:
#include <amxmod> |
remove the
if(is_combat()) { } thing |
But, i only want it to work during combat. not co.
|
well that made no sense, work in combat, not co. =\
Why not use it for NS as well, so if it's 1v3 aliens, one might have the indecency to go onos..:o I know I've seen it done before... Doesn't hurt to see if free's right. :o |
sorry, co not ns. But can aanyone help me with getting it to work? (for co only)
|
dont noe much about NS but the register_plugin is called only once every map so if when map is loaded register_plugin is called and i doubt that is_combat() is set to true at that moment. so in my mind u never get to register ur commands. but i might be wrong since i dont play ns much.
|
can someone who does play ns and knows how to script help me?
|
FreeCode is right. You put the code in the wrong position.
Take it out of plugin_init, and put it in your functions, like this: Code:
public checkBlock(id) |
How do you register the commands?
|
Well you registered an impulse...
|
| All times are GMT -4. The time now is 14:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.