The rest of the code above doesn't matter, just imagine a ulx custom command that has two if statements, if something then Easy() and if something then Medium(), the only thing that works is the first function which is Easy()
Example below:
function Easy()
RunConsoleCommand("Say","e")
end
function Medium()
RunConsoleCommand("Say","e")
end
local example = ulx.command( "Voting", "ulx example"} )
example:help( "example" )
example:defaultAccess( ULib.ACCESS_ADMIN )
I need help getting passed this issue.
EDIT: I forgot to include elseif I just did a bunch of if statements.