Hello guys..
I just found out my AssMod isn't working anymore after the update?
This worked just fine before?
This is the error I get:
[CODE][ERROR] attempt to call global 'PCallError' <a nil value>
1. ASS_RunPluginFunction - addon/assmod/lua/ass_plugins.lua:35
-->[/CODE]
On line 35 in ass_plugins:
[CODE]function ASS_RunPluginFunction( NAME, DEF_RETURN, ... )
for _,plugin in pairs(Plugins) do
if (plugin[NAME]) then
[U]local err, ret = PCallError( plugin[NAME], unpack(arg) )[/U] <--- This is line 35..
if (ret != nil) then
return ret
end
end
end
return DEF_RETURN
end[/CODE]
Any ideas?
Pcall has been removed, Just do..
[lua]if !plugin then return end // under the for k,v in pairs
[/lua]
[QUOTE=NinjaS;38009967]Pcall has been removed, Just do..
[lua]if !plugin then return end // under the for k,v in pairs
[/lua][/QUOTE]
Thanks.
Ontop of that, there is already a thread for assmod. Next time, just post on the other forum if you have a simple question to ask.
Sadistic Slayer is working on Assmod for Garry's Mod 13:
[url]http://facepunch.com/showthread.php?t=1144705[/url]
Sorry, you need to Log In to post a reply to this thread.