I've decided to come back to lua coding after taking about a years break, and it appears the entire lua execution system is different.
[IMG]http://puu.sh/5K8Tq.png[/IMG]
1. Why can't gmod find the hud.lua file?
2. What the hell is the point of autorun if sv_cheats has to be enabled to run clientside lua? (considering it has to be enabled AFTER the file would be executed)
[editline]asd[/editline]
[b]This is solved, thanks to RobotBoy[/b]
1. Are you sure your GMod installation is still in vypr11/garrysmod and not in common/GarrysMod?
2. The point of autorun is to automatically run any script you put into it, sv_cheats doesn't need to be enabled for it. It is only needed for the console command.
Ahh, okay I wasn't aware of the new installation file path changes. Thanks man! All works well now. Basically the reason I was under the impression sv_cheats had to be enabled to run ANY clientside lua that isnt native to gmod.
Sorry, you need to Log In to post a reply to this thread.