GetPlayerDialogue
The number of the dialogue page open on a player’s screen.
Syntax
Section titled “Syntax”GetPlayerDialogue(pid)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
Returns
Section titled “Returns”number - the dialogid given to ShowPlayerDialogue; nil when none is open
Example
Section titled “Example”if GetPlayerDialogue(pid) then return true end -- mid-conversation: no commandsSee also
Section titled “See also”ShowPlayerDialogue · HidePlayerDialogue · the Dialogue group of the index
