DarkLink Posted June 24, 2011 Share Posted June 24, 2011 Okay guys, when I start my server now and joins, it doesnt do what was supposed to do.. Before, I had GUIs.. right at the event : onClientResourceStart Now that events arent triggering.. I didnt change anything at that place, I have no errors on console.. And I notice that its failing to connect to game-monitor when I try to run the server. I have all ports open, me and my friend can connect to the server. But its not doing things like was doing before.. The first things were the GUIs that appear right "onClientResourceStart". Thanks alot guys! Link to comment
AGENT_STEELMEAT Posted June 24, 2011 Share Posted June 24, 2011 Any errors in the console or debugscript? 100th post FTW. Link to comment
DarkLink Posted June 24, 2011 Author Share Posted June 24, 2011 Any errors in the console or debugscript?100th post FTW. Noo! This is strange.. Link to comment
DarkLink Posted June 24, 2011 Author Share Posted June 24, 2011 LOL! I discover it now that each function on lua files have a restriction of maybe 15 lines of code or so.. because I put more code in there today and didnt notice that the 'end' wasnt closing the function Now I delete some lines and 'end' is working on the function. Does this happen on lua functions ? can only have a few lines of code? thanks. Link to comment
Wojak Posted June 24, 2011 Share Posted June 24, 2011 There are no such limits in lua, you made a typo somewhere (as you know one misplaced letter can change much). You did not see the error in the server console, becouse client scriprs are runed by client, not the server... Use "/debugscript 3" command in game, you can also check the debug log ".../MTA San Anderas/MTA/clientscript.text" - the file collects errors from all servers you visited - it will be very large Link to comment
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