Jump to content
Dmitri Medeleiv

Line to access InventoryItem with IsInventoryItem

Recommended Posts

Evening ! I spent the last 2 days trying to find if a player has a particular item in his inventory.

I saw with the workbench that there is a function IsInventoryItem. It supposed to return a bool but when I put a line like : bool reply = player.IsInventoryItem(apple);  bool reply = player.IsInventoryItem("apple");  or it just crashed when it start .

Is anybody know how to make that work ! thanks !

Edited by Dmitri Medeleiv

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×