Hello,
I need every job table created on my server and I'm wondering what would be the best way?
Maybe DarkRP.getSortedChatCommands() which will give the table containing all chat commands and then DarkRP.getJobByCommand() which will return the job table.
I could search in the commands table which command description starts with "Become" and then I would know which commands are for jobs, but this seems really stressfull.
Is there any better way to get what I want?
Isnt the job table a global variable anyways..? You could just loop through it right? O_o
[lua]team.GetAllTeams()[/lua]
[code]
for k,v in pairs(RPExtraTeams) do
end
[/code]
[QUOTE=Nick78111;49170818][code]
for k,v in pairs(RPExtraTeams) do
end
[/code][/QUOTE]
Exactly what I want; thanks! :)
Sorry, you need to Log In to post a reply to this thread.