Jump to content

getting items info. that's on the ground.


quadrinka4

Recommended Posts

Hello, I have another question here ^^

 

my question is: how do I call a method that look up items that are laying or dropped near the player??

 

For example, I know    getPlayer():getInventory():getNumItems("name"); looks up the number of item in a player inventory. 

However, I want a method that looks up the number of both 'main inventory' and 'ground ' items. 

Maybe GetWorldItem() does the trick? 

 

Thanks in advance.  

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...