Paintball MTA Game Posted August 14, 2023 Posted August 14, 2023 Olá, estou editando um mapa e gostaria de saber se tem como envenenar o rio para quando cair ou tentar nadar nele, morrer. Obrigado.
Other Languages Moderators Lord Henry Posted August 14, 2023 Other Languages Moderators Posted August 14, 2023 Sim, é possível. Utilize isElementInWater para saber se o jogador está na água, junto com getElementPosition para saber se ele está dentro do mapa (evitar que tome dano em outras águas fora do mapa) e para dar o dano, use getElementHealth junto com setElementHealth.
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