Advertisement
Guest User

Untitled

a guest
Dec 10th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. local function gethead( v )
  2.  
  3. if ( v:LookupBone( "ValveBiped.Bip01_Head1" ) ) then
  4.  
  5. local head = ( v:GetBonePosition( v:LookupBone( "ValveBiped.Bip01_Head1" ) ) )
  6. headpos = ( head - ply:GetShootPos() ):Angle()
  7.  
  8. return headpos
  9.  
  10. end
  11.  
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement