Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Help

$
0
0
Code:

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.

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>