Click or drag to resize

SampEntitiesGetPlayerObjectId Method

Gets a player object entity identifier based on an integer player object identifier.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public static EntityId GetPlayerObjectId(
	int playerId,
	int playerObjectId
)

Parameters

playerId
Type: SystemInt32
The player identifier.
playerObjectId
Type: SystemInt32
The player object identifier.

Return Value

Type: EntityId
The entity identifier.
See Also