Jump to content

Help with simple script...


Recommended Posts

Hi! im making a simple script... but doesnt work fine...

function setCameraOnPlayerJoin() 
     fadeCamera(source, true, 5) 
     setCameraMatrix(source, 1468.8785400391, -919.25317382813, 100.153465271, 1468.388671875, -918.42474365234, 99.881813049316) 
addEventHandler("onPlayerJoin", getRootElement(), setCameraOnPlayerJoin) 
function IsLoged() 
addEventHandler("onPlayerLogin", getRootElement(), IsLoged) 

When player joins, it set the camera to vinewood sing, but when logins i want to set to the player doesnt work, why?

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