Author Topic: Where is the syntax error?  (Read 2457 times)

Sorry, I hate brackets. This should work
I can't tell because the formatting is a mess, but it looks like there's still multiple elses on the same level

Also, op, instead of saying "help there's an error somewhere in this giant script", give us the line number and error message that the console reports

Alright, that is fixed.
Except that it doesn't work.
It shows no syntax errors, but it says 0 datablocks.
When i shoot bots nothing is happening.

Alright, that is fixed.
Except that it doesn't work.
It shows no syntax errors, but it says 0 datablocks.
When i shoot bots nothing is happening.
Did you actually exec the script that you put the datablocks in?

All of this is in server.cs.
I don't know how to exec these...

Post the full code.

Post the full code.
The full code is on the first page.
I replaced the code Jervan gave me.
The package is activated like it says in the console.
But still, 0 datablocks loaded.

Put the datablocks into a file called datablocks.cs and then exec("./datablocks.cs"); in server.cs and see if you get syntax in server.cs after that