I said that setCameraMatrix will never have a feature for moving mouse. Freecam resource does this moving mouse (camera and player too!), all you have to do is remove the movement of camera and only the mouse movement left. Why not do some REAL work instead of relying on the functions MTA make?
1) Second video blocked
2) Cool, but not very useful
3) Could be used as a utility in utility resources [for example, creating a gate by defining start[localPlayer] and end[ped])
onClientMouseMove, move the object. Then in the onClientPreRender, do this:
local ox, oy, oz = getElementPosition(object)
setCameraMatrix(x,y,z, ox, oy, oz)
setPedLookAt
Instead, create a object, move it on prerender, moving the mouse moves the object. and have the lookat (ped and camera) point towards the object.
WARNING!
Don't install this if you don't want lag on your server!
Please upload to the community center (community.multitheftauto.com)
Please make the code client side.
https://community.multitheftauto.com/ind ... ls&id=5260
https://community.multitheftauto.com/index.php?p= ... ls&id=1178 - polish variant of existing resource (should add that to the list, or a better idea would be to intergrate multiple language resources into the same resource id)
DONE