adri1

Untitled

Mar 27th, 2015
323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. new Float:p[3], Float:r[3], Float:pos[3], Float:rot[3];
  2. GetObjectPos(TBRINFO[Last][OBJID], p[0], p[1], p[2]);
  3. GetObjectRot(TBRINFO[Last][OBJID], r[0], r[1], r[2]);
  4. AttachPoint(offs[0], offs[1], offs[2], rots[0], rots[1], rots[2], p[0], p[1], p[2], r[0], r[1], r[2], pos[0], pos[1], pos[2], rot[0], rot[1], rot[2]);
  5. printf("OFFSETS: %f, %f, %f, %f, %f, %f POSITIONS: %f, %f, %f, %f, %f, %f RETURNS: %f, %f, %f, %f, %f, %f", offs[0], offs[1], offs[2], rots[0], rots[1], rots[2], p[0], p[1], p[2], r[0], r[1], r[2], pos[0], pos[1], pos[2], rot[0], rot[1], rot[2]
  6.  
  7. PRINTS
  8.  
  9. OFFSETS: 10.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000 POSITIONS: 1944.219970, 1347.134277, 28.898067, 0.000000, 0.000000, 0.000000 RETURNS: 10.000000, 0.000000, 0.000000, 0.000000, 0.000007, 0.000000
Advertisement
Add Comment
Please, Sign In to add comment