Raised This Month: $ Target: $400
 0% 

Forcing a zombie to duck and may not jump


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ƒa†es™
Senior Member
Join Date: May 2009
Location: Garena
Old 06-10-2009 , 02:02   Re: Forcing a zombie to duck and may not jump
Reply With Quote #6

Quote:
Originally Posted by hleV View Post
I'm not sure what you want. You want zombie to duck and disallow him to jump? If so, you can try this (not tested and I doubt that it will work flawlessly).

Code:
public FwdCmdStart(id, uc_handle, seed)</p><p>{</p><p> if(!is_user_alive(id) || !zp_get_user_zombie(id))</p><p> return FMRES_IGNORED</p><p>&nbsp;</p><p> static Buttons, DoAction;</p><p> Buttons = get_uc(uc_handle, UC_Buttons);</p><p>&nbsp;</p><p> if (!(Buttons & IN_DUCK))</p><p> {</p><p> DoAction = true;</p><p> Buttons |= IN_DUCK;</p><p> }</p><p>&nbsp;</p><p> if (Buttons & IN_JUMP)</p><p> {</p><p> DoAction = true;</p><p> Buttons |= ~IN_JUMP;</p><p> }</p><p>&nbsp;</p><p> if (DoAction)</p><p> {</p><p> set_uc(uc_handle, UC_Buttons, Buttons);</p><p>&nbsp;</p><p> return FMRES_SUPERCEDE;</p><p> }</p><p>&nbsp;</p><p> return FMRES_IGNORED;</p><p>}

Didn't work

When i jump it auto attack
__________________
ƒa†es™ is offline
 



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 13:51.


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