• entity on physgun
    3 replies, posted
is there any hook or meta function that tells an entity if it is being physgunned?
Uhh not sure about that, but I know there are hooks based on when the Physgun picks up/drops a prop/entity. [URL="http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index099b.html"]OnPhysgunFreeze[/URL] [URL="http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index85d1.html"]OnPhysgunReload[/URL] [URL="http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index1695.html"]PhysgunDrop[/URL] [URL="http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index02b1.html"]PhysgunPickup[/URL]
PhysicsObject():IsAsleep() Player:IsHolding() both of them should give you a rough idea.
thank you guys, the physgun pickup and drop are what i needed.
Sorry, you need to Log In to post a reply to this thread.