EngMohamedLish Posted June 7, 2015 Posted June 7, 2015 I would like to check if the player was dead, before he quit from the server. What functions used for that?
Walid Posted June 7, 2015 Posted June 7, 2015 I would like to check if the player was dead, before he quit from the server. What functions used for that? isPedDead()
EngMohamedLish Posted June 7, 2015 Author Posted June 7, 2015 I would like to check if the player was dead, before he quit from the server. What functions used for that? isPedDead() But, how will it check if the player was dead, after he quit and join again? I mean, If a player dies, and quit, then joins again. How can i check if he was dead, before he quit? this "isPedDead' won't be enough?
EngMohamedLish Posted June 8, 2015 Author Posted June 8, 2015 I would like to check if the player was dead, before he quit from the server. What functions used for that? isPedDead() But, how will it check if the player was dead, after he quit and join again? I mean, If a player dies, and quit, then joins again. How can i check if he was dead, before he quit? this "isPedDead' won't be enough? anything? Anyone help, please?
Castillo Posted June 8, 2015 Posted June 8, 2015 You can save the health the player had when he left the server, and when he logs in, check if the health saved is 0.
EngMohamedLish Posted June 8, 2015 Author Posted June 8, 2015 You can save the health the player had when he left the server, and when he logs in, check if the health saved is 0. Aha Made it man! Thanks a lot for this way ! Appreciate 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