Changing Vehicle Camera Offset ingame
-
Hi,
Is it possible to change the Vehicle Camera Offset ingame while in a vehicle?
(i mean that line: <PovCameraOffset x="0.000000" y="-0.47000" z="0.700000" />)Is there a script for that existing already or something else?
In the Natives Database, i found the following:
CAM::SET_CAM_COORD
Hashes: 0x4D41783FB745E42E 0x7A8053AF
void SET_CAM_COORD(Cam cam, float posX, float posY, float posZ)
// 0x4D41783FB745E42E 0x7A8053AF
Sets the position of the cam.but how to use that in a script?
Do i just have to call the function and type the coordinates like that?
Native.Function.Call(Hash._0x4D41783FB745E42E, xxxxxx, 0.000000, -0.3, 0.6)Thanks for your help