• CP with Manhack script please help!!
    3 replies, posted
I tried to make CP woth manhacks just like in HL2. (Deploying them in the field:hanging on shoulder like a parrot) I have tried this code in the autorun file local NPC = { Name = "CPwithMH", Class = "npc_metropolice", Manhacks = "1", Category = Category } list.Set( "NPC", "NPC.Class", NPC) But it just gives me an old regular cp without manhack Does anyone know how to make one?
-Make a timer that finds all cp npcs and chooses a random one every like... I dunno 5 seconds? -If you want you can stop the npc from being chosen again somehow -Set the spawn position to a bit above the head of the combine or it will glitch up -Make the host cp do the manhack deploying animation(if its there) -Profit
[lua] local NPC = { Name = "CPwithMH", Class = "npc_metropolice", KeyValues = {Manhacks = "1"}, Category = Category } list.Set( "NPC", "NPC.Class", NPC) [/lua]
manhack unfolds, but gets stuck in the hand of CP, someone knows a solution?
Sorry, you need to Log In to post a reply to this thread.