Entity extension of the Ragdoll plugin: finding the player a ragdoll belongs to.

Summary

Methods

Returns the player this entity is the ragdoll of.

Methods

Entity:get_ragdoll_owner()

shared plugins/ragdoll/plugin/lib/meta/sh_entity.lua:9

Returns the player this entity is the ragdoll of. A corpse stops belonging to its player once they respawn or leave the server.

Returns

  • Player the owner, or nil if the entity is not the ragdoll of a player

Defined in