eqFoxim Posted November 3, 2020 Share Posted November 3, 2020 Queria uma base de quais funções usar para quando o player cair com o veiculo na agua o veiculo automaticamente se destruir. Link to comment
Santi Posted November 3, 2020 Share Posted November 3, 2020 https://wiki.multitheftauto.com/wiki/IsElementInWater Link to comment
ber Posted November 7, 2020 Share Posted November 7, 2020 function refreshVeh() for i, v in pairs(getElementsByType("vehicle")) do if isElementInWater(v) then destroyElement(v) end end end setTimer(refreshVeh, 10000, 1) 1 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