08.06.2016, 07:42
Код:
for(new i=1; i<=MAX_FURNITURE; i++) { if(IsPlayerInRangeOfPoint(playerid, 30, FurnitureInfo[i][fX], FurnitureInfo[i][fY], FurnitureInfo[i][fZ]) && FurnitureInfo[i][fLiftup] == false) { new Smg[128]; format(Smg, sizeof(Smg), "[Land ID: %d][Model: %d]\n", FurnitureInfo[i][fID], FurnitureInfo[i][fModel]); strcat(string, Smg); ShowPlayerRangeFurniture[playerid][id] = FurnitureInfo[i][fID]; id ++; } } ShowPlayerDialog(playerid, Dialog_GetRangeFurniture, DIALOG_STYLE_LIST, "[Land Objects]", string, "Select","Close"); return 1;