#1

Код:
if (!Inventory_HasItem(playerid, "Weapon License A") || !Inventory_HasItem(playerid, "Weapon License B") || !Inventory_HasItem(playerid, "Weapon License C")
		                return SendErrorMessage(playerid, "You are not allowed to purchase from here without a weapon license.");
Should be working like, if you don't have license A, it should see if you don't have B and then it should check if you don't have C. If you don't have it should print the error. But in-game I can buy the item with Weapon License C ONLY, not with A or B.

Help with fixing that, no any errors while compiling.
Reply


Messages In This Thread
Help - by BluePlayBG - 04.01.2018, 19:05
Re: Help - by RogueDrifter - 04.01.2018, 19:06
Re: Help - by rfr - 04.01.2018, 19:07

Forum Jump:


Users browsing this thread: 1 Guest(s)