brentN5 / bt-target

GNU General Public License v3.0
36 stars 52 forks source link

Help #25

Open gfxanuj123 opened 3 years ago

gfxanuj123 commented 3 years ago

How can i add a event which is like this TriggerEvent("server-inventory-open", "1", "Shop") When adding this on event field its not Working :-

options = { { event = "server-inventory-open","1","Shop", icon = "fas fa-coffe", label = "shop", }, },

LiamDormon commented 3 years ago

Correct, that's now how it works

gfxanuj123 commented 3 years ago

Ok then thanks for your reply

gfxanuj123 commented 3 years ago

But is there any way to make them work?

LiamDormon commented 3 years ago

No, it doesn't trigger an event with parameters, you need to set it up properly