Garry's Mod Wiki

Garry's Mod Wiki

  Entity Player:GetPreviousWeapon()

Description

Returns the weapon the player previously had equipped.

Returns

1 Entity
The previous weapon of the player.
This is not guaranteed to be a weapon entity so it should be checked with Entity:IsWeapon for safety.

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