otavio53 Posted January 3, 2019 Posted January 3, 2019 olá, alguém poderia me manda um script onde quem tiver com a tag de mecânico poder da o comando /reparar que faria com que o carro que estiver na frente dele ficasse full HP
DNL291 Posted January 5, 2019 Posted January 5, 2019 community.multitheftauto.com Please do not PM me with scripting related question nor support, use the forums instead.
Tommy. Posted January 5, 2019 Posted January 5, 2019 a tag está em ACL? DID I HELP YOU? ________________________________________________________________________ ム MY STEAM ________________________________________________________________________ MY SITE www.tommy.br.com
Tommy. Posted January 7, 2019 Posted January 7, 2019 Fiz aqui rápidão para você, bom ele não repara o veículo que está na frente e sim o veículo que ele está dentro (= acl = "Mecanico" function mecRepair(source) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup(acl)) then if getPedOccupiedVehicle(source) then fixVehicle(getPedOccupiedVehicle(source)) end end end addCommandHandler("reparar", mecRepair) EDIT: i did not tested DID I HELP YOU? ________________________________________________________________________ ム MY STEAM ________________________________________________________________________ MY SITE www.tommy.br.com
otavio53 Posted January 7, 2019 Author Posted January 7, 2019 (edited) Não, não foi Edited January 7, 2019 by otavio53
Moderators Lord Henry Posted January 7, 2019 Moderators Posted January 7, 2019 Ative o /debugscript 3 e mostre o erro. Eu te ajudei ou achou meu comentário útil? Não esqueça de deixar um Thanks! Minhas contribuições para a comunidade: LordHenry - MTA Wiki Profile Inscreva-se no meu canal do YouTube: Lord Henry - Entertainment Discord Oficial do MTA: https://mtasa.com/discord Blacklist e Whitelist de Scripters: Planilha Por favor, não me envie mensagens privadas solicitando suporte. Crie um tópico no fórum em vez disso.
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