papam77 Posted February 24, 2013 Posted February 24, 2013 Hello how can make this changing ? https://www.youtube.com/watch?v=2X4D_4Qi ... e=youtu.be
Jaysds1 Posted February 25, 2013 Posted February 25, 2013 If you are using the 'race' gamemode then you could try using these events triggered by the race resource: https://wiki.multitheftauto.com/wiki/Res ... ace#Server and for the camera, use this: setCameraMatrix setTimer --Use this to keep moving in every second
Jaysds1 Posted February 25, 2013 Posted February 25, 2013 Example: This would zoom in from above and go down every second. [lua]local z = 200 setCameraMatrix(0,0,z,0,0,0) --set the camera from 200 ft above the ground setTimer(function() z = z - 1 setCameraMatrix(0,0,z,0,0,0) end,1000,200) --every 1000ms/1sec the camera would zoom in
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