EngMohamedLish Posted June 7, 2015 Share 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? Link to comment
Walid Posted June 7, 2015 Share 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() Link to comment
EngMohamedLish Posted June 7, 2015 Author Share 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? Link to comment
EngMohamedLish Posted June 8, 2015 Author Share 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? Link to comment
Castillo Posted June 8, 2015 Share 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. Link to comment
EngMohamedLish Posted June 8, 2015 Author Share 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. 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