Tricky_ Posted August 27, 2019 Posted August 27, 2019 (edited) É 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 August 27, 2019 by Tricky_
DNL291 Posted August 27, 2019 Posted August 27, 2019 getElementsByType isPlayerInACL - função útil, inclua o código no script Próxima vez lembre-se de postar na seção Portuguese / Português. @Tricky_
Tricky_ Posted August 28, 2019 Author Posted August 28, 2019 4 hours ago, DNL291 said: getElementsByType isPlayerInACL - função útil, inclua o código no script Próxima vez lembre-se de postar na seção Português / Português. @Complicado_ Sou meio que novato nisso man, poderia por favor montar essa linha no meu Código?
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