widgets.PlayerTick

From Garry's Mod
Jump to: navigation, search
 widgets.PlayerTick( )

Contents

Description

This is an internal function or feature.
This means you will be able to use it, but you really shouldn't.
Automatically called to update all widgets.

Arguments

Player ply

The player

Arguments

CMoveData mv

Player move data

Examples

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 )


Personal tools
Navigation