Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // command name: SET_OBJECT_ROTATION
- // a different version like this exists in GTA VCS
- // what does it do?
- case 0x453:
- CRunningScript__CollectParameters(this, 4u);
- v4 = CPool_CObject__atHandle(ObjectPool, CollectiveArray[0].dwParam);
- // CWorld__Remove(&v4->__parent.__parent);
- v5 = *(float *)&CollectiveArray[3].dwParam * 0.01745329238474369;
- v6 = *(float *)&CollectiveArray[2].dwParam * 0.01745329238474369;
- v7 = *(float *)&CollectiveArray[1].dwParam * 0.01745329238474369;
- CPlaceable__setRotation(&v4->__parent.__parent.__parent, v7, v6, v5);
- /*
- CMatrix__updateRW((int)v4);
- CEntity__UpdateRwFrame(v4);
- CWorld__add(&v4->__parent.__parent);
- */
- return 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement