Sooo, I was trying to add more default models on the sv_hooks.lua to make it kinda like this:
Code:
if (self:IsCombineFaction(faction)) then
if (self:IsPlayerCombineRank(player, "GHOST")) then
return "models/dpfilms/metropolice/tron_police.mdl";
elseif (self:IsPlayerCombineRank(player, "OfC")) then
return "models/dpfilms/metropolice/policetrench.mdl";
elseif (self:IsPlayerCombineRank(player, "DvL")) then
return "models/dpfilms/metropolice/blacop.mdl";
elseif (self:IsPlayerCombineRank(player, "SeC")) then
return "models/dpfilms/metropolice/phoenix_police.mdl";
elseif (self:IsPlayerCombineRank(Player, "RCT")) then
return "models/dpfilms/metropolice/hdpolice.mdl";
elseif (self:IsPlayerCombineRank(Player, "SqL)) then
return "models/dpfilms/metropolice/police_bt.mdl";
elseif (self:IsPlayerCombineRank(Player, "JUDGE")) then
return "models/dpfilms/metropolice/retrocop.mdl";
elseif (self:IsPlayerCombineRank(Player, "HELIX")) then
return "models/dpfilms/metropolice/civil_medic.mdl";
elseif (self:IsPlayerCombineRank(Player, "APEX")) then
return "models/dpfilms/metropolice/hl2concept.mdl";
elseif (self:IsPlayerCombineRank(Player, "UNION")) then
return "models/dpfilms/metropolice/urban_police.mdl";
elseif (self:IsPlayerCombineRank(Player, "GRID")) then
return "models/dpfilms/metropolice/biopolice.mdl";
But it ended up with this: Boots sounds and voice commands we're screwed.
So I removed it until like this:
Code:
if (self:IsCombineFaction(faction)) then
if (self:IsPlayerCombineRank(player, "GHOST")) then
return "models/dpfilms/metropolice/tron_police.mdl";
elseif (self:IsPlayerCombineRank(player, "OfC")) then
return "models/dpfilms/metropolice/policetrench.mdl";
elseif (self:IsPlayerCombineRank(player, "DvL")) then
return "models/dpfilms/metropolice/blacop.mdl";
elseif (self:IsPlayerCombineRank(player, "SeC")) then
return "models/dpfilms/metropolice/phoenix_police.mdl";
And it worked back.
Got any ideas how to fix it?