Jump to content

[REQ] SafeZone & Login Camera Angle


Stones

Recommended Posts

So firsly, i'd like to change the location of my camera when you log into the server.

addEventHandler("onClientResourceStart", resourceRoot,  
    function () 
        build_loginWin() 
        guiSetVisible(background_front,false) 
        showLoginWindow(true) 
        guiSetInputMode("no_binds_when_editing") 
        --playSound("winsound.mp3") 
        fadeCamera (true)  
        setCameraMatrix(1468.8785400391, -919.25317382813, 100.153465271, 1468.388671875, -918.42474365234, 99.881813049316) 
        triggerServerEvent("requestServerNews", localPlayer)     
    end 

I know it's somthing to do with that part ^^

And the last thing is, how would i create a area so that players are unable to use weapons, like a safezone from WarZ

Link to comment

The login pannel works, it's the actually camera angle that i want to change

I know this is the position of the camera setCameraMatrix(1468.8785400391, -919.25317382813, 100.153465271

But it's the second 1468.8785400391, -919.25317382813, 100.153465271 , i don't know what to change to make it face north south east or west

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...