Click or drag to resize

IDialogServiceShowTResponse Method (EntityId, IDialogTResponse)

Shows the specified dialog to the player.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
Task<TResponse> Show<TResponse>(
	EntityId player,
	IDialog<TResponse> dialog
)
where TResponse : struct, new()

Parameters

player
Type: SampSharp.EntitiesEntityId
The player to show the dialog to.
dialog
Type: SampSharp.Entities.SAMPIDialogTResponse
The dialog to show to the player.

Type Parameters

TResponse
The type of the response.

Return Value

Type: TaskTResponse
The dialog response.
See Also