Preskoči na vsebino

GetPlayerDialogID

opozorilo

Dodano v različici omp v1.1.0.2612. Ta element v starejših različicah ne deluje. Vrsta: funkcija.

Description​

Get the ID of the dialog currently show to the player.

NameDescription
playeridThe ID of the player.

Return Values​

Returns the dialog ID.

Or INVALID_DIALOG_ID if the player is not connected or has no dialog open.

Examples​

new dialogID = GetPlayerDialogID(playerid);
if (dialogID != INVALID_DIALOG_ID)
{
// The player has an open dialog
}