Posts: 58
Threads: 18
Joined: Feb 2017
Reputation:
0
CMD:muatrangphuc(playerid, params[])
{
if(IsAtClothShop(playerid))
{
ShowModelSelectionMenu(playerid, skinlist, "Lua chon trang phuc");
}
else
{
SendClientMessageEx( playerid, COLOR_WHITE, " Ban khong trong cua hang quan ao!" );
}
return 1;
}
----------------------------------
else if(dialogid == SHOPCOIN_LISTCAR)
{
if(response)
{
if(listitem == 0)
{
//Oto
ShowModelSelectionMenu(playerid, otolist, "->Cua hang Xe<-");
}
if(listitem == 1)
{
//May bay
ShowModelSelectionMenu(playerid, planelist, "->Cua hang may bay<-");
}
if(listitem == 2)
{
//Thuyen
ShowModelSelectionMenu(playerid, shiplist, "->Cua hang thuyen<-");
}
return 1;
}
ShowPlayerDialog(playerid, SHOPCOIN, DIALOG_STYLE_LIST, "Hay chon thu ban can mua","Phuong tien\nVIP\nTai khoan\nTrang bi\nVat Pham\nVu khi", "Lua chon", "Tu choi");
return 1;
}
Help.