adri1

Untitled

Mar 27th, 2015
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 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("%f, %f, %f, %f, %f, %f", pos[0], pos[1], pos[2], rot[0], rot[1], rot[2]);
Advertisement
Add Comment
Please, Sign In to add comment