Garry's Mod Wiki

Garry's Mod Wiki

  boolean GM:GravGunPunt( Player ply, Entity ent )

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 gamemodes.

Arguments

1 Player ply
The player wielding the gravity gun
2 Entity ent
The entity the player is attempting to punt

Returns

1 boolean
Return true to allow and false to disallow.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...