Raised This Month: $ Target: $400
 0% 

[HELP] Block Flashlight For T


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 02-11-2013 , 07:45   Re: [HELP] Block Flashlight For T
Reply With Quote #8

Add return FMRES_IGNORED; before the last }.

Or use a better code:
PHP Code:
#include <amxmodx>
#include <engine>
#include <cstrike>

public plugin_init()
{
    
register_plugin("Block Flashlight for Terrorists""1.1""HLEV");
    
    
register_impulse(100"OnImpulse100");
}

public 
OnImpulse100(client)
{
    
// I guess alive check isn't needed
    
return cs_get_user_team(client) == CS_TEAM_T PLUGIN_HANDLED PLUGIN_CONTINUE;

__________________

Last edited by hleV; 02-11-2013 at 07:48.
hleV 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