[CSGO] Weapon Jam

Post Reply
User avatar
Andreeas
Hero Member
Hero Member
Posts: 601
Joined: Wed Jan 22, 2020 8:17 pm
Jucator SA:MP ?: Nu
Nick:: Andreeas
Jucator CS ?: Nu

[CSGO] Weapon Jam

Post by Andreeas »

Introduction:
While shooting, your weapon might get jammed and you need to reload. This way you can balance guns or making shootouts more random. You can modify the probability for each weapon (by default they are all 10). Shotguns are not included because I thought that it would be a silly idea.

Probabilities:

1 = 0.01% (= an average of one in a ten thousand bullet causes weapon to jam)
2 = 0.02%
3 = 0.03%
...
10 = 0.1% (= an average of one in a thousand bullet causes weapon to jam)
...
100 = 1%
...
1000 = 10%

Installation:
- Upload .smx to addons/sourcemod/plugins folder.
- Upload .sp to addons/sourcemod/scripting folder.
- Configs file will be created automatically when plugin is used for the first time.
- If you want to have a version with colored chat, download the .zip > Unzip > Upload. Folders should be right.

Credits:
DorCoMaNdO - Thank you for helping me with the code.

Changelog:
1.10 - Auto-create configs file, new cvar which let's you to decide about plugin messages, improvements to code, increased the range of probability.

weapon_jam_colored_chat.zip
weapon_jam.smx
Get Plugin or Get Source
Post Reply

Return to “Fun Stuff”