28.12.2014, 12:01
This thing is anonying .. and there is no LOGIC here
You said to the server to check if(Player[playerid][InventorySlot1Item] == 1 if it IS 1 , he'll continue , and after it you're telling hem if it's not 1 he will continue , there is a misunderstanding to your form , try to do the inverse in your code , or Start debuging the code , it will never work like that ..
for advance help : tell me if it gives you the USAGE or no .
PHP код:
if(Player[playerid][InventorySlot1Item] == 1)
{
if(Player[id][InventorySlot1Item] != 1 || Player[id][InventorySlot2Item] != 1 || Player[id][InventorySlot3Item] != 1 || Player[id][InventorySlot4Item] != 1 || Player[id][InventorySlot5Item] != 1 || Player[id][InventorySlot6Item] != 1 || Player[id][InventorySlot7Item] != 1 || Player[id][InventorySlot8Item] != 1 ||
Player[id][InventorySlot9Item] != 1 || Player[id][InventorySlot10Item] != 1 || Player[id][InventorySlot11Item] != 1 || Player[id][InventorySlot12Item] != 1)
{
if(Player[id][InventorySlot1Item] == 0)
{
for advance help : tell me if it gives you the USAGE or no .