Jump to content
  • 0

add item for player with code in player.cs [dev]


nvh
 Share

Question

How to add a item with name and mount?

foreach (object item in items)

if (item.name == “gold”)

    { additem(item, 50000);}
}

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

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
 Share

×
×
  • Create New...