23.05.2014, 11:58
Код:
CMD:taocaudo(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 3) { if(TonTaiCauDo == 0) { ShowPlayerDialog(playerid,CAUDO_1, DIALOG_STYLE_INPUT, "Tao cau do", "Nhap vao cau hoi:", "Tiep tuc", "Huy bo"); } else SendClientMessageEx(playerid, COLOR_GREY, "Da co cau do. /xoacaudo de dat cau do moi."); } else SendClientMessageEx(playerid, COLOR_GREY, "Ban khong the su dung lenh nay."); return 1; }