Delegate WeaponDamageAsyncDelegate
Namespace: AltV.Net.Async.Events
Assembly: AltV.Net.Async.dll
Syntax
public delegate Task WeaponDamageAsyncDelegate(IPlayer player, IEntity target, uint weapon, ushort damage, Position shotOffset, BodyPart bodyPart);
Parameters
| Type | Name | Description |
|---|---|---|
| IPlayer | player | |
| IEntity | target | |
| System.UInt32 | weapon | |
| System.UInt16 | damage | |
| Position | shotOffset | |
| BodyPart | bodyPart |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |