Gamemode.Think
From GMod Wiki
Event Hook | |
Hook Name | Think |
Syntax | GM:Think( ) |
Description | Called every frame |
Returns | Nil |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.Think]Gamemode.Think [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Additional Notes
- Use this hook sparingly, as it's run every frame and a lot of calculations can cause serious lag.
- Frame rate will vary depending on the server.
- This frame rate is not directly related to the rendering frame rate.
- On a dedicated server, this hook will run once at the start, then only run when players are present on the server.