Here's my code :
TEAM_hitman = AddExtraTeam("Hitman", -- Name
Color(238, 99, 99, 255), -- Team color
"models/player/odessa.mdl", -- Player model
[[Donator Only Job!!! Take money to assassinate other players.]], -- Job
description
{"keys", "pocket", "weapon_mad_usp"}, -- Weapons
"hitman", -- Command to become the job
2, -- Maximum amount of said job
45, -- Salary
0, -- Admin status
0, -- Has to vote
false, -- Has a license
nil, -- Needs to be job X in order to get this job
function(ply) return ply:GetNWString("EV_UserGroup") == "donator" or
ply:IsAdmin() end -- The extra check function. Enter nil or nothing to not have
an extra check
)
This function: function(ply) return ply:GetNWString("EV_UserGroup") ==
"donator" or ply:IsAdmin() end
Doesn't seems to work with the latest version of evolve ?
I can still be a hitman while being guest rank.
Any help???
Thanks
Original issue reported on code.google.com by dragongr...@gmail.com on 14 Mar 2012 at 8:03
Original issue reported on code.google.com by
dragongr...@gmail.com
on 14 Mar 2012 at 8:03