Lloyd Logan Posted January 12, 2014 Posted January 12, 2014 Why doesn't this set the matrix of the camera? (CLIENT) function cmatrix() setCameraMatrix(2056.1774902344,1181.1239013672,56.897701263428,2057.064453125,1180.6881103516,56.744400024414,0,70) end addEventHandler("onClientPlayerJoin", cmatrix) If you need an Intermediate scripter feel free to PM me as I will accept "almost" any job, STATUS: UNAVAILABLE SCOTLAND, my hometown, and the Home of GTA!
Moderators IIYAMA Posted January 12, 2014 Moderators Posted January 12, 2014 Because it will trigger for all players except for your self. Also you forgot to define the root element. Use: addEventHandler("onClientResourceStart",resourceRoot, cmatrix) Also: fadeCamera(true) Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Lloyd Logan Posted January 12, 2014 Author Posted January 12, 2014 Because it will trigger for all players except for your self. Also you forgot to define the root element.Use: addEventHandler("onClientResourceStart",resourceRoot, cmatrix) Thanks! I didn't know I needed the resourceRoot though! If you need an Intermediate scripter feel free to PM me as I will accept "almost" any job, STATUS: UNAVAILABLE SCOTLAND, my hometown, and the Home of GTA!
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