Jump to content

[HELP] Reset SetCameraMatrix


Firespider

Recommended Posts

Hello! I had a problem and I would like to solve it if the player presses it
backspace on the keyboard, the camera view is restored, but I can't solve it. I tried Destroy Element, but it's not good. Thanks in advance if anyone can help!
 
 
 
function OpenWindow()
if (page == 1) then
setPlayerHudComponentVisible("all", false)
showChat(false)
 camera = setCameraMatrix( 2149.77148, -1148.25977, 24.41226)
 Veh1 = createVehicle(402, 2154.45996, -1153.21362, 23.87550)
bindKey("BACKSPACE", "Down", function() destroyElement(camera) end) 

end
end

 

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...