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-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax 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:
TaskTResponseThe dialog response.
See Also