Raised This Month: $ Target: $400
 0% 

Get Player Shot angle


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 10-14-2013 , 06:25   Re: Get Player Shot angle
Reply With Quote #1

Because FM_TraceLine gives you Float vectors not integer vectors. write_coord() is for integer vectors. You need to use EngFunc_WriteCoord .
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
Phant
Veteran Member
Join Date: Sep 2009
Location: New Jersey
Old 10-14-2013 , 06:41   Re: Get Player Shot angle
Reply With Quote #2

Quote:
Originally Posted by hornet View Post
Because FM_TraceLine gives you Float vectors not integer vectors. write_coord() is for integer vectors. You need to use EngFunc_WriteCoord .
Thanks, its works now.

Back to topic. Who can help with getting weapon shot angle (2 Float values)?
Phant is offline
Send a message via ICQ to Phant
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:18.


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