Ok, I haven’t coded in a long time and I am returning to GMod13. (Which has a tonne of lua changes/updates)
My timer has stopped working.
Here is the timer I have as an example:
[lua] if SERVER then
Here is the error the console now prints:
Timer Failed! [Simple][@gamemodes/darkrp/entities/weapons/lockpick/shared.lua (line 113)
The SWEP works perfectly, it’s just this console command prints every time I click with it.
How would I go about correcting this to work with Garry’s new timer format?
Can anyone help me out with this?
Massive thank-you in advance for any info/help.
Ok, I tried this and it still refuses to work.
[lua]if SERVER then
timer.Simple( 1.5, function() whatlol end );