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

[Help] Initial Yaw - TE_MODEL


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dias
BANNED
Join Date: Jul 2009
Location: South Vietnam
Old 03-13-2014 , 19:10   [Help] Initial Yaw - TE_MODEL
Reply With Quote #1

I need a stock that converts Vector/Angles -> Initial Yaw
Could someone help ?, i need the created model aim to where it goes

PHP Code:
       for(....)
       {

       new 
Float:Start[3], Float:End[3], Float:Velocity[3]
       
Get_SpeedVector(StartEnd500.0Velocity)

        
message_begin(MSG_BROADCASTSVC_TEMPENTITY)
        
write_byte(TE_MODEL)
        
engfunc(EngFunc_WriteCoordStart[0])
        
engfunc(EngFunc_WriteCoordStart[1])
        
engfunc(EngFunc_WriteCoordStart[2])
        
engfunc(EngFunc_WriteCoordVelocity[0])
        
engfunc(EngFunc_WriteCoordVelocity[1])
        
engfunc(EngFunc_WriteCoordVelocity[2])
        
write_angle(...?...) // Initial Yaw
        
write_short(g_SprId_Spear)
        
write_byte(0)
        
write_byte(5)
        
message_end()

       } 
My idea is making it like this:

Last edited by dias; 03-13-2014 at 19:34.
dias is offline
Send a message via Yahoo to dias Send a message via Skype™ to dias
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 20:22.


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