Damage Types: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
<br>
<br>
<br>
<br>
:{|border="1" cellpadding="4" cellspacing="0" align="left"
:{|class="wikitable sortable" style="width: auto; table-layout: fixed;"
|-
|-
!style="background:#afafaf;"|ID
!ID
!style="background:#afafaf;"|Death reason
! class="unsortable" |Death reason
!style="background:#afafaf;"|Additional info
! class="unsortable" |Additional info
|-
|-
!19
!19

Revision as of 18:50, 19 June 2012

The following death reasons are used by event like onPlayerWasted for the killerWeapon argument to describe the reason, why a ped died.
When a player was shot by a weapon, the respective weapon ID is the death reason ID. The weapon IDs can be found here.

ID Death reason Additional info
19 Rocket Actual death reason / weapon ID when dying from a rocket launcher
37 Burnt This is used by a death by fire, even when the fire is created by a rocket explosion or a molotov
49 Rammed
50 Ranover This is also called when dying because of helicopter blades
51 Explosion This may sometimes also be used at an indirect death through an exploding rocket
52 Driveby This is NOT used for a driveby kill with e.g. the 'realdriveby' resource
53 Drowned
54 Fall
55 Unknown No known information about this death reason
56 Melee Seems to be never called (?); for an actual melee death, the fist weapon ID (0) is used (see here)
57 Weapon Seems to be never called (?)
59 Tank Grenade
63 Blown Actual death reason when dying in a vehicle explosion