JBob

Member
JBob submitted a new resource:

Beginner Guide’s: Context Menus - Learn about Context Menus

Context Menus​


So you’ve made a cool item, but now you want players to be able to interact with it — maybe "Buy" something or "Clear" it with a click. That’s where context menus come in.

When a player left-clicks your item (yep, left-click — not right), they get a dropdown of options. Let’s walk through how to build your own:

  • Add new menu entries
  • Detect player vs staff
  • Add logic for each entry
  • Hook it all into your item

---...

Read more about this resource...
 
In your FAQ you state:
Q: Do I have to use Cliloc IDs?
No! You can set a custom label with Text = "My Option".
Where would I add this in to come code?
 

Active Shards

Donations

Total amount
$0.00
Goal
$500.00
Back