Originahl-Scrtips ✔ Like 630 Recommande Page
☘️ Spring Offer -25% on all scripts 01/06/2018 --> 10/06/2018 🍀

ico Wiki : Job Whitelist system v4.2

Sales: 1492
Buyer Rating: ★★★★★
77 reviews (average 4.88/5)
nordahl
Author: Nordahl Script
Published: 2 years
Update : 4 months

ico No Need activation.

banner
Purchase
4.99 €
6.65 €



Actions


Sorry, you are not connected

Wiki

Question 1: How to configure the type of access to jobs?
From the menu, go to the list of jobs done by right clicking on a job and made your choice:

1. Public = The Job is accessible to everyone.
2. Whitelist = The Job is accessible only to those who are in the Whitelist.
3. Donator = The Job is only available to members who have a status of vip or donor.
4. Closed = The Job is not accessible.

Note: It is a choice are automatically saved and instant and you are free to change them at any time.


In this example we will enable the Whitelist on the job'Civil Protection Chief'

Question 2: Add someone connected in the Whitelist of a job. Method #1
When you open the menu of the Whitelist the first tab is the list of players logged in, made and right-click on a player and you will see the list of jobs, only configured.
Question 3: Add someone who is not connected to the server in the Whitelist of a job. Method #2
When you open the menu of the Whitelist go to the tab of the jobs configured, and enter the users of the player.
Question 4: Add someone from the menu_context. Method #3
When you open the menu of the Whitelist the first tab is the list of players logged in, made and right-click on a player and you will see the list of jobs, only configured.
Question 5: Add someone with a command server without being connected. Method #4
Caution keep the quotation mark:
Command:
Addwhitelist "Your name" "SteamID64" "Name of player" "Full Access" Addwhitelist "Nordahl Kurger" "76561198033784269" "Chuck Norris" "Civil Protection Chief"
Question 6: This is what the list Full_Access?
When a player is in the list Full_Access it will have access to all the jobs whitelsité.
Question 7: I would like to disable the system temporarily without uninstalling the script it is possible?
Yes, Easy.
Question 8: I have recorded more than 5000 users and I have 250 jobs I would like to find a user in the list to remove it how can I do?
In the search tab enter the users for the user you are looking for.
Question 10: I would like to Reset all the configuration it is possible?
A simple button. Or by command: 'MetajolistDe'
Question 11: Where to find the configuration File?
nordahl_whitelsit_job_system_darkrp\lua\autorun\ nordahl_whitelistjob_config.lua
Question 12: How to configure the ranks of donors?
In the file configuration, find the variable:
ULX_DONATOR_RANK={'donator','vip'}
If your ranks vip are renamed then replace its values with yours. Attention to capital letters and spaces, if you put a capital letter it is important.
You can put more ranks: you just need to follow this example: ULX_DONATOR_RANK={'donator','vip','vip2'}
Question 13: To configure keys F1-F4 to open the menu?
In the file configuration find the variable:
F1_to_Open_WHitelsitjob=0
F2_to_Open_WHitelsitjob=0
F3_to_Open_WHitelsitjob=0
F4_to_Open_WHitelsitjob=0
--0 = Disabled, If you want to open the menu with this key, replace the value by = 1
Question 14: How to Hide the Jobs for those who are not in the whitelist in the Menu F4?

Note:
EXAMPLE with a single trade: 'Civil Protection'
--2 2 Lines need to be added in jobrelated.lua:
1. Ligne 1: customCheck
2. Ligne 2: CustomCheckFailMsg = 'You are not in the withelist!',

TEAM_POLICE = DarkRP.createJob('Civil Protection', {
color = Color(25, 25, 170, 255),
model = {'models/player/police.mdl', 'models/player/police_fem.mdl'},
description = [[The protector of every citizen that lives in the city]],
weapons = {'arrest_stick', 'door_ram', 'weaponchecker'},
command = 'cp',
max = 4,
salary = GAMEMODE.Config.normalsalary * 1.45,
admin = 0,
vote = true,
hasLicense = true,
ammo = {
]'pistol'] = 60,
},
category = 'Civil Protection',
customCheck = function(ply) if CLIENT then return PlychangeAllowed(ply,'Civil Protection') else return true end end, --Respectez les majuscules et les espaces!!!
CustomCheckFailMsg = 'You are not in the withelist!',
})

--Why is this not working? If the original name of the job is 'Civil Protection' you must follow it in its entirety.
Some wrong example:
--Bad caps:'civil protection'
--Spaces in the wrong place:'CivilProtection' or ' Civil Protection ' or 'Civil Protection '
--The wrong name of the business, example: 'Mayor'

⚠️ Error that I see regularly that deserves its place here:
CWhat is Valid in the name of the Job that is 'Civil Protection'
Some Example invalid:
'civil protection'
'CivilProtection'
' Civil Protection '
' Civil Protection'
'Civil Protection '
'Civil Protection '