Player/AddFrags

From Garry's Mod
Revision as of 17:08, 2 May 2019 by Spar (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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