• Jobs are messed up and so is the Ilya's Scoreboard with displaying staff on the side.
    7 replies, posted
Removed
Not entirely sure what you're asking for? You want the job "Staff Member On Duty" to show on the scoreboard instead of the moderator rank? Please explain. [editline]14th June 2015[/editline] First of all IsMentor(), IsMod(), etc aren't valid. Instead use IsUserGroup() for the ranks that aren't admin and superadmin. [Code] function ILSB:GetPlayerTag( ply ) if ply:IsSuperAdmin() then return "SUPERADMIN" end if ply:IsAdmin() then return "ADMIN" end if ply:IsUserGroup("owner") then return "OWNER" end if ply:IsUserGroup("moderator") then return "MOD" end if ply:IsUserGroup("mentor") then return "MENTOR" end if ply:SteamID() == "" then return "ILYA" end end [/Code] Also, Make sure that you add the ranks you want added to the admin buttons in this functino. [Code] function ILSB:HasAccessToAdminButtons( ply ) if ply:IsUserGroup('owner') then return true end [/Code] If you need anymore help or questions, feel free to pm me or add me on steam.
[QUOTE=BanLorenzo;47957978]Not entirely sure what you're asking for? You want the job "Staff Member On Duty" to show on the scoreboard instead of the moderator rank? Please explain. [editline]14th June 2015[/editline] First of all IsMentor(), IsMod(), etc aren't valid. Instead use IsUserGroup() for the ranks that aren't admin and superadmin. [Code] function ILSB:GetPlayerTag( ply ) if ply:IsSuperAdmin() then return "SUPERADMIN" end if ply:IsAdmin() then return "ADMIN" end if ply:IsUserGroup("owner") then return "OWNER" end if ply:IsUserGroup("moderator") then return "MOD" end if ply:IsUserGroup("mentor") then return "MENTOR" end if ply:SteamID() == "" then return "ILYA" end end [/Code] Also, Make sure that you add the ranks you want added to the admin buttons in this functino. [Code] function ILSB:HasAccessToAdminButtons( ply ) if ply:IsUserGroup('owner') then return true end [/Code] If you need anymore help or questions, feel free to pm me or add me on steam.[/QUOTE] Ah sorry. I'm unable to use the job 'Staff on Duty'. The only rank where the job shows up is 'superadmin' and not mod, admin, owner and even then if I try and make myself that job it doesn't trigger. I'd like to try and fix it.
[QUOTE=Lewis111;47958279]Ah sorry. I'm unable to use the job 'Staff on Duty'. The only rank where the job shows up is 'superadmin' and not mod, admin, owner and even then if I try and make myself that job it doesn't trigger. I'd like to try and fix it.[/QUOTE] Just make it admin = 0 I've never experimented with admin = 1 jobs, so I'd just take it off. If admin = 0 takes the job out of your f4 menu, just make a chat command that does ulx setjob ^ Staff On Duty Let me know how it goes.
[QUOTE=BanLorenzo;47958325]Just make it admin = 0 I've never experimented with admin = 1 jobs, so I'd just take it off. If admin = 0 takes the job out of your f4 menu, just make a chat command that does ulx setjob ^ Staff On Duty Let me know how it goes.[/QUOTE] The Owner rank can now be the job but for the rest of them it doesn't appear in job menu.
[QUOTE=Lewis111;47958622]The Owner rank can now be the job but for the rest of them it doesn't appear in job menu.[/QUOTE] Set yourself to the ranks that don't have access then rejoin the server just to make sure it's registering you as the new rank.
[QUOTE=BanLorenzo;47958701]Set yourself to the ranks that don't have access then rejoin the server just to make sure it's registering you as the new rank.[/QUOTE] Alright thank you. I've sent you a steam friend request.
What a classy way of saying "Can someone make this for me".
Sorry, you need to Log In to post a reply to this thread.