farse Posted April 25, 2015 Share Posted April 25, 2015 (edited) How can I set the camera to look in front of the player(where the ped is "looking"/rotation)? I'm currently editing Native Trainer, and I want to reset camera after a person load the saved position, but I didn't find nothing helpful. Anybody any ideas? Edited April 25, 2015 by farse Link to comment Share on other sites More sharing options...
craash Posted April 25, 2015 Share Posted April 25, 2015 (edited) Please take look on nativeDB: CAM::SET_GAMEPLAY_CAM_RELATIVE_HEADING CAM::SET_GAMEPLAY_CAM_RELATIVE_PITCH Set both of these to 0 float in all the arguments, cam should now reset to default position. Also, I suggest you to read and understand the native scripts from: http://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/ Download the natives ZIP, decompress and read through some of the files and look up the function on NativeDB. It should help you understand more. Edited April 25, 2015 by craash farse 1 Link to comment Share on other sites More sharing options...
farse Posted April 25, 2015 Author Share Posted April 25, 2015 (edited) craash : thank you so much ! Edited April 25, 2015 by farse Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now