Garry's Mod Wiki

Player:AddFrags

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.

Special Pages


Wikis

?

Render Time: 39ms

DB GetPage 22
Generate Html 1
SaveChanges (1) 5
Render Body 0
Render Sidebar 8