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?

( 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
Posted

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 

  Tutorials  4x 

 

Posted

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
Posted

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 

  Tutorials  4x 

 

Posted

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

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

Posted

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

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