#meS Posted August 20, 2015 Posted August 20, 2015 hello is there a way to cancel player death and then set animation for him?
mehmet145 Posted August 20, 2015 Posted August 20, 2015 https://wiki.multitheftauto.com/wiki/OnClientPlayerWasted https://wiki.multitheftauto.com/wiki/SetPedAnimation
#meS Posted August 20, 2015 Author Posted August 20, 2015 Ok thank you but if I set the animation on client side will players be able to see it?
Walid Posted August 20, 2015 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)
#meS Posted August 20, 2015 Author 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.
t3wz Posted August 20, 2015 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.
#meS Posted August 20, 2015 Author 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)
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