Garry's Mod Wiki

Weapon:SetLastShootTime

  Weapon:SetLastShootTime( number time = CurTime() )

Description

Sets the time since this weapon last fired in seconds. Used in conjunction with Weapon:LastShootTime.

This value is not networked to the client if set from server.

Arguments

1 number time = CurTime()
The time in seconds when the last time the weapon was fired.