Wei Posted July 18, 2012 Posted July 18, 2012 How can I make this work ? veh = createVehicle( 411, 1124.53772, -1459.35596, 15.79688 ) function lol ( source ) setCameraTarget( source, veh ) end addCommandHandler("t", lol )
Wei Posted July 19, 2012 Author Posted July 19, 2012 function carCamera(source) fadeCamera(source, true, 5) setCameraMatrix(source, 1121.64282, -1449.44080, 22.49406, 1124.53772, -1459.35596, 15.79688, 0, 180, 180) showPlayerHudComponent( source, "radar", false ) showCursor( source, true ) end how can I spawn back player ?
AMARANT Posted July 19, 2012 Posted July 19, 2012 What do you mean by "spawn back"? If you're talking about setting camera back to player then you can use: setCameraTarget(source,source)
Anderl Posted July 19, 2012 Posted July 19, 2012 function carCamera(source) fadeCamera(source, true, 5) setCameraMatrix(source, 1121.64282, -1449.44080, 22.49406, 1124.53772, -1459.35596, 15.79688, 0, 180, 180) showPlayerHudComponent( source, "radar", false ) showCursor( source, true ) end how can I spawn back player ? Note that this won't follow the car.
Wei Posted July 19, 2012 Author Posted July 19, 2012 I don't want to follow it... I've finished this resource
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