Garry's Mod Leaks

SCP KeyCards LEAK

Submitted by JimJimovich, , Thread ID: 101402

Thread Closed
10-09-2018, 06:53 PM
#1
Content locked
This content has been locked. Please login or register in order to unlock it.

Attention! ON BACKDOORS HAS NOT BEEN TESTED!
========HOW TO USE============

I. General Use
II. Map Configuring
III. Settings
IV. Terms of Service


==============================

I. General Use

This keycard system allows you to prevent people from using buttons unless they have a certain keycard
clearance level. This addon currently only works on buttons, but it is not limited to the type of button. As long
as it is a button, it will work.

If a keycard level is EQUAL TO or GREATER THAN the level required, they will be able to use it. Otherwise it will be
denied access.

==============================

II. Map configuring

1) Type "kcs_start" into console and you will recieve a map tool.
2) Follow instructions on map tool. Right click to change level, Left click to mark button with that level
3) Repeat for all buttons you would like to mark.
4) Type "kcs_end" to save the config. It is automatically saved to your "garrysmod/data/kcs_data" folder**
** If you would like to change the save folder, read the next section

==============================

III. Settings

All settings are in the config.lua file.

1) You can customize keycard colors by changing the RGB color code. The format is:
KCS.ClearanceColors[ LEVEL ] = Color( R, G, B, A )

2) You can change the save folder by changing the KCS.SavePath entry. Do not include any /'s

3) You can change the max clearance level by changing the KCS.MaxLevel entry. You may also add keycards
by copying one of the existing weapon_keycard_levelX and changing X to the level you want. Then, go inside the
new shared.lua and change SWEP.Level to the same X.

4) To give a DarkRP job a certain keycard, simply add the weapon_keycard_levelX to their inventory.
[Image: onsOdLl.png]

RE: SCP KeyCards LEAK

#2
Did the addon work always ?

RE: SCP KeyCards LEAK

#3
thx for my new server !!!

RE: SCP KeyCards LEAK

#4
Very nice looking script, I really enjoy using it. Keep it up I really needed it and I was looking to find script like that.

RE: SCP KeyCards LEAK

#5
interesting thing to accidentally come across but, cool

Users browsing this thread: 5 Guest(s)