SendDeathInfo

From NPC for VCMP 0.4 Servers
Revision as of 04:26, 20 November 2022 by Habi (talk | contribs) (Created page with "{{Welcome| desc=.| params=<syntaxhighlight lang="lua">( weaponId, killerId, bodypartId )</syntaxhighlight> <poem>::weaponId : The same as weapon IDs on server side. ::killerI...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Description:
.


Parameters:

( weaponId, killerId, bodypartId )

weaponId : The same as weapon IDs on server side.
killerId : The ID of the killer who 'killed' the npc.
bodypartId : The bodypart the npc was hit.


Return Values:
This function does not return any specific values.


Example

function Kill()
{
	SendDeathInfo( 70, 255, 0 ); // 70 means /kill
}

Related Functions

The following functions may be helpful as they relate to this function in one way or another.