Player/AddFrags

From Garry's Mod
Jump to: navigation, search
 Player:AddFrags( )

Contents

Description

Add a certain amount to the player's frag count (or kills count)

Arguments

number count

number of frags to add

Examples

Example

Adds 2 frags to player

Entity( 1 ):AddFrags( 2 )

Output:

Player1 has 2 extra frags on the scoreboard relative to his old score.
Personal tools
Navigation