Raised This Month: $ Target: $400
 0% 

Block reload


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 07-10-2013 , 15:48   Block reload
Reply With Quote #1

Trying to block reload but it doesnt block

Code:
RegisterHam(Ham_Weapon_Reload, "weapon_m249", "Reload_Post", 1);
Code:
public Reload_Post(weapon_entity) 
{
 if( !e_LD )  
  return HAM_IGNORED 
  
 new iPlayer = pev(weapon_entity, pev_owner);
 
 if( ( iPlayer != iPlayer_LastGuard ) && ( iPlayer != iPlayer_LastPrisoner ) || !is_user_alive( iPlayer ) ) 
  return HAM_SUPERCEDE;
 return HAM_IGNORED;
}
__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
 


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 06:27.


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