Garry's Mod Wiki

Garry's Mod Wiki

  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 )

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...