Can someone PLEASE help me switch the knife for murder to a different model I have. I was told to just switch the model files inside the init.lua folder, and I don't understand how to switch/add the directories for the new models I am adding.
Help?
			
			
									
									
						Some Murder Help;
- 
				HardForBrandon
- New to forums 
- Posts: 11
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Mon Apr 06, 2015 10:30 pm
- 
				HardForBrandon
- New to forums 
- Posts: 11
- Joined: Mon Apr 06, 2015 10:30 pm
Re: Some Murder Help;
Also, I need to switch the mu_jointeam command to users instead of just admins, but the strings of code don't have a IfAdmin function (listed below)
			
			
									
									
						Code: Select all
concommand.Add("mu_jointeam", function (ply, com, args)
	if ply.LastChangeTeam && ply.LastChangeTeam + 5 > CurTime() then return end
	ply.LastChangeTeam = CurTime()
	local curTeam = ply:Team()
	local newTeam = tonumber(args[1] or "") or 0
	if newTeam >= 1 && newTeam <= 2 && newTeam != curTeam then
		ply:SetTeam(newTeam)
		GAMEMODE:PlayerOnChangeTeam(ply, newTeam, curTeam)
		local msgs = Translator:AdvVarTranslate(translate.changeTeam, {
			player = {text = ply:Nick(), color = team.GetColor(curTeam)},
			team = {text = team.GetName(newTeam), color = team.GetColor(newTeam)}
		})
		local ct = ChatText()
		ct:AddParts(msgs)
		ct:SendAll()
	end
end)