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: 28ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 8
Render Body 0
Render Sidebar 13