mohamedgalal22 Posted June 13, 2020 Share Posted June 13, 2020 i want get knock out mod to my server please if you can help me please 1 Link to comment
MrKAREEM Posted June 18, 2020 Share Posted June 18, 2020 create your custom animation using 3ds max then use these functions for importing,replacing ect EngineLoadIFP load an IFP file EngineReplaceAnimation replace your customs animations with another gta animations you can do the knock out using these functions : OnClientPlayerDamage when the player damaged GetElementHealth check if his health < 10 so set his health to 100 for the knock out health SetPedAnimation set the animation to him SetTimer make timer for decreasing his health by getElementHealth - 10 SetElementHealth change the player health if you want to make a revive system you need these functions : GetDistanceBetweenPoints3D get the distance between two 3 dimensional points BindKey bind a key SetTimer make a timer for revive the player or make your custom progress bar SetPedAnimation to let the player move freely again SetElementHealth change the player health to 75% or any value you want KillTimer to kill any existing timers. hope i helped you ! 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