Weapon.LastShootTime
From GMod Wiki
| Function | |
| Syntax | Weapon:LastShootTime( ) |
| Description: | |
| Should return the time when the latest weapon shot was made. | |
| Returns: | Float |
| In Object: | Weapon |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Weapon.LastShootTime]Weapon.LastShootTime [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Get the last shot time of active weapon. |
|---|---|
| Used on | |
| Code | LocalPlayer():GetActiveWeapon():LastShootTime() |
| Output | None |
Additional Notes
- Does not work - always returns 0.