ScoringSystem:StatEvent

ScoringSystem:StatEvent(player: Player, objectPlayer: Player | nil, statEvent: StatEvent, paramX: DataContainer | nil, paramY: DataContainer | nil, value: float)

Parameters

Name Type Description
player Player
objectPlayer Player | nil
statEvent StatEvent
paramX DataContainer | nil
paramY DataContainer | nil
value float

Example

Events:Subscribe('ScoringSystem:StatEvent', function(player, objectPlayer, statEvent, paramX, paramY, value)
    -- Do stuff here.
end)
Last modified September 11, 2022: Add server scoring events (2f4b1a04)