#meS Posted August 20, 2015 Share Posted August 20, 2015 hello is there a way to cancel player death and then set animation for him? Link to comment
mehmet145 Posted August 20, 2015 Share Posted August 20, 2015 https://wiki.multitheftauto.com/wiki/OnClientPlayerWasted https://wiki.multitheftauto.com/wiki/SetPedAnimation Link to comment
#meS Posted August 20, 2015 Author Share Posted August 20, 2015 Ok thank you but if I set the animation on client side will players be able to see it? Link to comment
Walid Posted August 20, 2015 Share Posted August 20, 2015 Ok thank you but if I set the animation on client side will players be able to see it? no, (server side) Link to comment
#meS Posted August 20, 2015 Author Share Posted August 20, 2015 Ok thank you but if I set the animation on client side will players be able to see it? no, (server side) thank you https://wiki.multitheftauto.com/wiki/OnClientPlayerWastedhttps://wiki.multitheftauto.com/wiki/SetPedAnimation i tried to cancel player death but not working. Link to comment
t3wz Posted August 20, 2015 Share Posted August 20, 2015 i tried to cancel player death but not working. you can't cancel the event onClientPlayerWasted, you could try to do some checks in onClientPlayerDamage to see if player will dead with the damage and then cancel this event, make the player invincible and apply the animation to him. Link to comment
#meS Posted August 20, 2015 Author Share Posted August 20, 2015 i tried to cancel player death but not working. you can't cancel the event onClientPlayerWasted, you could try to do some checks in onClientPlayerDamage to see if player will dead with the damage and then cancel this event, make the player invincible and apply the animation to him. thank you! i made it. but it doesn't set the animation (i used trigger so players can see it) 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