Jump to content

A little help with setCameraMatrix


Franky

Recommended Posts

Posted

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

Do i have to spawn the player first?

Does this function even work?

First i tried to make it myself but then i just copied it from the wiki.

I just downloaded a new mta from the mta's homepage. i think i should be v1.0

Posted

FYI, the latest "really released" version is DP2.3 which is why you find it under the download section of the home page. To get 1.0 you can either go to nightly.multitheftauto.com. Some other files from http://code.google.com/p/multitheftauto/ will be required.

Do NOT PM ME for help unless invited. - New MTA Script Editor

Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.

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