Garry's Mod Wiki

Player:SimulateGravGunPickup

  Player:SimulateGravGunPickup( Entity ent, boolean lightning = false )

Description

Signals the entity that it was picked up by the gravity gun. This call is only required if you want to simulate the situation of picking up objects.

Arguments

1 Entity ent
The entity picked up
2 boolean lightning = false
Whether or not to show lightning effects around the entity