{$CLEO .cs}
CLEO:0000: repeat wait 228 until samp.Available() 0B34: samp register_client_command "did" to_label @did while true wait 0 end :did if samp.IsDialogActive(-1) then 0B4E: samp 0@ = get_current_dialog_id chatmsg "Диалог открыт {FFFAFA}[%d]" 0x00EE00 0@ else chatmsg "Диалог не открыт" 0xFF7F00 end samp.CmdRet()
Код:
[code=cleo]