Raised This Month: $ Target: $400
 0% 

detect +attack and execute code many times


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
moosewanted
Member
Join Date: May 2009
Old 05-31-2009 , 08:58   Re: detect +attack and execute code many times
Reply With Quote #3

Quote:
Originally Posted by arkshine View Post
It will.

But the header looks like : ( const id, const uc_handle, const seed ) and use get_uc( uc_handle, UC_Buttons ); to retrieve buttons.
PHP Code:
public CmdStart(const id, const uc_handleseed)
{
    if(!
g_custom_model[id]) return FMRES_IGNORED;
    static 
buttons
    buttons 
get_uc(uc_handleUC_Buttons)
    if(
buttons ATTACK// is this the right button? :p
    
{
        
//other stuff here
    
}
    if(
buttons ATTACK2)
    {
        
//more code here
    
}
    return 
FMRES_SUPERCEDE//This does block +attack right?

Also, where did we get:
UC_Buttons? from
And where can I get a list of buttons?

moosewanted 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 14:03.


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