GM/GravGunPunt
From Garry's Mod
Contents |
Description
Called when an entity is about to be punted with the gravity gun (primary fire).
By default this function makes ENTITY:GravGunPunt work in Sandbox derived gamemmodes.
Arguments
Player ply
The player wielding the gravity gun
Arguments
Entity ent
The entity the player is attempting to punt
Returns
Return true to allow and false to disallow.