Garry's Mod Wiki

Garry's Mod Wiki

Description

Called when the HLTV ranks all players

Members

number index
The EntIndex of the Entity.
number rank
The rank.
number target
The EntIndex of the Target.

Examples

Example

This is a basic template with the purpose of including all arguments / table variables to make it easily known which values can be accessed.

gameevent.Listen( "hltv_rank_entity" ) hook.Add( "hltv_rank_entity", "hltv_rank_entity_example", function( data ) local index = data.index -- The Entity:EntIndex() of the Entity local rank = data.rank -- The rank local target = data.target -- The Entity:EntIndex() of the Target -- Called when the HLTV ranks all players 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 twice a day. Edits and history are not available.

Last Parsed: Loading...