Gomes Posted August 13, 2022 Share Posted August 13, 2022 I've a command "/revis playerid", but I want to make this command in a dxpanel, how I do that? addEvent('Suspiro.getInteractions', true) addEventHandler('Suspiro.getInteractions', root, function (player, element) local interactions = {} local type = getElementType(element) table.insert(interactions, {'Fechar', 'files/icons/cross_x.png'}) if type == 'player' then table.insert(interactions, {'Enviar Dinheiro', 'files/icons/pay.png', 'Suspiro.payMoneyDX', client = true}) table.insert(interactions, {'Beijar', 'files/icons/kiss.png', 'Suspiro.KissSolicitation'}) table.insert(interactions, {'Revistar', 'files/icons/detector.png', 'Suspiro.revistarJogador'}) if isObjectInACLGroup("user." ..getAccountName(getPlayerAccount(player)), aclGetGroup (config['ACLs'].policial)) then table.insert(interactions, {'Revistar Ilegais', 'files/icons/list.png', 'Armas'}) <<<<<<-- Instead of 'Armas" I want execute a command like (revis playerid) Link to comment
roaddog Posted August 15, 2022 Share Posted August 15, 2022 https://wiki.multitheftauto.com/wiki/DxDrawImage https://wiki.multitheftauto.com/wiki/OnClientRender Link to comment
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 accountSign in
Already have an account? Sign in here.
Sign In Now