Raised This Month: $ Target: $400
 0% 

Event_CurWeapon Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
MercedeSx7
Senior Member
Join Date: Feb 2012
Location: Serbia
Old 09-02-2012 , 13:05   Event_CurWeapon Help
Reply With Quote #1

Code:
public Event_CurWeapon( id )
{
         if ( !( get_user_flags ( id ) & VIPACCESS ) ) 
         return PLUGIN_CONTINUE; 
	
         new iWeapon = read_data( 2 )
         if( !( NOCLIP_WPN_BS & ( 1 << iWeapon) ) )
	 {
		fm_cs_set_weapon_ammo( get_pdata_cbase( id, m_pActiveItem ) , g_MaxClipAmmo[ iWeapon ] );
	 }
}
Can some fix this code, it should returen a value but i dont know what plugin continue or handled. Thanks
__________________
MercedeSx7 is offline
 


Thread Tools
Display Modes

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 08:22.


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