Good day everyone,
I have recently started playing Garry's Mod again and created a server with TTT from back in March. All of my custom weapons worked then, but now GMOD 13 has released, causing most of my lua to error. I can get the trip-mine to spawn, drop, etc. When I go to plant the mine, it results in the following error:
[lua][ERROR] lua/includes/modules/timer.lua:214: timer.Simple - called wrong![/lua]
Furthermore, I have messed around with it, I couldn't find what to replace the line of code to. Here is the part of my mine's shared.lua
[lua]
if CLIENT then
self.DrawText = false
timer.Simple(4,function(ent)
if ValidEntity( ent ) then
ent.DrawText = true
end
end, self)
end
end
[/lua]
I appreciate any effort of help, thanks in advance :-)
[QUOTE=Apozen;38233995]Good day everyone,
I have recently started playing Garry's Mod again and created a server with TTT from back in March. All of my custom weapons worked then, but now GMOD 13 has released, causing most of my lua to error. I can get the trip-mine to spawn, drop, etc. When I go to plant the mine, it results in the following error:
[lua][ERROR] lua/includes/modules/timer.lua:214: timer.Simple - called wrong![/lua]
Furthermore, I have messed around with it, I couldn't find what to replace the line of code to. Here is the part of my mine's shared.lua
I appreciate any effort of help, thanks in advance :-)[/QUOTE]
[lua]
if CLIENT then
self.DrawText = false
timer.Simple(4,function()
if ValidEntity(self) then
self.DrawText = true
end
end)
end
end
[/lua]
Sorry, you need to Log In to post a reply to this thread.