Garry's Mod Wiki

Player:GetPreviousWeapon

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.

Page Links


Special Pages


Wikis

?

Render Time: 34ms

DB GetPage 4
Generate Html 2
SaveChanges (1) 13
Render Body 0
Render Sidebar 12