Raised This Month: $ Target: $400
 0% 

get attachment origin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
dias
BANNED
Join Date: Jul 2009
Location: South Vietnam
Old 04-20-2012 , 06:49   get attachment origin
Reply With Quote #1

PHP Code:
public get_attachment_origin(entattachmentFloat:Origin[3], Float:Angles[3])
{
       
engfunc(EngFunc_GetAttachmententattachmentOriginAngles)

This code is work. it gets Origin of attachment but get with Angles is 0.... Always is 0. if angles = 0.0 - 0.0 - 0.0. It's work great. but if i rotate player => angles change. it get origin with old angles (default angles: 0.0 - 0.0 - 0.0). How to get origin of attachment with custom angles ?

I want to get for entity. Code and example please

Last edited by dias; 04-20-2012 at 06:56.
dias is offline
Send a message via Yahoo to dias Send a message via Skype™ to dias
 



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 07:47.


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