Dead Body Interactive Entity

Hey.

Does anybody here know how to make a dead body like a Rag doll that can utilize the Use function, so for example when a player goes up to the dead body and presses E some sort of menu pops up or what not.
I tried creating an entity and setting its model to a player model but gmod didn’t like that. I’m sorta new to lua so anyone think they got any suggestions?

  • Tom (hydral1k)

Make a “use” hook, perform a trace from the players eyes, get the entity, check if the entity is a ragdoll, and do shit there.