Declaración
event OnGoal(footballGoal entity<FootballGoal>, scorer entity<Player>, assistPlayer entity<Player>)
go
Parámetros
Nombre | Tipo | Descripción |
---|---|---|
Gol de fútbol | FootballGoal | boca de gol |
Anotador | Player | Goleador, el último jugador que toca el balón antes de entrar en la portería |
Jugador asistente | Player | Asistentes, penúltimo jugador en tocar el balón antes de que se marque el gol |