Table of Contents

Struct PlayerBulletData

Namespace
SampSharp.OpenMp.Core.Api
Assembly
SampSharp.OpenMp.Core.dll

Represents data related to a player's bullet, including its origin, hit position, and other details.

public readonly struct PlayerBulletData
Inherited Members

Fields

hitID

The ID of the object or entity that was hit by the bullet.

public readonly ushort hitID

Field Value

ushort

hitPos

The position where the bullet hit.

public readonly Vector3 hitPos

Field Value

Vector3

hitType

The type of object or entity that was hit by the bullet.

public readonly PlayerBulletHitType hitType

Field Value

PlayerBulletHitType

offset

The offset of the bullet relative to the player's position.

public readonly Vector3 offset

Field Value

Vector3

origin

The origin position of the bullet when it was fired.

public readonly Vector3 origin

Field Value

Vector3

weapon

The weapon ID used to fire the bullet.

public readonly byte weapon

Field Value

byte