I normally hate the plethora of DarkRP help threads we get here, but I cannot see why this isn’t working.
I’ve been looking at Falcos DarkRP 2.5 code and trying to edit the hell out of it without touching the core gamemode files. And to be fair he’s not done bad, you can edit a lot without touching the core files. And while this is normally true for a lot of things, he’s actually gone a long way to making this easier for non coders to understand. Although having his removing true on a few hooks doesn’t make that easier for them.
Anyway my issue is with RequiresVote, If I return true to this job variable it tells me “This job does not required a vote at the moment”, but only when using the F4menu - not the chat commands.
RequiresVote = function(ply, job) return not testvar end,
Default non edited gamemode pulled from git this morning, ply:IsSupporter(). If i return false then I get the notifications about not requiring a vote at this time, no job change is issued, returning true and you get the standard player vote.