otavio53 Posted January 3, 2019 Share 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 Link to comment
DNL291 Posted January 5, 2019 Share Posted January 5, 2019 community.multitheftauto.com Link to comment
BrunoGPBR Posted January 7, 2019 Share Posted January 7, 2019 otavio , voce conseguiu arrumar? Link to comment
Tommy. Posted January 7, 2019 Share 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 Link to comment
otavio53 Posted January 7, 2019 Author Share Posted January 7, 2019 (edited) Não, não foi Edited January 7, 2019 by otavio53 Link to comment
Other Languages Moderators Lord Henry Posted January 7, 2019 Other Languages Moderators Share Posted January 7, 2019 Ative o /debugscript 3 e mostre o erro. 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