SampSharp
SampSharp
SampSharp.GameMode.Events
DamageEventArgs Class
DamageEventArgs Constructor
DamageEventArgs Properties
DamageEventArgs Methods
DamageEventArgs Constructor
Initializes a new instance of the DamageEventArgs class.
Namespace:
SampSharp.GameMode.Events
Assembly:
SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
Copy
public
DamageEventArgs
(
BasePlayer
otherPlayer
,
float
amount
,
Weapon
weapon
,
BodyPart
bodypart
)
Parameters
otherPlayer
Type:
SampSharp.GameMode.World
BasePlayer
The other player.
amount
Type:
System
Single
Amount of damage done.
weapon
Type:
SampSharp.GameMode.Definitions
Weapon
Weapon used to damage another.
bodypart
Type:
SampSharp.GameMode.Definitions
BodyPart
BodyPart shot at.
See Also
Reference
DamageEventArgs Class
SampSharp.GameMode.Events Namespace