TheIceman1 Posted February 18, 2013 Posted February 18, 2013 Its when i turn on fadeCamera: function setCameraOnPlayerJoin() fadeCamera( source, true ) setCameraMatrix( source, 1468.8785400391, -919.25317382813, 100.153465271, 1527.7, -1685.8, 99.881813049316 ) end addEventHandler("onPlayerJoin", getRootElement(), setCameraOnPlayerJoin) Its when i need turn off FadeCamera: function spawnsf() setElementPosition ( source, 0, 0, 1 ) fadeCamera( source, false ) end addEvent("spawnsf",true) addEventHandler("spawnsf", root, spawnsf) Need paid scripter just pm me i will accept every job!
K4stic Posted February 18, 2013 Posted February 18, 2013 don't sure but try: function spawnsf() setElementPosition ( source, 0, 0, 1 ) fadeCamera( source, true ) end addEvent("spawnsf",true) addEventHandler("spawnsf", root, spawnsf) Giving a Fuck? Nope, That isn't in My Skill Set
TheIceman1 Posted February 18, 2013 Author Posted February 18, 2013 don't sure but try: function spawnsf() setElementPosition ( source, 0, 0, 1 ) fadeCamera( source, true ) end addEvent("spawnsf",true) addEventHandler("spawnsf", root, spawnsf) Nothing,but in console it says:Loginsystem/server.lua:29:Access denied @ "addAccount" Loginsystem/server.lua:30:Bad argument @ "logIn"[Expected account at argument 2, got nil] function registerHandler(username, password) local account = getAccount(username, password) if (account ~= false) then else account = addAccount(username, password) if (logIn(source, account, password) == true) then triggerClientEvent(source, "hideRegisterWindow", getRootElement()) end end end addEventHandler("submitRegister", root, registerHandler) Need paid scripter just pm me i will accept every job!
csiguusz Posted February 18, 2013 Posted February 18, 2013 Add resource to Admin group in the ACL. Owner of [HUN]Magyar Play Szerver 1.4, IP: 31.220.43.153:22003
TheIceman1 Posted February 18, 2013 Author Posted February 18, 2013 Add resource to Admin group in the ACL. I did. Need paid scripter just pm me i will accept every job!
PaiN^ Posted February 18, 2013 Posted February 18, 2013 Make sure that all functions are set to true .. " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
TheIceman1 Posted February 18, 2013 Author Posted February 18, 2013 Nothing,but in console it says:Loginsystem/server.lua:29:Access denied @ "addAccount"Loginsystem/server.lua:30:Bad argument @ "logIn"[Expected account at argument 2, got nil] function registerHandler(username, password) local account = getAccount(username, password) if (account ~= false) then else account = addAccount(username, password) if (logIn(source, account, password) == true) then triggerClientEvent(source, "hideRegisterWindow", getRootElement()) end end end addEventHandler("submitRegister", root, registerHandler) Its fixed. Its problem,fade camera isnt removed. function spawnsf() setElementPosition ( source, 0, 0, 1 ) fadeCamera( source, true ) end addEvent("spawnsf",true) addEventHandler("spawnsf", root, spawnsf) Need paid scripter just pm me i will accept every job!
Fury Posted February 18, 2013 Posted February 18, 2013 function setCameraOnPlayerJoin() fadeCamera( source, false ) setCameraMatrix( source, 1468.8785400391, -919.25317382813, 100.153465271, 1527.7, -1685.8, 99.881813049316 ) end addEventHandler("onPlayerJoin", getRootElement(), setCameraOnPlayerJoin) function spawnsf() setElementPosition ( source, 0, 0, 1 ) fadeCamera( source, true ) end addEvent("spawnsf",true) addEventHandler("spawnsf", root, spawnsf) Destruction Derby
TheIceman1 Posted February 18, 2013 Author Posted February 18, 2013 function setCameraOnPlayerJoin() fadeCamera( source, false ) setCameraMatrix( source, 1468.8785400391, -919.25317382813, 100.153465271, 1527.7, -1685.8, 99.881813049316 ) end addEventHandler("onPlayerJoin", getRootElement(), setCameraOnPlayerJoin) function spawnsf() setElementPosition ( source, 0, 0, 1 ) fadeCamera( source, true ) end addEvent("spawnsf",true) addEventHandler("spawnsf", root, spawnsf) Fixed. Need paid scripter just pm me i will accept every job!
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