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.
-- INSTALL INTRUCTIONS --
Copy the folder and paste in this address "garrysmod\gamemodes\DarkRP\gamemode\modules"
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!"