[PXG]Blue Posted March 31, 2015 Posted March 31, 2015 meta: <meta> <script src="0.lua" type="client" /> </meta> script: function asgagasgg() outputChatBox("afmasfmasf", 255, 0, 0) end addEventHandler("onClientResourceStart", resourceRoot, asgagasgg ) Nothing, does not output anything, no error, wtf is this? ( Renamed from BeaTzZ to [PXG]Blue ) Looking for a Scripter that can make you free / Paid Scripts with a negotiable price? Look no further! add me on skype: phoenix_beatzz My GitHub
Moderators IIYAMA Posted March 31, 2015 Moderators Posted March 31, 2015 Is that file name valid? Afaik this should be visible in your console. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
[PXG]Blue Posted March 31, 2015 Author Posted March 31, 2015 well the file name is 0 so it should be.. ( Renamed from BeaTzZ to [PXG]Blue ) Looking for a Scripter that can make you free / Paid Scripts with a negotiable price? Look no further! add me on skype: phoenix_beatzz My GitHub
Moderators IIYAMA Posted March 31, 2015 Moderators Posted March 31, 2015 Try another name, it is the only possible/visible "thing" that might stop this script from starting. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
[PXG]Blue Posted March 31, 2015 Author Posted March 31, 2015 i tried multiple names, , such as: testtext.lua, steering.lua, handling.lua all with the same result, no result. ( Renamed from BeaTzZ to [PXG]Blue ) Looking for a Scripter that can make you free / Paid Scripts with a negotiable price? Look no further! add me on skype: phoenix_beatzz My GitHub
Addlibs Posted March 31, 2015 Posted March 31, 2015 Anything in the server console? Previously known as MrTasty.
Incama Posted March 31, 2015 Posted March 31, 2015 Meta: Lua: addEventHandler("onClientResourceStart", getRootElement(), function() outputChatBox("YEEEEEEY", 255, 0, 0,true) end) If that does not work turn on your debugscript and copy what is it saying
[PXG]Blue Posted March 31, 2015 Author Posted March 31, 2015 I "somehow" fixed it, weird. Thanks for your help! ( Renamed from BeaTzZ to [PXG]Blue ) Looking for a Scripter that can make you free / Paid Scripts with a negotiable price? Look no further! add me on skype: phoenix_beatzz My GitHub
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