Raised This Month: $ Target: $400
 0% 

Blocking input while dead


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Wilson [29th ID]
Veteran Member
Join Date: Nov 2005
Location: London
Old 09-29-2007 , 14:53   Re: Blocking input while dead
Reply With Quote #4

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.
__________________

Day of Defeat AMXX Community

FakeMeta Research . Voice Proximity . Advanced Deploy . Technician
Wilson [29th ID] is offline
Send a message via ICQ to Wilson [29th ID] Send a message via AIM to Wilson [29th ID] Send a message via MSN to Wilson [29th ID] Send a message via Yahoo to Wilson [29th ID]
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:10.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode