Garry's Mod Wiki

Player:SetFrags

Player:SetFrags( number fragcount )

Description

Sets a player's frags (kills)

Arguments

1 number fragcount
Number of frags (positive or negative)

Example

Sets the frags of player 1 to 9001

player.GetByID( 1 ):SetFrags( 9001 )

Page Links


Special Pages


Wikis

?

Render Time: 32ms

Session 0
DB GetPage 4
Generate Html 2
SaveChanges 10
Render Body 0
Render Sidebar 14