My favorites | Sign in
Project Home Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 434: Not able to make a DarkRP job donator only HELP!
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by dragongr...@gmail.com, Mar 14, 2012
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



Powered by Google Project Hosting