Garry's Mod Wiki

Player:AddFrags

Player:AddFrags( number count )

Description

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

Arguments

1 number count
number of frags to add

Example

Adds 2 frags to player

Entity( 1 ):AddFrags( 2 )
Output: Player1 has 2 extra frags on the scoreboard relative to his old score.

Page Links


Special Pages


Wikis

?

Render Time: 35ms

DB GetPage 8
Generate Html 2
SaveChanges (1) 11
Render Body 0
Render Sidebar 12