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

Solved [ H3LP ] Distance to ground


Post New Thread Reply   
 
Thread Tools Display Modes
CrazY.
Veteran Member
Join Date: May 2015
Location: Brazil 🇧🇷
Old 09-13-2018 , 14:31   Re: [ H3LP ] Distance to ground
Reply With Quote #11

My entity origin is set on player aim origin.

Code:
static pevOwner; pevOwner = entity_get_edict(this, EV_ENT_owner); entity_get_vector(pevOwner, EV_VEC_origin, vecStart); entity_get_vector(pevOwner, EV_VEC_view_ofs, vecViewOfs); velocity_by_aim(pevOwner, 72, vecVelocity); xs_vec_add(vecStart, vecViewOfs, vecStart); xs_vec_add(vecStart, vecVelocity, vecEnd); entity_set_origin(this, vecEnd);
__________________
Working with $$$ paid plugins. Contact below (ONLY FOR NEGOTIATIONS)
  • Skype: crazy.770
  • Steam: crazy770
  • Discord: CrazY.#5317
Check my Aliens vs. Predator: currently offline

I hate motherfuckers slowhacks!!!G]
CrazY. is offline
Ghosted
Senior Member
Join Date: Apr 2015
Location: Georgia
Old 09-13-2018 , 14:33   Re: [ H3LP ] Distance to ground
Reply With Quote #12

then do same thing by that entity (traceline)?
__________________

[MOD] CS Weapon Mod V1.6.1 (100%) [Next Update - N/A](Report )

MetaMod-C (44%)
N/A

Donate [/B]

Last edited by Ghosted; 09-13-2018 at 14:33.
Ghosted 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 00:38.


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