Garry's Mod Wiki

widgets.PlayerTick

widgets.PlayerTick( Player ply, CMoveData mv )

Description

This is used internally - although you're able to use it you probably shouldn't.

Automatically called to update all widgets.

Arguments

1 Player ply
The player
2 CMoveData mv
Player move data

Example

That's how it is used in lua/includes/modules/widget.lua

hook.Add( "PlayerTick", "TickWidgets", function( pl, mv ) widgets.PlayerTick( pl, mv ) end )

Page Links


Special Pages


Wikis

?

Render Time: 68ms

DB GetPage 48
Generate Html 2
SaveChanges (1) 9
Render Body 0
Render Sidebar 6