[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?
Moderators IIYAMA Posted March 31, 2015 Moderators Posted March 31, 2015 Is that file name valid? Afaik this should be visible in your console.
[PXG]Blue Posted March 31, 2015 Author Posted March 31, 2015 well the file name is 0 so it should be..
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.
[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.
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!
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