zharrane / Knock-out-Script

Knock out script for Fivem GTA V servers
6 stars 4 forks source link

knockout #1

Open ryan11444 opened 3 years ago

ryan11444 commented 3 years ago

Can you make it so you won't die from fists at all? You will just keep getting knocked out?

zharrane commented 3 years ago

Hello, I'm sorry I didn't understand what you seek exactly. if you don't want the character to die upon the knockout you just have to change the line: https://github.com/zharrane/Knock-out-Script/blob/467f14521269a8a3d251c13bcd14992f027e8cd3/unarmed_knockout.lua#L52

Make it true instead of false but keep in mind people can always exploit it to get healed because the script return them with full health so in any fighting scenario this can be exploited