Raised This Month: $ Target: $400
 0% 

[HELP] Block Flashlight For T


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
clementj626
Junior Member
Join Date: Aug 2011
Old 02-11-2013 , 04:50   Re: [HELP] Block Flashlight For T
Reply With Quote #7

Quote:
Originally Posted by leonardo_ View Post
I guess it suppose to be like that:

PHP Code:
#include <amxmodx>
#include <fakemeta>

public plugin_init( ) {
    
register_plugin"Block Flashlight For T""1.0""None" );
    
register_forwardFM_CmdStart"fwCmdStart" );
}

public 
fwCmdStartiduc_handleseed 
{
    if( 
get_ucuc_handleUC_Impulse ) == 100 
    {
        if(
get_user_team(id) == 1)
    {
            
set_ucuc_handleUC_Impulse);
            return 
FMRES_HANDLED;
    }
        else
        {
            if (
pev(idpev_effects) & EF_DIMLIGHT)
            {
        
set_pev(idpev_impulse100)
        
            }
        }
        return 
FMRES_IGNORED;
    }

Well, I got 1 Errors when compiling..

[PHP]/tmp/textXlqadC.sma(2 : warning 209: function "fwCmdStart" should return a value
Header size: 284 bytes
Code size: 544 bytes
Data size: 176 bytes
Stack/heap size: 16384 bytes; estimated max. usage=42 cells (168 bytes)
Total requirements: 17388 bytes

1 Warning.
Done.
clementj626 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 20:33.


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