Garry's Mod Leaks

[LEAK] Job Ranks System Customizable [NEW]

Submitted by Ebygor, , Thread ID: 66110

Thread Closed
Ebygor
Newbie
Level:
0
Reputation:
0
Posts:
18
Likes:
22
Credits:
1.34K
21-12-2017, 12:21 PM
#1
Job Ranks System Customizable
[Image: 0e9f3a73723592e0b437a2f3eb0a109a.png]
[Image: 1656d443be92937297b620ec9d6b57b8.png&w=1...output=jpg][Image: 31bbfea7b0e351dfbe47355e3e912eeb.png&w=1...output=jpg][Image: 71c6987a9e9c7015afeefd34304a2887.png&w=1...output=jpg]

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

[Image: a10e712d190d5b579fc4ee44b9afb7c4.png]
[Image: 0e808db70f459ede115f3fc246f71ea7.png]
[Image: b747b37c4a422f23023a03e7a3e9f048.png]

Content locked
This content has been locked. Please login or register in order to unlock it.

This hidden content has been reported as still working 0 times this month.
5 times in total

Users browsing this thread: 14 Guest(s)