Raised This Month: $32 Target: $400
 8% 

Block player stopped when take damage.


Post New Thread Reply   
 
Thread Tools Display Modes
alan_el_more
Veteran Member
Join Date: Jul 2008
Location: amxmodx-es.com
Old 09-05-2014 , 12:24   Re: Block player stopped when take damage.
Reply With Quote #11

m_flVelocityModifier value?
__________________
alan_el_more is offline
colossus
Member
Join Date: Sep 2013
Old 09-05-2014 , 13:20   Re: Block player stopped when take damage.
Reply With Quote #12

https://forums.alliedmods.net/showth...locityModifier
colossus is offline
FromTheFuture
Senior Member
Join Date: Jan 2013
Old 09-05-2014 , 15:37   Re: Block player stopped when take damage.
Reply With Quote #13

Quote:
Originally Posted by alan_el_more View Post
m_flVelocityModifier value?
1.0
FromTheFuture is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 09-06-2014 , 05:11   Re: Block player stopped when take damage.
Reply With Quote #14

Quote:
Originally Posted by FromTheFuture View Post
1.0
He asking for offset value..

Code:
float                      m_flVelocityModifier; /*   452     4 */
So (452 / 4) - 5 = 108
m_flVelocityModifier = 108

Set in Ham_TakeDamage post forward.
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019
yokomo is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 09-06-2014 , 05:12   Re: Block player stopped when take damage.
Reply With Quote #15

No, he asked the offset value.
@colossus, the offsets from the link you posted are full offsets ? If so, you can't use them with [g/s]et_pdata_[int/float]

@yokomo, can you explain the math. I understand why it's divided by 4, but why substracting 5 ? To obtain the windows offset ?
__________________

Last edited by HamletEagle; 09-06-2014 at 05:13.
HamletEagle is offline
alan_el_more
Veteran Member
Join Date: Jul 2008
Location: amxmodx-es.com
Old 09-06-2014 , 06:53   Re: Block player stopped when take damage.
Reply With Quote #16

https://forums.alliedmods.net/showpo...24&postcount=6
__________________
alan_el_more is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 09-06-2014 , 10:22   Re: Block player stopped when take damage.
Reply With Quote #17

Quote:
Originally Posted by HamletEagle View Post
No, he asked the offset value.
@colossus, the offsets from the link you posted are full offsets ? If so, you can't use them with [g/s]et_pdata_[int/float]

@yokomo, can you explain the math. I understand why it's divided by 4, but why substracting 5 ? To obtain the windows offset ?
Last time i remember Connor told me 5 is for player, and 4 is for weapon or entity.

m_flVelocityModifier is use for player right? yes absolutely.
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019
yokomo is offline
Reply


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


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