Garry's Mod Leaks
[LEAK] Job Ranks System Customizable [NEW]
Submitted by Ebygor, 21-12-2017, 12:21 PM, Thread ID: 66110
Thread Closed
RE: [LEAK] Job Ranks System Customizable [NEW]
04-02-2020, 11:31 PM
#32 thanks for this21-12-2017, 12:21 PMEbygor Wrote:Job Ranks System Customizable
ONLY WORKS FOR DARKRP
You require LUA knowledge in order to make this work with other gamemodes.
Please leave feedback and suggestions in the comments area!
Description
This addon adds a rank system for jobs of your choosing. It's a sort of a progression system within the jobs based on your playtime (in that specific job).
Features
Customizeable simple HUD for displaying rank and progression to next rank
Setup permission to allow promotions/demotions by specific ranks
Disable timeprogression on certain jobs and allow only to be demoted/promoted
Progressing as you play as different jobs
Display Job icons above players head (Such as military emblem ranks)
Bonus salary (Either in amount or percent), Health and Armor bonus
Equipment bonus depending on rank
Custom model, bodygroup and skin depending on rank
Rank requirement to buy specific entities or shipments
Rank requirement to join specific jobs
Restrict warranting and wanting to ranks
Prefix depending on rank
Automatic promotion system
bLogs and ezJobs Support
All saved and loaded through SQLite
jobranks_setrank (Nick) (Rank ID)
Sets a specific rank to the found players current team.
jobranks_addpt (Nick) (Amount)
Adds X experience/playtime to a specific player
Setup
Extract the "jobrankssystem" folder into your addon folder.
Here are the functions that you can use:
PLAYER:GetJobRank()
Returns current rank as a number
PLAYER:GetJobRankPT()
Returns current playtime in seconds
PLAYER:GetJobRankName()
Returns current rank name
PLAYER:GetJobRankPrefix()
Returns current prefix
PLAYER:TimeUntilPromo()
Returns time left until promotion as a string
PLAYER:AddRankPT(Amount, Reason)
Adds X experience/playtime to that player, has support for a custom reason, if blanked out it will just notify you received experience. For example: Player:AddRankPT(100, "from an admin") or Player:AddRankPT(100)
Configs
Content has been stripped. Go to the quoted post to view the content.
Users browsing this thread: 21 Guest(s)