No, that's not what he means.
Des12, debug. First start simple and give it an echo so you know the global variables that you claim are always above 0 are actually above 0, for example.
Code:
Change:
if(bufferstop != 0) {
entity_set_int(id,EV_INT_button,bufferstop & ~IN_ATTACK & ~IN_ATTACK2 & ~IN_USE & ~IN_ALT1)
}
TO:
if(bufferstop != 0) {
entity_set_int(id,EV_INT_button,bufferstop & ~IN_ATTACK)
client_print(id,print_chat,"Stopped Attack")
}
And take out PLUGIN_HANDLED - you don't need that there.
I would bet you don't get any echo, which will tell you that the error lies before the button setting, in your variable testing code.
__________________