Jump to content

Preciso saber como colocar permissão de ACL


Recommended Posts

É um script de pagamento de corporações, quero que apenas X ACL receba o pegamento, como faço isso? E me corrigem se ouver algum erro kk

6 minutes ago, Tricky_ said:


local Pagamento = {6565656}

function Pagar (source)
local Money_Pagamento = Pagamento[math.random(#Pagamento)]

outputChatBox ('#ffffff     -------- PAGAMENTO DE MILITAR --------',getRootElement(),255,255,255,true)
outputChatBox (' ',getRootElement(),255,255,255,true)
outputChatBox ('#00ff15          O Governo Lhe Pagou: #FFFFFF'..Money_Pagamento,getRootElement(),255,255,255,true)
outputChatBox (' ',getRootElement(),255,255,255,true)
outputChatBox ('#ffffff----------------------------------------------------',getRootElement(),255,255,255,true)
givePlayerMoney (getRootElement(),Money_Pagamento)
end
addCommandHandler ( "pagar", Pagar )

 

Edited by Tricky_
Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...