How to pass arguments to parent init when inheriting

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Alexandr

In version 3 it was done in the way it is done in version 4?

extends Char
class_name Player


func _init(
	name: String, gender: int, age: int
).(
	name, gender, age, next_id()
):
	G.player_id = self.id

enter image description here

:bust_in_silhouette: Reply From: Ninfur
func _init(my_var):
    super._init(my_var)