Зарегистрировавшись у нас, вы сможете обсуждать, делиться и отправлять личные сообщения другим участникам нашего сообщества.
Зарегистрироваться!cmd:cefinv(playerid)
{
executeEvent(playerid, 0, "window.executeEvent('event.setActiveView', '[\"Inventory\"]');");
executeEvent(playerid, 0, "window.executeEvent('event.inventory.setPlayerInventoryVisible', '[true]');");
executeEvent(playerid, 0, "window.executeEvent('event.inventory.updateCharacterTab', '[\"character\"]');");
executeEvent(playerid, 0, "window.executeEvent('event.inventory.updateMenu', '[\"menu\"]');");
executeEvent(playerid, 0, "window.executeEvent('event.inventory.updateCars', '[\"cars\"]');");
executeEvent(playerid, 0, "window.executeEvent('event.inventory.Help', '[\"help\"]');");
executeEvent(playerid, 0, "window.executeEvent('event.inventory.playerInventory', '[{\"action\":0,\"data\":{\"type\":2,\"items\":[{\"slot\":99},{\"slot\":100},{\"slot\":101},{\"slot\":102},{\"slot\":103},{\"slot\":104}]}}]');");
executeEvent(playerid, 0, "window.executeEvent('event.inventory.playerInventory', '[{\"action\":0,\"data\":{\"type\":17,\"items\":[{\"slot\":0}]}}]');");
executeEvent(playerid, 0, "window.executeEvent('event.inventory.playerInventory', '[{\"action\":0,\"data\":{\"type\":17,\"items\":[{\"slot\":1}]}}]');");
executeEvent(playerid, 0, "window.executeEvent('event.inventory.playerInventory', '[{\"action\":0,\"data\":{\"type\":17,\"items\":[]}}]');");
executeEvent(playerid, 0, "window.executeEvent('event.inventory.playerInventory', '[{\"action\":0,\"data\":{\"type\":10,\"items\":[{\"slot\":0}]}}]');");
executeEvent(playerid, 0, "window.executeEvent('event.inventory.playerInventory', '[{\"action\":0,\"data\":{\"type\":22,\"items\":[{\"slot\":0,\"item\":2970,\"amount\":1,\"text\":\"ID:824\",\"available\":1,\"time\":0}]}}]');");
executeEvent(playerid, 0, "window.executeEvent('event.inventory.playerInventory', '[{\"action\":1,\"data\":{\"skin\":{\"model\":836,\"background\":-1},\"security\":1,\"buttons\":2049}}]');");
executeEvent(playerid, 0, "window.executeEvent('event.inventory.playerInventory', '[{\"action\":0,\"data\":{\"type\":1,\"items\":[{\"slot\":5}]}}]');");
executeEvent(playerid, 0, "window.executeEvent('event.inventory.playerInventory', '[{\"action\":0,\"data\":{\"type\":1,\"items\":[{\"slot\":6}]}}]');");
executeEvent(playerid, 0, "window.executeEvent('event.inventory.playerInventory', '[{\"action\":0,\"data\":{\"type\":1,\"items\":[{\"slot\":7}]}}]');");
executeEvent(playerid, 0, "window.executeEvent('event.inventory.playerInventory', '[{\"action\":0,\"data\":{\"type\":1,\"items\":[{\"slot\":90,\"item\":1234,\"amount\":2,\"text\":\"\",\"available\":1,\"time\":0,\"enchant\":0,\"color\":0,\"background\":858993663}]}}]');");
cursorPlayer(playerid, 0, true);
return;
}
как его вклну вот на код крч слил sanyacoder ему спасибоPawn:cmd:cefinv(playerid) { executeEvent(playerid, 0, "window.executeEvent('event.setActiveView', '[\"Inventory\"]');"); executeEvent(playerid, 0, "window.executeEvent('event.inventory.setPlayerInventoryVisible', '[true]');"); executeEvent(playerid, 0, "window.executeEvent('event.inventory.updateCharacterTab', '[\"character\"]');"); executeEvent(playerid, 0, "window.executeEvent('event.inventory.updateMenu', '[\"menu\"]');"); executeEvent(playerid, 0, "window.executeEvent('event.inventory.updateCars', '[\"cars\"]');"); executeEvent(playerid, 0, "window.executeEvent('event.inventory.Help', '[\"help\"]');"); executeEvent(playerid, 0, "window.executeEvent('event.inventory.playerInventory', '[{\"action\":0,\"data\":{\"type\":2,\"items\":[{\"slot\":99},{\"slot\":100},{\"slot\":101},{\"slot\":102},{\"slot\":103},{\"slot\":104}]}}]');"); executeEvent(playerid, 0, "window.executeEvent('event.inventory.playerInventory', '[{\"action\":0,\"data\":{\"type\":17,\"items\":[{\"slot\":0}]}}]');"); executeEvent(playerid, 0, "window.executeEvent('event.inventory.playerInventory', '[{\"action\":0,\"data\":{\"type\":17,\"items\":[{\"slot\":1}]}}]');"); executeEvent(playerid, 0, "window.executeEvent('event.inventory.playerInventory', '[{\"action\":0,\"data\":{\"type\":17,\"items\":[]}}]');"); executeEvent(playerid, 0, "window.executeEvent('event.inventory.playerInventory', '[{\"action\":0,\"data\":{\"type\":10,\"items\":[{\"slot\":0}]}}]');"); executeEvent(playerid, 0, "window.executeEvent('event.inventory.playerInventory', '[{\"action\":0,\"data\":{\"type\":22,\"items\":[{\"slot\":0,\"item\":2970,\"amount\":1,\"text\":\"ID:824\",\"available\":1,\"time\":0}]}}]');"); executeEvent(playerid, 0, "window.executeEvent('event.inventory.playerInventory', '[{\"action\":1,\"data\":{\"skin\":{\"model\":836,\"background\":-1},\"security\":1,\"buttons\":2049}}]');"); executeEvent(playerid, 0, "window.executeEvent('event.inventory.playerInventory', '[{\"action\":0,\"data\":{\"type\":1,\"items\":[{\"slot\":5}]}}]');"); executeEvent(playerid, 0, "window.executeEvent('event.inventory.playerInventory', '[{\"action\":0,\"data\":{\"type\":1,\"items\":[{\"slot\":6}]}}]');"); executeEvent(playerid, 0, "window.executeEvent('event.inventory.playerInventory', '[{\"action\":0,\"data\":{\"type\":1,\"items\":[{\"slot\":7}]}}]');"); executeEvent(playerid, 0, "window.executeEvent('event.inventory.playerInventory', '[{\"action\":0,\"data\":{\"type\":1,\"items\":[{\"slot\":90,\"item\":1234,\"amount\":2,\"text\":\"\",\"available\":1,\"time\":0,\"enchant\":0,\"color\":0,\"background\":858993663}]}}]');"); cursorPlayer(playerid, 0, true); return; }
/cefinvкак его вкл
error 017: undefined symbol "cursorPlayer"/cefinv
как найтинайди переменную связанную с курсором для цефа
все зделал спасибонайди переменную связанную с курсором для цефа