[Pedido] Inventario
#5

Bom vou tentar explicar de uma maneira simples..

Vocк precisa criar uma array pra armazenar os itens do seu inventбrio

Exemplo:

new Inventary[MAX_PLAYERS][10];

Digamos que se o valor й igual a 0, o slot estб vazio.

for(new i = 0; i < 10; i ++)
if(Inventary[playerid][i] == 0)
Inventary[playerid][i] = itemid;
break;
Reply


Messages In This Thread
Inventario - by JuniorTheDM - 15.08.2015, 21:50
Re: Inventario - by n0minal - 16.08.2015, 00:07
Re: Inventario - by CaioTJF - 16.08.2015, 00:07
Re: Inventario - by JuniorTheDM - 16.08.2015, 00:12
Re: Inventario - by CaioTJF - 16.08.2015, 00:16
Re: Inventario - by JuniorTheDM - 16.08.2015, 00:19
Re: Inventario - by CaioTJF - 16.08.2015, 00:56
Re: Inventario - by JuniorTheDM - 16.08.2015, 01:03
Re: Inventario - by CaioTJF - 16.08.2015, 01:05
[No subject] - by JuniorTheDM - 16.08.2015, 01:16

Forum Jump:


Users browsing this thread: 1 Guest(s)