Declaration
event OnGoal(footballGoal entity<FootballGoal>, scorer entity<Player>, assistPlayer entity<Player>)
go
Parameters
| Name | Type | Description |
|---|---|---|
| Football Goal | FootballGoal | Goal |
| Scorer | Player | Scorer, the last player to touch the ball before scoring |
| Assist Player | Player | Assist: The second-to-last player to touch the ball before the goal |