- Fired when the LocalPlayer dies.
- API set: client
- args (in table):
killer_id [number]
: server ped id of the killerkiller_type [string]
: what type of entity killed the playerkiller_weapon_hash [number]
: the weapon hash that the killer used to kill the playerkiller_in_vehicle [bool]
: whether or not the killer was in a vehiclekiller_vehicle_seat [number]
: the seat number of the killer if they were in a vehiclekiller_vehicle_name [string]
: the name of the vehicle the killer was in if they were in a vehicleplayer_pos [vector3]
: the position of the player when they died
- Fired when a player dies.
- API set: shared
- args (in table):
killer_id [number]
: server ped id of the killerkiller_type [string]
: what type of entity killed the playerkiller_weapon_hash [number]
: the weapon hash that the killer used to kill the playerkiller_in_vehicle [bool]
: whether or not the killer was in a vehiclekiller_vehicle_seat [number]
: the seat number of the killer if they were in a vehiclekiller_vehicle_name [string]
: the name of the vehicle the killer was in if they were in a vehicleplayer_pos [vector3]
: the position of the player when they diedplayer_id [number]
: the server id of the player who died
- Fired when a ped spawns.
- API set: client
- args (in table):
ped [Ped]
: Ped instance
- Fired when a ped spawns.
- API set: server
- args (in table):
ped_net_id [number]
: Ped network idplayer [sPlayer]
: the player who sent the event
- Fired when a ped respawns.
- API set: client
- args (in table):
ped [Ped]
: Ped instance
- Fired when a ped respawns.
- API set: server
- args (in table):
ped_net_id [number]
: Ped network idplayer [sPlayer]
: the player who sent the event
- Fired when a ped dies.
- API set: client
- args (in table):
ped [Ped]
: Ped instance
- Fired when a ped dies.
- API set: server
- args (in table):
ped_net_id [number]
: Ped network idplayer [sPlayer]
: the player who sent the event