CP jobs not working?

Post Reply
chiefquad
New to forums
New to forums
Posts: 1
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Mon Jan 26, 2015 11:55 am

CP jobs not working?

Post by chiefquad »

Code: Select all

GAMEMODE.CivilProtection = {
    [TEAM_POLICEOFFICER] = true,
	[TEAM_DEPUTYCHIEF] = true,
	[TEAM_MAYOR] = true,
	[TEAM_SWAT] = true,
	[TEAM_SWATMEDIC] = true,
	[TEAM_SWATHEAVY] = true,
	[TEAM_FBI] = true,
}
Ok so I've added in all this stuff but whenever a cop tries to warrant/want someone it says "You do not have the right job to request a warrant" This is script error
[ERROR] gamemodes/darkrp/gamemode/config/jobrelated.lua:520: table index is nil
1. unknown - gamemodes/darkrp/gamemode/config/jobrelated.lua:520
2. include - [C]:-1
3. unknown - gamemodes/darkrp/gamemode/cl_init.lua:37

I do not understand since I've done everything right? I have tried with the DarkrpModification, but I run into the same problem
Post Reply