Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dialog:FURNITURE_STORAGE_SELECT(playerid, response, listitem, inputtext[])
- {
- if(!response)
- return Dialog_Show(playerid, FURNITURE_CATEGORY_LIST, DIALOG_STYLE_LIST, " Ver categorias", "Almacenamiento\nComodidad\nDecoración\nEntretenimiento\nIluminación\nAlmacenamiento\nSuperficie\nElectrodomesticos\nConstrucción\nDiversos", "Seleccionar", "Cancelar");
- if(response)
- {
- new string[1000];
- for(new i = 0; i < sizeof(FurnitureModels); i ++) if(FurnitureModels[i][Type] == listitem + 1)
- format(string, sizeof(string), CHAT_WHITE"Usted está a punto de comprar el siguiente producto para su casa, ¿realmente desea comprarlo?\n \n"CHAT_LIGHTYELLOW"Información del mueble:"CHAT_WHITE"\n%s hecho a partir de %s con un color %s, tamaño %s, generalmente se usa %s."CHAT_WHITE"\n \nSi realmente desea comprar este mueble, pulse el botón 'aceptar' y se le descontarán $%d por \nla compra.",
- tolower(FurnitureModels[i][Name]), tolower(FurnitureModels[i][Material]), tolower(FurnitureModels[i][Color]), tolower(FurnitureModels[i][Size]), tolower(FurnitureModels[i][Position]), FurnitureModels[i][Price]);
- Dialog_Show(playerid, PITO, DIALOG_STYLE_MSGBOX, " Confirmar compra", string, "Aceptar", "Cancelar");
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement