Skip to content

Instantly share code, notes, and snippets.

@Vel30
Vel30 / inventory.pwn
Last active October 19, 2021 14:15
Sistema de inventário simples.
#include <a_samp>
#include <Pawn.CMD> // https://github.com/katursis/Pawn.CMD
#include <sscanf2> // https://github.com/maddinat0r/sscanf
#define MAX_ITEMS 16
#define MAX_PLAYER_ITEMS 10
const Item: INVALID_ITEM = Item: -1;
const MAX_ITEM_NAME = 32;