I keep getting this error when joining my DarkRP Gamemode.
[code]
[ERROR] gamemodes/darkrp/gamemode/modules/base/sh_createitems.lua:591: attempt to index global 'disjoint' (a nil value)
1. AddAgenda - gamemodes/darkrp/gamemode/modules/base/sh_createitems.lua:591
2. unknown - gamemodes/darkrp/gamemode/config/jobrelated.lua:335
3. include - [C]:-1
4. unknown - gamemodes/darkrp/gamemode/cl_init.lua:36
[/code]
Please help.
What is disjoint supposed to be?
[QUOTE=G4MB!T;45607127]What is disjoint supposed to be?[/QUOTE]
[code]
DarkRPAgendas[Manager] = {Manager = Manager, Title = Title, Listeners = Listeners} -- backwards compat
agendas[Manager] = disjoint.MakeSet(DarkRPAgendas[Manager])
for k,v in pairs(Listeners) do
agendas[v] = disjoint.MakeSet(v, agendas[Manager]) -- have the manager as parent
end
[/code]
[editline]6th August 2014[/editline]
Fixed, I had too edit:
[code]
for k,v in pairs(Listeners) do
agendas[v] = disjoint.MakeSet(v, agendas[Manager]) -- have the manager as parent
end
[/code]
Fully fixed
Sorry, you need to Log In to post a reply to this thread.