Raised This Month: $ Target: $400
 0% 

FF2 Can't block rage?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 12-26-2015 , 06:58   Can't block rage?
Reply With Quote #1

Trying to make a rage not work in midair.

PHP Code:
public FF2_PreAbility(index, const String:plugin_name[], const String:ability_name[], slotstatus, &enabled)
{
    if(
plugin_name[0])
    {
        if(
strcmp(this_plugin_nameplugin_name))
        {
            return;
        }
    }
    
    if (!
strcmp(ability_name"rage_gugnir"))
    {
        new 
iBoss GetClientOfUserId(FF2_GetBossUserId(index));

        if (!
g_bHasGugnir[iBoss] || !IsClientInGame(iBoss) || !IsPlayerAlive(iBoss) || !(GetEntityFlags(iBoss) & FL_ONGROUND))
        {
            
enabled false;
            return;
        }
    }

    return;

I set enabled = false, but you can still mid-air rage and lose all your rage.
__________________

Last edited by Chdata; 12-26-2015 at 06:58.
Chdata 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:02.


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