Need help with script compilation error

Error [mod0000_mergedfiles]game\player\playerinput.ws(3401): 'event' has no sense for global function 'OnToggleHud'.

Error [mod0000_mergedfiles]game\player\playerinput.ws(3414): 'public' has no sense for global function 'Debug_ClearAllActionLocks'.

I get those 2 errors upon script compilation.

The file in question:
https://pastebin.com/BHjxxpPz

This is after I got a bunch of errors caused by a fuck ton of duplicate code, managed to trim them out, its just these 2 errors remaining and idk much about coding.

Any help would be greatly appreciated.

Posted Nov 4, 2022, 1:27 AM UTC

41
Loading comments…