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
__________________