Raised This Month: $51 Target: $400
 12% 

Make user shoot after block


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tei1995
Senior Member
Join Date: Feb 2011
Location: VietNam
Old 09-25-2011 , 18:17   Make user shoot after block
Reply With Quote #1

Anyone can tell me how to make player shoot when blocking fire by offset 83 , 46 and return HAM_SUPERCEDE?
__________________

Hatsune Miku~
tei1995 is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 09-25-2011 , 21:26   Re: Make user shoot after block
Reply With Quote #2

Quote:
Originally Posted by tei1995 View Post
Anyone can tell me how to make player shoot when blocking fire by offset 83 , 46 and return HAM_SUPERCEDE?
Force them to shoot or make them able to shoot?
PHP Code:
const m_flNextAttack 83;
const 
m_flNextPrimaryAttack 46;
const 
m_flNextSecondaryAttack 47;

//Make sure this is used on player id
set_pdata_floatiPlayer m_flNextAttack get_gametime() , );

//These are used on weapon entity id
set_pdata_floatiWeaponEntity m_flNextPrimaryAttack get_gametime() , );
set_pdata_floatiWeaponEntity m_flNextSecondaryAttack get_gametime() , ); 
__________________

Last edited by Bugsy; 09-25-2011 at 21:28.
Bugsy is offline
tei1995
Senior Member
Join Date: Feb 2011
Location: VietNam
Old 09-26-2011 , 06:26   Re: Make user shoot after block
Reply With Quote #3

I block fire like this
PHP Code:
set_pdata_float(ent469999.0,4
__________________

Hatsune Miku~
tei1995 is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 09-26-2011 , 07:47   Re: Make user shoot after block
Reply With Quote #4

Quote:
Originally Posted by tei1995 View Post
I block fire like this
PHP Code:
set_pdata_float(ent469999.0,4
? I understood that from your first post.
__________________
Bugsy is offline
tei1995
Senior Member
Join Date: Feb 2011
Location: VietNam
Old 09-26-2011 , 18:15   Re: Make user shoot after block
Reply With Quote #5

I wil test yo code...thanks.
__________________

Hatsune Miku~
tei1995 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 16:07.


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