OnPedWasted: Difference between revisions

103 bytes removed ,  19 November 2022
no edit summary
No edit summary
 
No edit summary
 
Line 1: Line 1:
{{ScriptItem
{{ScriptItem2
|endpoint = shared
|name = onPedWasted
|side = shared
|type = event
|type = event
|name = onPedWasted
|games = iii vc sa iv
|usage = a ped dies
|desc = a ped dies
|callbackParameters = Event event, Ped wastedPed, Ped attackerPed, int weapon, int pedPiece
|arg1 = Ped wastedPed The ped that has died.
|cancellable = false
|arg2 = Ped attackerPed The ped that attacked the ped who died.
|parameter1 = Ped wastedPed The ped that has died.
|arg3 = int weapon The weapon ID that caused the ped to die.
|parameter2 = Ped attackerPed The ped that attacked the ped who died.
|arg4 = int pedPiece The ped piece ID for the ped that died.
|parameter3 = int weapon The weapon ID that caused the ped to die.
|cancel = false
|parameter4 = int pedPiece The ped piece ID for the ped that died.
}}
}}
6,833

edits