soja wrote:The model needs to be on both the server and fastdl, each needs its own copy.
I meant what is inside the lua file.
Oh I somewhat understand now
Code: Select all
list.Set( "PlayerOptionsModel", "Plague Doktor", "models/Splinks/plague_doktor/Plague_Doktor.mdl" )
player_manager.AddValidModel( "Haus: The Plague Doktor", "models/Splinks/plague_doktor/Plague_Doktor.mdl" )
player_manager.AddValidHands( "Haus: The Plague Doktor", "models/Splinks/plague_doktor/VIEWMODEL.mdl", 0, "00000000" )
--Add NPC
local Category = "Plague Doktor Haus NPCs"
local NPC = { Name = "Hostile Plague Doktor Haus",
Class = "npc_combine_s",
Model = "models/Splinks/plague_doktor/Plague_Doktor.mdl",
Health = "150",
Squadname = "PLAGUE",
Numgrenades = "4",
Category = Category }
list.Set( "NPC", "Hostile_PlagueDoktorHaus", NPC )
local NPC = { Name = "Friendly Plague Doktor Haus",
Class = "npc_citizen",
Model = "models/Splinks/plague_doktor/Plague_Doktor.mdl",
Health = "300",
KeyValues = { citizentype = 4 },
Category = Category }
list.Set( "NPC", "Friendly_PlagueDoktorHaus", NPC )