← Scripts e bibliotecas
Coystark/MenuStore
Lib created for internal use on the most popular SA-MP server in Latin America.
Biblioteca★ 12atualizado fev. de 2026Sem licençaPawnsampctl
Abrir no GitHubEste repositório não tem arquivo de licença. Ele é público para leitura, mas isso sozinho não dá permissão para reutilizar.
Instalar com o sampctl
sampctl package install Coystark/MenuStore
Execute na pasta do seu projeto. O sampctl baixa o pacote e as dependências dele.
Usado por 1 pacote
README.md
MenuStore
MenuStore is a lightweight SA-MP include that lets you create configurable in-game stores using Textdraws.
Features
- Create multi-page item stores with descriptions and previews
- Built-in cart with limited slots and total value display
- Optional easyDialog support if available
- Localizable strings (English by default; PT-BR and Spanish provided)
Preview
Quick links
- English README: README.md
- Português (pt-BR): README.pt-BR.md
- Español: README.es.md -- Example store script: examples/example.pwn
Documentation https://sampforum.blast.hk/showthread.php?tid=644913
Quick start
- Place the include in your
includesfolder and add#include <MenuStore>to your script. - Add items with
MenuStore_AddItem(...)before showing a store to a player. - Show the store using
MenuStore_Show(playerid, StoreID, "Store Name");
Example (very short)
- Add items:
MenuStore_AddItem(playerid, 1, 342, "Grenade", 500, "Throw to explode.", 200);
- Show the store:
MenuStore_Show(playerid, Weapon_Shop, "Weapon Shop");
- Implement the store callback (see examples/newStore_example.pwn for a full sample):
Store:Weapon_Shop(playerid, response, itemid, modelid, price, amount, itemname[])
Notes
- The include provides optional Portuguese and Spanish default text when
MENUSTORE_PTBRorMENUSTORE_SPANISHare defined before including. - Keep
MS_MAX_ITEMSand other macros configurable in your project if needed.
Esta página é montada com o que o GitHub publica sobre o repositório. O samp.directory não hospeda o código. Avisar de um problema com esta página