Untitled

 avatar
user_0390871
plain_text
7 months ago
1.8 kB
3
Indexable
Never
new const accents[][] = 
{
    "Normal",
    "An Giang",
    "Ba Ria - Vung Tau",
    "Bac Giang",
    "Bac Kan",
    "Bac Lieu",
    "Bac Ninh",
    "Ben Tre",
    "Binh Dinh",
    "Binh Duong",
    "Binh Phuoc",
    "Binh Thuan",
    "Ca Mau",
    "Can Tho",
    "Cao Bang",
    "Da Nang",
    "Dak Lak",
    "Dak Nong",
    "Dien Bien",
    "Dong Nai",
    "Dong Thap",
    "Gia Lai",
    "Ha Giang",
    "Ha Nam",
    "Ha Noi",
    "Ha Tinh",
    "Hai Duong",
    "Hai Phong",
    "Hau Giang",
    "Hoa Binh",
    "Hung Yen",
    "Khanh Hoa",
    "Kien Giang",
    "Kon Tum",
    "Lai Chau",
    "Lam Dong",
    "Lang Son",
    "Lao Cai",
    "Long An",
    "Nam Dinh",
    "Nghe An",
    "Ninh Binh",
    "Ninh Thuan",
    "Phu Tho",
    "Phu Yen",
    "Quang Binh",
    "Quang Nam",
    "Quang Ngai",
    "Quang Ninh",
    "Quang Tri",
    "Soc Trang",
    "Son La",
    "Tay Ninh",
    "Thai Binh",
    "Thai Nguyen",
    "Thanh Hoa",
    "Thua Thien Hue",
    "Tien Giang",
    "Thanh pho Ho Chi Minh",
    "Tra Vinh",
    "Tuyen Quang",
    "Vinh Long",
    "Vinh Phuc",
    "Yen Bai"
};

stock accent_Dialog(playerid, dialogid, response, listitem)
{
    if(dialogid == DIALOG_ACCENTS && response)
    {

    }
    return 1;
}

CMD:giongnoi(playerid, params[])
{
	if(IsPlayerConnected(playerid))
	{
		for(new i = 0; i < sizeof(accents); i++)
        {
            for(new j = 0; j < 64; j++);
            strcat(string, "ID\tTinh Thanh");
            format(string, sizeof(string), "%s\n%d\n%s", string, j, i, "Chon", "Dong");
            ShowPlayerDialog(playerid, DIALOG_ACCENTS, DIALOG_STYLE_TABLIST_HEADERS, "Caption", string);
        }
	}
	return 1;
}