Scripting/Server/Functions/HidePlayerDialog

Closes the dialog on the player's screen. No onDialogResponse is sent for it.

Syntax

HidePlayerDialog(player)

Arguments

Example

function onPlayerCommand( player, cmd, params )
{
	if ( cmd == "hideplayerdialog" )
	{
		HidePlayerDialog( player );
	}
}

This sample was generated from the signature – adapt the values to your gamemode.

Section: Server dialogs (SA-MP style)

Categories: Server functions | Server dialogs (SA-MP style)