Hey guys.
I paid 20$ to a scripter to script me something.
After he finished i paid him because he said it is working for him.
I installed it on my server, and had a few errors, asked him to fix, and he did.
Now there is one error, that he cant solve.
Somehow it is working on his server but not mine..
Anyways this is the error:
[CODE]Bad argument #1 to 'pairs' (table expected, got nil)[/CODE]
This is the lines.
[CODE]for _,b in pairs(faction[k].allowedteams) do
if(teamc == b and a != k) then
DarkRP.notify(ply, HUD_PRINTTALK, 5,"You need to be in the "..faction[k].name.." faction, to join this job");
return false;
elseif(teamc != b and a == k) then
DarkRP.notify(ply, HUD_PRINTTALK, 5,"You are in the "..faction[k].name.." faction, you can only use jobs in that faction");
return false;
elseif(teamc == b and a == k) then
return true;
end[/CODE]
never mind
Sorry, you need to Log In to post a reply to this thread.