Rolplay Posted December 28, 2020 Share Posted December 28, 2020 Hi! I just started to make a hud-system, but i can't resume my system, because i'dont know, how to make this: I have a stickman png, and i want to make an injury system.I want to make if the player hits a car, jump from high ground etc... the player break their bones, and it's visible on the stickman, and the player can't kick, punch shoot etc. What functions i need to use? Ty all Link to comment
Moderators Patrick Posted December 28, 2020 Moderators Share Posted December 28, 2020 You have to use one of onDamage events to detect hits/falls/etc, onPlayerDamage for example. And you can disable jumping/shooting with toggleControl. 1 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