Jump to content

is MTA broken or am i just retarded?


[PXG]Blue

Recommended Posts

Posted

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
Posted

Try another name, it is the only possible/visible "thing" that might stop this script from starting.

Posted

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

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