Зарегистрировавшись у нас, вы сможете обсуждать, делиться и отправлять личные сообщения другим участникам нашего сообщества.
Зарегистрироваться!ты бы хотя бы фулл систему вырезал, а не только то, что нужно в конец мода вставить[CEF INVENT] СЛИВ ARIZONA CEF ИНВЕНТАРЯ BY NARTY
я клики вписал, take,put и тдты бы хотя бы фулл систему вырезал, а не только то, что нужно в конец мода вставить
stock GetInventoryItemText(playerid, cell_type, id, slot = 0, text[], upper_slot = false, time = false)
{
new type = 0, itemid, amount, identificator, enchant, color, item_time;
f(text, 30, "");
switch cell_type do
{
case 0: itemid = Inventory[playerid][0][slot], amount = Inventory[playerid][1][slot], color = Inventory[playerid][2][slot], identificator = Inventory[playerid][3][slot], enchant = Inventory[playerid][4][slot], item_time = Inventory[playerid][6][slot]; /* player */
case 1: itemid = HouseInfo[id][hItem][slot], amount = HouseInfo[id][hItemCount][slot], color = HouseInfo[id][hItemColor][slot], identificator = HouseInfo[id][hItemIdentificator][slot], enchant = HouseInfo[id][hItemLevel][slot]; /* warehouse */
case 2: itemid = MusorInfo[id][mItem][slot], amount = MusorInfo[id][mItemCount][slot], color = MusorInfo[id][mItemColor][slot], identificator = MusorInfo[id][mItemIdentificator][slot], enchant = MusorInfo[id][mItemLevel][slot], item_time = MusorInfo[id][mItemTimer][slot]; /* trash */
case 3: itemid = TrunkInfo[id][tItem][slot], amount = TrunkInfo[id][tItemCount][slot], color = TrunkInfo[id][tItemColor][slot], identificator = TrunkInfo[id][tItemIdentificator][slot], enchant = TrunkInfo[id][tItemLevel][slot]; /* trunk */
case 4: itemid = CarInfo[id][cInvCell][slot], color = CarInfo[id][cInvCellColor][slot]; /* car */
case 5: itemid = Inventory[id >= 10 ? GetDataTrade(playerid, tradePlayer) : playerid][0][slot], amount = TradeInfo[id >= 10 ? GetDataTrade(playerid, tradePlayer) : playerid][tradeItemCount][id >= 10 ? id - 10 : id], identificator = Inventory[id >= 10 ? GetDataTrade(playerid, tradePlayer) : playerid][3][slot], enchant = Inventory[id >= 10 ? GetDataTrade(playerid, tradePlayer) : playerid][4][slot]; /* trade */
case 6: itemid = CentralMarketItems[id][pTemp[playerid][pCentralMarketSelectId]][1][slot], amount = CentralMarketItems[id][pTemp[playerid][pCentralMarketSelectId]][3][slot], identificator = Inventory[CentralMarket[id][crOwnedId]][3][CentralMarketItems[id][pTemp[playerid][pCentralMarketSelectId]][0][slot]];
case 7: itemid = AccessoryKioskData[id][acsKioskAccessory], amount = 1, identificator = AccessoryKioskData[id][acsKioskAccessoryIdentificator], color = AccessoryKioskData[id][acsKioskAccessoryColor], enchant = AccessoryKioskData[id][acsKioskAccessoryEnchant], item_time = AccessoryKioskData[id][acsKioskAccessoryTime];
default: itemid = id;
}
if(!(PI[playerid][pCustomInterface][4] && GetPlayerLauncher(playerid) == 1) && cell_type != 6 && item_time > 0 && cell_type == 0 or (cell_type == 2 && itemid && item_time > 0)) f(text, 30, "%s%d %s", (IsAAks(itemid) && cell_type == 0) ? "R:" : cell_type == 2 ? "B:" : "", UNIX_GET_TIME(item_time), UNIX_GET_TIME_NAME(item_time, false, bool:IsAAks(itemid)));
else if(cell_type != 6 && ItemsInfo[itemid][itemAccesotySlot] != -1 && enchant) f(text, 30, "+%i", enchant);
else if(cell_type != 6 && amount > 1) f(text, 30, "%i", amount);
else if(cell_type != 6 && IsASkinInv(itemid)) f(text, 30, "ID:%i", ItemsInfo[itemid][itemModel]);
else if(cell_type != 6 && TextFind(ItemsInfo[itemid][itemName], "[деталь тюнинга]")) f(text, 30, "TUNING"), type = 1;
else if(cell_type != 6 && 603 <= itemid <= 626 && cell_type == 0) f(text, 30, "%i/100", Inventory[playerid][5][slot]);
else if(cell_type != 6 && itemid >= 7345 && itemid <= 7349 or itemid == 7415) f(text, 30, "~w~SKIN ~n~STRIPE"), type = 2;
else if(cell_type == 6 && CentralMarketItems[id][pTemp[playerid][pCentralMarketSelectId]][2][slot] > 0) f(text, 30, "%i BTC", CentralMarketItems[id][pTemp[playerid][pCentralMarketSelectId]][2][slot]), type = 3;
else if(itemid == 7034)
{
new numberTypes[][] = {"clear_number_kz", "clear_number_ru", "clear_number_ua", "clear_number_by", "clear_number_usa"}, numberData[4][10];
if(upper_slot)
sscanf(VehicleInfo[GetPlayerVehicleID(playerid)][vNumber], "P<,>a<s[10]>[4]", numberData);
else f(numberData[0], 10, InventoryNumber[playerid][0][cell_type == 6 ? CentralMarketItems[id][pTemp[playerid][pCentralMarketSelectId]][0][slot] : slot]), f(numberData[1], 10, InventoryNumber[playerid][1][cell_type == 6 ? CentralMarketItems[id][pTemp[playerid][pCentralMarketSelectId]][0][slot] : slot]), f(numberData[2], 10, InventoryNumber[playerid][2][cell_type == 6 ? CentralMarketItems[id][pTemp[playerid][pCentralMarketSelectId]][0][slot] : slot]), f(numberData[3], 10, IntToStr(identificator));
if(!(PI[playerid][pCustomInterface][4] == 1 && GetPlayerLauncher(playerid) == 1))
SetString(ItemsInfo[itemid][itemTxd_name], (str_f("item_number:%s", strval(numberData[3]) == 4 ? numberUSA_Data[strval(numberData[1])][0] : numberTypes[strval(numberData[3])])));
f(text, 30, "%s(%s) %s%s", !(PI[playerid][pCustomInterface][4] == 1 && GetPlayerLauncher(playerid) == 1) ? "~r~" : "", strval(numberData[3]) == 4 ? numberUSA_Data[strval(numberData[1])][1] : numberData[1], !(PI[playerid][pCustomInterface][4] == 1 && GetPlayerLauncher(playerid) == 1) ? "~n~" : "", numberData[0]);
type = 2;
}
else if(cell_type != 6 && identificator > 0)
{
if(itemid == 1724) f(text, 30, "T. %i", identificator);
else if(itemid == 1810 or itemid == 5995 or (itemid >= 2183 && itemid <= 3621)) f(text, 30, "LVL %i", GetStripeInfo(identificator, 0));
}
else f(text, 30, "");
return (time ? item_time : type);
}
new AccessoryKioskData[][accessoryKiosk];
Посмотрел тему сверил со слитым модам оказалось идентичным
100% у кого нету этого мода будут ошибки
arizona.pwn(84757) : error 017: undefined symbol "GetInventoryItemText"
arizona.pwn(84759) : error 017: undefined symbol "AccessoryKioskData"
Так-как автор их не указал укажу я
Pawn:stock GetInventoryItemText(playerid, cell_type, id, slot = 0, text[], upper_slot = false, time = false) { new type = 0, itemid, amount, identificator, enchant, color, item_time; f(text, 30, ""); switch cell_type do { case 0: itemid = Inventory[playerid][0][slot], amount = Inventory[playerid][1][slot], color = Inventory[playerid][2][slot], identificator = Inventory[playerid][3][slot], enchant = Inventory[playerid][4][slot], item_time = Inventory[playerid][6][slot]; /* player */ case 1: itemid = HouseInfo[id][hItem][slot], amount = HouseInfo[id][hItemCount][slot], color = HouseInfo[id][hItemColor][slot], identificator = HouseInfo[id][hItemIdentificator][slot], enchant = HouseInfo[id][hItemLevel][slot]; /* warehouse */ case 2: itemid = MusorInfo[id][mItem][slot], amount = MusorInfo[id][mItemCount][slot], color = MusorInfo[id][mItemColor][slot], identificator = MusorInfo[id][mItemIdentificator][slot], enchant = MusorInfo[id][mItemLevel][slot], item_time = MusorInfo[id][mItemTimer][slot]; /* trash */ case 3: itemid = TrunkInfo[id][tItem][slot], amount = TrunkInfo[id][tItemCount][slot], color = TrunkInfo[id][tItemColor][slot], identificator = TrunkInfo[id][tItemIdentificator][slot], enchant = TrunkInfo[id][tItemLevel][slot]; /* trunk */ case 4: itemid = CarInfo[id][cInvCell][slot], color = CarInfo[id][cInvCellColor][slot]; /* car */ case 5: itemid = Inventory[id >= 10 ? GetDataTrade(playerid, tradePlayer) : playerid][0][slot], amount = TradeInfo[id >= 10 ? GetDataTrade(playerid, tradePlayer) : playerid][tradeItemCount][id >= 10 ? id - 10 : id], identificator = Inventory[id >= 10 ? GetDataTrade(playerid, tradePlayer) : playerid][3][slot], enchant = Inventory[id >= 10 ? GetDataTrade(playerid, tradePlayer) : playerid][4][slot]; /* trade */ case 6: itemid = CentralMarketItems[id][pTemp[playerid][pCentralMarketSelectId]][1][slot], amount = CentralMarketItems[id][pTemp[playerid][pCentralMarketSelectId]][3][slot], identificator = Inventory[CentralMarket[id][crOwnedId]][3][CentralMarketItems[id][pTemp[playerid][pCentralMarketSelectId]][0][slot]]; case 7: itemid = AccessoryKioskData[id][acsKioskAccessory], amount = 1, identificator = AccessoryKioskData[id][acsKioskAccessoryIdentificator], color = AccessoryKioskData[id][acsKioskAccessoryColor], enchant = AccessoryKioskData[id][acsKioskAccessoryEnchant], item_time = AccessoryKioskData[id][acsKioskAccessoryTime]; default: itemid = id; } if(!(PI[playerid][pCustomInterface][4] && GetPlayerLauncher(playerid) == 1) && cell_type != 6 && item_time > 0 && cell_type == 0 or (cell_type == 2 && itemid && item_time > 0)) f(text, 30, "%s%d %s", (IsAAks(itemid) && cell_type == 0) ? "R:" : cell_type == 2 ? "B:" : "", UNIX_GET_TIME(item_time), UNIX_GET_TIME_NAME(item_time, false, bool:IsAAks(itemid))); else if(cell_type != 6 && ItemsInfo[itemid][itemAccesotySlot] != -1 && enchant) f(text, 30, "+%i", enchant); else if(cell_type != 6 && amount > 1) f(text, 30, "%i", amount); else if(cell_type != 6 && IsASkinInv(itemid)) f(text, 30, "ID:%i", ItemsInfo[itemid][itemModel]); else if(cell_type != 6 && TextFind(ItemsInfo[itemid][itemName], "[деталь тюнинга]")) f(text, 30, "TUNING"), type = 1; else if(cell_type != 6 && 603 <= itemid <= 626 && cell_type == 0) f(text, 30, "%i/100", Inventory[playerid][5][slot]); else if(cell_type != 6 && itemid >= 7345 && itemid <= 7349 or itemid == 7415) f(text, 30, "~w~SKIN ~n~STRIPE"), type = 2; else if(cell_type == 6 && CentralMarketItems[id][pTemp[playerid][pCentralMarketSelectId]][2][slot] > 0) f(text, 30, "%i BTC", CentralMarketItems[id][pTemp[playerid][pCentralMarketSelectId]][2][slot]), type = 3; else if(itemid == 7034) { new numberTypes[][] = {"clear_number_kz", "clear_number_ru", "clear_number_ua", "clear_number_by", "clear_number_usa"}, numberData[4][10]; if(upper_slot) sscanf(VehicleInfo[GetPlayerVehicleID(playerid)][vNumber], "P<,>a<s[10]>[4]", numberData); else f(numberData[0], 10, InventoryNumber[playerid][0][cell_type == 6 ? CentralMarketItems[id][pTemp[playerid][pCentralMarketSelectId]][0][slot] : slot]), f(numberData[1], 10, InventoryNumber[playerid][1][cell_type == 6 ? CentralMarketItems[id][pTemp[playerid][pCentralMarketSelectId]][0][slot] : slot]), f(numberData[2], 10, InventoryNumber[playerid][2][cell_type == 6 ? CentralMarketItems[id][pTemp[playerid][pCentralMarketSelectId]][0][slot] : slot]), f(numberData[3], 10, IntToStr(identificator)); if(!(PI[playerid][pCustomInterface][4] == 1 && GetPlayerLauncher(playerid) == 1)) SetString(ItemsInfo[itemid][itemTxd_name], (str_f("item_number:%s", strval(numberData[3]) == 4 ? numberUSA_Data[strval(numberData[1])][0] : numberTypes[strval(numberData[3])]))); f(text, 30, "%s(%s) %s%s", !(PI[playerid][pCustomInterface][4] == 1 && GetPlayerLauncher(playerid) == 1) ? "~r~" : "", strval(numberData[3]) == 4 ? numberUSA_Data[strval(numberData[1])][1] : numberData[1], !(PI[playerid][pCustomInterface][4] == 1 && GetPlayerLauncher(playerid) == 1) ? "~n~" : "", numberData[0]); type = 2; } else if(cell_type != 6 && identificator > 0) { if(itemid == 1724) f(text, 30, "T. %i", identificator); else if(itemid == 1810 or itemid == 5995 or (itemid >= 2183 && itemid <= 3621)) f(text, 30, "LVL %i", GetStripeInfo(identificator, 0)); } else f(text, 30, ""); return (time ? item_time : type); }
Pawn:new AccessoryKioskData[][accessoryKiosk];
Если будут ошибки оставляйте в этой теме
сделай пожалуйста фулл систему cefесли вам понравилась тема, можете поставить лайк
сейчас подкреплю готовый файлсделай пожалуйста фулл систему cef
да и вообще, ориг мод аризоны скиньсделай пожалуйста фулл систему cef
друг я вот что-то сматрю сейчас ты очень много чего не вставилсейчас подкреплю готовый файл
друг, всё ровно это не всё...готовый с кликами, благодарю
savindeveloper за мою ошибку
друг я вот что-то сматрю сейчас ты очень много чего не вставил
сейчас просмотрю и скажу чего нету и сам допишу в эту тему , но тебе спасибо за мотивациюготовый с кликами, благодарю
savindeveloper за мою ошибку
готовый с кликами, благодарю
savindeveloper за мою ошибку
enum accessoryKiosk
{
acsKioskBussinesID,
acsKioskAccessory[15],
acsKioskAccessoryPrice[15],
acsKioskAccessoryIdentificator[15],
acsKioskAccessoryEnchant[15],
acsKioskAccessoryColor[15],
acsKioskAccessoryMending[15],
acsKioskAccessoryTime[15],
acsKioskAccessoryRentID[15]
}
enum musorInfo
{
//mID,
mItem[150],
mItemCount[150],
mItemLevel[150],
mItemProc[150],
mItemIdentificator[150],
mItemColor[150],
mItemTimer[150]
}
enum tInfo
{
tOpen,
tItem[30],
tItemCount[30],
tItemLevel[30],
tItemProc[30],
tItemIdentificator[30],
tItemColor[30]
};
new Float:CentralMarketPosition[][] =
{
{1108.891235, -1456.265747, 15.839882, 90.0}, {1108.891235, -1442.765747, 15.839882, 90.0}, {1108.891235, -1438.265747, 15.839882, 90.0}, {1108.891235, -1433.765747, 15.839882, 90.0},
{1108.891235, -1460.765747, 15.839882, 90.0}, {1108.891235, -1465.265747, 15.839882, 90.0}, {1127.379761, -1438.382690, 15.839882, -90.0},{1127.379761, -1442.882690, 15.839882, -90.0},
{1127.379761, -1447.382690, 15.839882, -90.0},{1127.379761, -1451.882690, 15.839882, -90.0},{1127.379761, -1456.382690, 15.839882, -90.0},{1127.379761, -1460.882690, 15.839882, -90.0},
{1130.381714, -1438.265747, 15.839882, 90.0},{1130.381714, -1442.765747, 15.839882, 90.0},{1130.381714, -1447.265747, 15.839882, 90.0},{1130.381714, -1451.765747, 15.839882, 90.0},
{1130.381714, -1456.265747, 15.839882, 90.0},{1130.381714, -1460.765747, 15.839882, 90.0},{1148.389282, -1433.882690, 15.839882, -90.0},{1148.389282, -1438.382690, 15.839882, -90.0},
{1148.389282, -1442.882690, 15.839882, -90.0},{1148.389282, -1451.882690, 15.839882, -90.0},{1148.389282, -1456.382690, 15.839882, -90.0},{1148.389282, -1460.882690, 15.839882, -90.0},
{1148.389282, -1465.38269, 15.839882, -90.0},{1107.108154, -1472.996582, 15.839882, 70.0}, {1105.557983, -1477.374146, 15.839882, 70.0}, {1150.190308, -1473.239014, 15.839882, -70.0},
{1151.854492, -1477.803223, 15.839882, -70.0},{1118.607178, -1475.552490, 15.839882, -90.0},{1118.607178, -1484.552490, 15.839882, -90.0},{1118.607178, -1489.052490, 15.839882, -90.0},
{1118.607178, -1493.552490, 15.839882, -90.0},{1118.607178, -1502.552490, 15.839882, -90.0},{1138.081787, -1515.444458, 15.839882, -159.140060},{1134.158325, -1516.867920, 15.839882, -159.140060},
{1122.245117, -1517.034790, 15.839882, 161.099991},{1118.065796, -1515.548706, 15.839882, 161.099991},{1108.891235, -1449.364990, 15.839882, 90.0},{1096.981201, -1484.738647, 22.894651},
{1159.981567, -1493.728149, 22.894651, -179.999985},{1154.372314, -1484.676758, 22.894651},{1148.603394, -1484.670532, 22.894651},{1142.839722, -1484.654419, 22.894651},{1137.175415, -1484.646484, 22.894651},
{1120.357666, -1484.618164, 22.894651},{1114.622314, -1484.608032, 22.894651},{1108.499756, -1484.597290, 22.894651},{1102.840332, -1484.689575, 22.894651},{1096.864258, -1493.736694, 22.894651, -179.999985},
{1102.723389, -1493.687622, 22.894651, -179.999985},{1108.382813, -1493.595337, 22.894651, -179.999985},{1114.505371, -1493.606079, 22.894651, -179.999985},{1120.240723, -1493.616211, 22.894651, -179.999985},
{1137.058472, -1493.644531, 22.894651, -179.999985},{1142.722778, -1493.652466, 22.894651, -179.999985},{1148.486450, -1493.668579, 22.894651, -179.999985}, {1154.255371, -1493.674805, 22.894651, -179.999985},
{1160.098511, -1484.730103, 22.894651}
};
enum centralMarketInfo
{
crObject,
crOwnedId,
crStatusId
}
new CentralMarket[sizeof(CentralMarketPosition)][centralMarketInfo],
CentralMarketItems[sizeof(CentralMarketPosition)][2][4][300];
pCentralMarketSelectId
это же киоски как они тут связаны?вот просмотрел мод
всё что ты не указал в новой файле
Pawn:enum accessoryKiosk { acsKioskBussinesID, acsKioskAccessory[15], acsKioskAccessoryPrice[15], acsKioskAccessoryIdentificator[15], acsKioskAccessoryEnchant[15], acsKioskAccessoryColor[15], acsKioskAccessoryMending[15], acsKioskAccessoryTime[15], acsKioskAccessoryRentID[15] }
enum musorInfo - заменяем на
Pawn:enum musorInfo { //mID, mItem[150], mItemCount[150], mItemLevel[150], mItemProc[150], mItemIdentificator[150], mItemColor[150], mItemTimer[150] }
enum tInfo - заменяем на
Pawn:enum tInfo { tOpen, tItem[30], tItemCount[30], tItemLevel[30], tItemProc[30], tItemIdentificator[30], tItemColor[30] };
куда-то в начало мода
Pawn:new Float:CentralMarketPosition[][] = { {1108.891235, -1456.265747, 15.839882, 90.0}, {1108.891235, -1442.765747, 15.839882, 90.0}, {1108.891235, -1438.265747, 15.839882, 90.0}, {1108.891235, -1433.765747, 15.839882, 90.0}, {1108.891235, -1460.765747, 15.839882, 90.0}, {1108.891235, -1465.265747, 15.839882, 90.0}, {1127.379761, -1438.382690, 15.839882, -90.0},{1127.379761, -1442.882690, 15.839882, -90.0}, {1127.379761, -1447.382690, 15.839882, -90.0},{1127.379761, -1451.882690, 15.839882, -90.0},{1127.379761, -1456.382690, 15.839882, -90.0},{1127.379761, -1460.882690, 15.839882, -90.0}, {1130.381714, -1438.265747, 15.839882, 90.0},{1130.381714, -1442.765747, 15.839882, 90.0},{1130.381714, -1447.265747, 15.839882, 90.0},{1130.381714, -1451.765747, 15.839882, 90.0}, {1130.381714, -1456.265747, 15.839882, 90.0},{1130.381714, -1460.765747, 15.839882, 90.0},{1148.389282, -1433.882690, 15.839882, -90.0},{1148.389282, -1438.382690, 15.839882, -90.0}, {1148.389282, -1442.882690, 15.839882, -90.0},{1148.389282, -1451.882690, 15.839882, -90.0},{1148.389282, -1456.382690, 15.839882, -90.0},{1148.389282, -1460.882690, 15.839882, -90.0}, {1148.389282, -1465.38269, 15.839882, -90.0},{1107.108154, -1472.996582, 15.839882, 70.0}, {1105.557983, -1477.374146, 15.839882, 70.0}, {1150.190308, -1473.239014, 15.839882, -70.0}, {1151.854492, -1477.803223, 15.839882, -70.0},{1118.607178, -1475.552490, 15.839882, -90.0},{1118.607178, -1484.552490, 15.839882, -90.0},{1118.607178, -1489.052490, 15.839882, -90.0}, {1118.607178, -1493.552490, 15.839882, -90.0},{1118.607178, -1502.552490, 15.839882, -90.0},{1138.081787, -1515.444458, 15.839882, -159.140060},{1134.158325, -1516.867920, 15.839882, -159.140060}, {1122.245117, -1517.034790, 15.839882, 161.099991},{1118.065796, -1515.548706, 15.839882, 161.099991},{1108.891235, -1449.364990, 15.839882, 90.0},{1096.981201, -1484.738647, 22.894651}, {1159.981567, -1493.728149, 22.894651, -179.999985},{1154.372314, -1484.676758, 22.894651},{1148.603394, -1484.670532, 22.894651},{1142.839722, -1484.654419, 22.894651},{1137.175415, -1484.646484, 22.894651}, {1120.357666, -1484.618164, 22.894651},{1114.622314, -1484.608032, 22.894651},{1108.499756, -1484.597290, 22.894651},{1102.840332, -1484.689575, 22.894651},{1096.864258, -1493.736694, 22.894651, -179.999985}, {1102.723389, -1493.687622, 22.894651, -179.999985},{1108.382813, -1493.595337, 22.894651, -179.999985},{1114.505371, -1493.606079, 22.894651, -179.999985},{1120.240723, -1493.616211, 22.894651, -179.999985}, {1137.058472, -1493.644531, 22.894651, -179.999985},{1142.722778, -1493.652466, 22.894651, -179.999985},{1148.486450, -1493.668579, 22.894651, -179.999985}, {1154.255371, -1493.674805, 22.894651, -179.999985}, {1160.098511, -1484.730103, 22.894651} }; enum centralMarketInfo { crObject, crOwnedId, crStatusId } new CentralMarket[sizeof(CentralMarketPosition)][centralMarketInfo], CentralMarketItems[sizeof(CentralMarketPosition)][2][4][300];
добавляем в _temp_
Pawn:pCentralMarketSelectId
После этого Error не будет
друг они тут связаны , ты когда что-то копируешь хоть читай чтоэто же киоски как они тут связаны?