Author Topic: The console doesn't tell me where my syntax error is  (Read 367 times)

/Title

Code: [Select]
Loading Add-On: Weapon_OriginalRL
exec: invalid script file Add-Ons/Weapon_OriginalRL/Weapon_Rocket Launcher.cs.
ADD-ON "Weapon_OriginalRL" CONTAINS SYNTAX ERRORS

Heres the script

It tells you that you have written the file name wrong.

In your server.cs, you currently have this line:
Code: [Select]
exec("./Weapon_Rocket Launcher.cs");But due to the file you included, it should be something like this:
Code: [Select]
exec("./Weapon_OriginalRL.cs");However, I guess that is not the real name of the script. Either way, try to stay away to have whitespace characters, like space, in your filenames.