• Npc code spawning
    1 replies, posted
Hey guys. Im getting a error if you can help me make this poor little combine shoot at me. Thanks! [QUOTE] Bad sequence (-1 out of 160 max) in GetSequenceLinearMotion() for model 'combine_soldier.mdl'! [/QUOTE] [code] function NPCSpawns() local Combine1 = ents.Create("npc_combine_s") Combine1:SetPos( Vector (1592.581299, -1632.102539, -58.592445) ) Combine1:Give("weapon_ar2") Combine1:Spawn() timer.Simple( 1, function() StopNpcSpawns() end ) end function StartNPCSpawns() NPCSpawns() end hook.Add("InitPostEntity", "StartNPCSpawns", StartNPCSpawns) function StopNpcSpawns() print("Npcs have been spawned.") end [/code]
I got the same error all i know its something to do with the spawning
Sorry, you need to Log In to post a reply to this thread.