Instalar Steam
iniciar sesión
|
idioma
简体中文 (chino simplificado)
繁體中文 (chino tradicional)
日本語 (japonés)
한국어 (coreano)
ไทย (tailandés)
Български (búlgaro)
Čeština (checo)
Dansk (danés)
Deutsch (alemán)
English (inglés)
Español de Hispanoamérica
Ελληνικά (griego)
Français (francés)
Italiano
Bahasa Indonesia (indonesio)
Magyar (húngaro)
Nederlands (holandés)
Norsk (noruego)
Polski (polaco)
Português (Portugués de Portugal)
Português-Brasil (portugués de Brasil)
Română (rumano)
Русский (ruso)
Suomi (finés)
Svenska (sueco)
Türkçe (turco)
Tiếng Việt (vietnamita)
Українська (ucraniano)
Comunicar un error de traducción






it often puts anything downloaded prior as the main base for things, which is why people ask for you to get the needed things first before getting the actual addon you want
Regular HL2 models and stuff work fine with headshot damage
local modelpaths = {"path/to/models", "one/other/one", "another/one/other", "etc."}
hook.Add ("PlayerSpawnedNPC","RandomConscriptModel", function (ply, npc)
if npc: GetName () = = "name of your recruit entity", then
npc: SetModel (modelpaths[math.random(1.9)])
end
end
)
I don't know what the return value of Entity:GetName () is, maybe you should use something else to find out if the generated NPC is yours or not...