SlashCo Wiki

Player:SetRoundPoints

  Player:SetRoundPoints( string key, number amount, number num )

Description

Overrides the points the player has recorded under the given key, replacing any points previously added for it.
Does nothing if the player has no round points recorded yet (i.e. Player:AddRoundPoints hasn't been called before). On the server, the change is networked to the player.

Arguments

1string key

Round point category to overwrite.

2number amount

The point value to set. Defaults to a value based on key (or 5 if key is unknown).

3number num

How many times amount should be recorded for key. Defaults to 1.