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: 37ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 17
Render Body 0
Render Sidebar 12