AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Getting Player Origins (Head & Feet) (https://forums.alliedmods.net/showthread.php?t=143474)

shadow.hk 11-20-2010 10:52

Getting Player Origins (Head & Feet)
 
Pretty much as the topic title says, how could you get the player's origin at the top of the head and feet.

I'm guessing you should get the exact units for adding/subtracting after using 'get_user_origin', so if anyone knows the units it would be greatly appreciated.

Bugsy 11-20-2010 11:45

Re: Getting Player Origins (Head & Feet)
 
Take a look here.

shadow.hk 11-20-2010 13:30

Re: Getting Player Origins (Head & Feet)
 
Thanks, I'll give that a try.

Just out of curiosity... engfunc is just a replicated function of the engine module, right?

Bugsy 11-20-2010 14:11

Re: Getting Player Origins (Head & Feet)
 
http://www.amxmodx.org/funcwiki.php?go=func&id=617

shadow.hk 11-20-2010 14:14

Re: Getting Player Origins (Head & Feet)
 
Ok, well only asking since there always seems to be an engine equivalent function.

wrecked_ 11-21-2010 03:58

Re: Getting Player Origins (Head & Feet)
 
Quote:

Originally Posted by Bugsy (Post 1353024)
Take a look here.

That's really cool.

Thanks for the info, I'll be using that type of full-body checking sooner or later. ^__^


All times are GMT -4. The time now is 11:14.

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