Raised This Month: $ Target: $400
 0% 

[HELP] Block Flashlight For T


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
clementj626
Junior Member
Join Date: Aug 2011
Old 02-10-2013 , 23:03   [HELP] Block Flashlight For T
Reply With Quote #1

Can someone help me with this?

#include <amxmodx>
#include <fakemeta>

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

public fwCmdStart( id, uc_handle, seed ) {
if( get_uc( uc_handle, UC_Impulse ) == 100 ) {
if(get_user_team(id) == 1){
set_uc( uc_handle, UC_Impulse, 0 );
return FMRES_HANDLED;
}
else
{
if (pev(id, pev_effects) & EF_DIMLIGHT)
{
set_pev(id, pev_impulse, 100)

}
}
return FMRES_IGNORED;
}

The error is :

error 001: expected token: "}" but found "-end of file-"

Wth is that? Someone plz help me.
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