Garry's Mod Wiki

Player:SetFrags

void 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: 31ms

Session 0
DB GetPage 4
Generate Html 5
SaveChanges 8
Render Body 0
Render Sidebar 12