Garry's Mod Leaks

Police Form (Test) - Darkrp

Submitted by BlueFoot, , Thread ID: 8763

Thread Closed
BlueFoot
Novice
Level:
0
Reputation:
0
Posts:
35
Likes:
1
Credits:
104
11-08-2015, 01:42 PM
#1
[Image: 1c7119f74494c1c28fea233fad97a4ea.png]

This adds a test that you are required to pass before becoming a Civil Protection, it helps to filter out the scrubs that will abuse.

https://scriptfodder.com/scripts/view/723


-- INSTALL INTRUCTIONS --

Folders:
"cpform":
Copy the folder and paste in this address "garrysmod\gamemodes\DarkRP\gamemode\modules".

"cpform_npc":
Copy the folder and paste in this address "garrysmod\gamemodes\DarkRP\entities\entities"

-- CONFIG --

First of all u need to know how to spawn the NPC

Go to "garrysmod\gamemodes\DarkRP\gamemode\modules\cpform" and find this file "sh_config"

Then u have theses lines

--NPC Spawns Automatically, Just configure it's position/angles here
cpform_npc_position = Vector(454.968750, 3093.593262, -131.968750)
cpform_npc_angles = Angle(454.968750, 3093.593262, -131.968750)

go to your console and write "getpos" then u change the values.



-- IMPORTANT --

and u need to add this 2 lines to your COP JOB

customCheck = function(ply) return CLIENT or ply:HasPassedCpForm() end,
CustomCheckFailMsg = "You did not pass the cp test!"


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

Users browsing this thread: 1 Guest(s)