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

DB GetPage 219
Generate Html 3
SaveChanges (1) 69
Render Body 0
Render Sidebar 17