Raised This Month: $ Target: $400
 0% 

Get xyz coords as for RadiusDamage


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-19-2015 , 02:20   Re: Get xyz coords as for RadiusDamage
Reply With Quote #1

get_user_origin() will get you the location of a player. You'll have to convert the coordinates into floating point values before using them in radius_damage().

Alternatively, if you are already using fakemeta, you can use pev(ent, pev_origin, fOrigin) where fOrigin is a floating point array with 3 elements.
__________________
fysiks 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 22:11.


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