Raised This Month: $ Target: $400
 0% 

[REQ] Block C4 Drop


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
xxxperts
Senior Member
Join Date: Oct 2013
Location: India
Old 05-21-2015 , 06:29   Re: [REQ] Block C4 Drop
Reply With Quote #2

Quote:
Originally Posted by xPaw View Post
Here's better:
Code:
#include < amxmodx > #include < hamsandwich > new g_pEnabled; public plugin_init( ) {     register_plugin( "", "", "" );         g_pEnabled = register_cvar( "sv_block_c4_drop", "1" );         RegisterHam( Ham_CS_Item_CanDrop, "weapon_c4", "FwdHamC4Drop" ); } public FwdHamC4Drop( const iEntity ) {     if( get_pcvar_num( g_pEnabled ) ) {         SetHamReturnInteger( 0 );                 return HAM_SUPERCEDE;     }         return HAM_IGNORED; }
__________________
All my work is here
xxxperts 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:04.


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