Raised This Month: $ Target: $400
 0% 

Won't drop grenade


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 02-22-2013 , 18:43   Won't drop grenade
Reply With Quote #1

Hi, how to do no grenade drop? I mean won't let players to drop grenade IN_ATTACK button?

Last edited by ~Ice*shOt; 02-22-2013 at 18:44.
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 02-23-2013 , 05:01   Re: Won't drop grenade
Reply With Quote #2

PHP Code:
#include <fakemeta>

#define OFFSET_NEXT_PRIMARY_ATTACK 46
#define OFFSET_LINUX 4

ToggleWeaponPrimaryAttack(weaponEntitybool:allowPrimaryAttack)
{
    
set_pdata_float(weaponEntityOFFSET_NEXT_PRIMARY_ATTACKallowPrimaryAttack 0.0 999999.9OFFSET_LINUX);

__________________

Last edited by hleV; 02-24-2013 at 13:45.
hleV is offline
Reply



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 21:49.


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