Raised This Month: $ Target: $400
 0% 

How to Block 100% weapon reload


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bos93
Veteran Member
Join Date: Jul 2010
Old 12-21-2011 , 18:49   Re: How to Block 100% weapon reload
Reply With Quote #4

Code:
#include < amxmodx >
#include < fakemeta >
#include < hamsandwich >

new block[33];

public plugin_init() RegisterHam(Ham_Weapon_Reload, "weapon_m249", "Reload_Post", 1);
	
public Reload_Post(weapon_entity) 
{
	new id = pev(weapon_entity, pev_owner);
	
	if (!is_user_connected(id))
		return HAM_IGNORED;

	if (block[id])
		return HAM_SUPERCEDE;

	return HAM_IGNORED;
}
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
 



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 11:51.


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