26.10.2017, 18:39
What am I doing wrong? I'm trying to put the furniture objects to appear with the dialogs of this include, but it's making a mistake.Will someone help me solve it?
Include: https://sampforum.blast.hk/showthread.php?tid=570213
Erro:
If I remove "ExteriorFurnitureBuy3" Objects do not appear in the dialog
Code:
Include: https://sampforum.blast.hk/showthread.php?tid=570213
Erro:
Код:
C:\Users\Admin\Desktop\GM\RP\gamemodes\teste.pwn(52746) : error 017: undefined symbol "ExteriorFurnitureBuy3" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Code:
Код:
Dialog:ExteriorFurnitureBuy2(playerid, response, listitem, inputtext[]) { if(!response) return Dialog_Show(playerid, ExteriorFurnitureBuy, DIALOG_STYLE_LIST, "Selecione uma categoria de mуveis", GetHouseCategoryList(), "Selecionar", "Cancelar"); gstr[0] = EOS; strcat(gstr, "Nome da mobнlia\tCost\n"); for(new x = 0; x < MAX_FURNITURE; x++) { if(FurniData[x][fSubCategory] == listitem && FurniData[x][fCategory] == GetPVarInt(playerid, "FurnCat") && FurniData[x][fModel] != 0 && FurniData[x][fExteriorAllow]) { format(sgstr, sizeof(sgstr), "%s\t$%s\n", FurniData[x][fuName], format_cash(FurniData[x][fPrice])); strcat(gstr, sgstr); } } ShowPlayerDialog(playerid, ExteriorFurnitureBuy3, DIALOG_STYLE_PREVIEW_MODEL, "Comprar mуveis", gstr, "Selecionar", "Cancelar"); return true; }