08.08.2018, 14:54
Hi guys
My questions is;
What is better to do
1)
2)
Every time when player want to use bag-inventory : select query
I want to make that player can save all weapons in Inventory + there are some items on my server which player can save in inventory
First 34 ID(from array) i need to reserve for weapons,other for my items.
So i don't know is it wrong to do with select query(When player want to see his inventory+when want to use bag-inventory).
Player can save all items in bag,but he don't will save every weapon,every items etc.So I think that is better select query,but i'm not sure is it good for server.
My questions is;
What is better to do
1)
Код:
new Inventory[MAX_PLAYERS][50];
Every time when player want to use bag-inventory : select query
I want to make that player can save all weapons in Inventory + there are some items on my server which player can save in inventory
First 34 ID(from array) i need to reserve for weapons,other for my items.
So i don't know is it wrong to do with select query(When player want to see his inventory+when want to use bag-inventory).
Player can save all items in bag,but he don't will save every weapon,every items etc.So I think that is better select query,but i'm not sure is it good for server.