Garry's Mod Wiki


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


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.


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