DarkRP Jobs run Faster?

So I am not exactly sure how to do this, how do I make a certain job run faster. I saw some code in gamemode functions



	if ply:Team() == TEAM_CHIEF or ply:Team() == TEAM_POLICE then
		GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed, GAMEMODE.Config.runspeed + 10)
	end


But if I add a second one of these it makes ones before not work. So how do I do it and where do I put it.

What did you add second one of? The entire block? Did you change any of it?

I tried copying it didnt work, adding another if, didnt work. Not sure what else to try.

[lua]
if ply:Team() == TEAM_CHIEF or ply:Team() == TEAM_POLICE then
ply:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed, GAMEMODE.Config.runspeed + 10)
end[/lua]
that should work

Where would I put this, in what file. Because maybe I am doing it wrong.

main.lua maybe? I dunno.