oscar-broman / samp-weapon-config

A more consistent and responsive damage system with many new features
Apache License 2.0
93 stars 83 forks source link

Knife #270

Open raedman90 opened 11 months ago

raedman90 commented 11 months ago

Is there any way to disable knife kill? The one that kills the player in the back

PazzOnee commented 10 months ago

You can do it with OnPlayerKeyStateChange (KEY_HANDBRAKE), check if player on foot and hold knife, than freeze or slap etc.

NexiusTailer commented 8 months ago

Yes, you can disable it. Use SetKnifeSync function.