Pimenta Posted August 18, 2020 Share Posted August 18, 2020 QUERO QUE QUANDO DER UM COMANDO A PESSOA QUE DEU O COMANDO FICAR IMORTAL! Link to comment
Administrators Tut Posted August 18, 2020 Administrators Share Posted August 18, 2020 Thread has been moved to a more appropriate board, https://forum.multitheftauto.com/forum/97-portuguese-português/ Link to comment
Boechat Posted August 18, 2020 Share Posted August 18, 2020 Coloca esse script no lado do client e vê se vai funcionar, fiz sem testar: Pra ficar imortal ou mortal novamente digite /imortal no chat function imortal ( attacker, weapon, bodypart ) if getElementData (source,"Imortal") then cancelEvent () end end addEventHandler ( "onClientPlayerDamage", getLocalPlayer(), imortal ) addCommandHandler("imortal", function () if getElementData(source,"Imortal") then setElementData(source,"Imortal", false) else setElementData(source,"Imortal", true) end end) 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