Raised This Month: $ Target: $400
 0% 

[HELP] Error Complete


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 05-05-2016 , 13:56   Re: [HELP] Error Complete
Reply With Quote #2

Because you have double function in your code:

PHP Code:

public zp_fw_grenade_frost_pre(id

    
// Prevent frost for Nemesis 
    
if (g_bCannotBeFrozen[id] && flag_get(g_IsNemesisid) && !get_pcvar_num(cvar_nemesis_grenade_frost)) 
        return 
PLUGIN_HANDLED
     
    return 
PLUGIN_CONTINUE

public 
zp_fw_grenade_frost_pre(id

    
// Prevent frost for Nemesis 
    
if (flag_get(g_IsNemesisid) && !get_pcvar_num(cvar_nemesis_grenade_frost)) 
        return 
PLUGIN_HANDLED
     
    return 
PLUGIN_CONTINUE

Remove one of them and compile plugin, i don't know, so you decide.
siriusmd99 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 18:32.


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