#Custom element

1 messages · Page 1 of 1 (latest)

quasi sky
#

To be able to create our own button, our own page, etc... In lua or other to be able for example to insert a button to give money to a person under ESX, QB....

modest kindle
#

Wont happen

#

txAdmin is framework agnostic

#

This whole suggestion is weird, what is the purpose of this? I don't get it

quasi sky
#

So make an addon for this? it might work and it will be optional then

modest kindle
#

txAdmin doesnt have "addons" or something

quasi sky
#

Reduce from 2 admin menu to one for example

modest kindle
#

I really don't understand what you mean

#

2 admin menu?

quasi sky
#

I have an administration menu on a F5 menu to manage everything that is ESX for the player and the other one that is TxAdmin for all the sanctions, whitelist and other

lofty badgeBOT
modest kindle
#

Won't happen

#

Like i said, txAdmin is framework agnostic

#

Should never depend on a framework in any way possible

hot lantern
#

Plus you can just do the command and it's just as easy

atomic stag
#

2019

#

to be fair that one idea was squashed and even deleted from code by cfx when we merged

#

@quasi sky Contrary to what yorick said, i actually want to add something like that, but it's very low priority.

#

@modest kindle We can still add them and still be framework-agnostic, we just have to provide an interface that every framework can use

modest kindle
#

Hmm im curious on how something like that would work tho

quasi sky
#

ok ty

atomic stag
#

but doable

pliant orchid
#

To allow resources to define options

atomic stag
#

SHOWING information would be pretty simple

#

basically an tx api they would "register" their endpoint (maybe an export?) which would provide a markdown of a certain player

#

so when you click to open a player modal, tx would query the endpoint or export to get the data

#

but, to register buttons n such would be waaaay harder

pliant orchid
#

Yeah

#

Unless theirs functions provided

#

To add buttons

#

But that is still alot of work and weirdness

modest kindle
#

Like a kind of "soundboard" idea but for buttons with functions attached

#

Is that how i should imagine it

modest kindle
#

Oh that would be nice

atomic stag
#

would be a new tab

pliant orchid
#

a new tab for each resource?

#

or just for custom?

atomic stag
#

each

pliant orchid
#

so more like that?