Garry's Mod Wiki

Garry's Mod Wiki

  number Player:Frags()

Description

Returns the amount of frags a player has.

The value will change depending on the player's kill or suicide: +1 for a kill, -1 for a suicide.

Returns

1 number
frags

Example

Prints the users frags in console.

print( Entity( 1 ):Frags() )
Output: 0

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...