This simple plugin detects when someone caps and then responds with a vote the next round. If the players deem the capture unjustified, they are slayed that round. I added some natives so if you have a plugin or you would like to edit one to conform to this one, you are able to. I am relatively new to Sourcepawn, only been coding for about less than 2 weeks. Any tips would be appreciated. I couldn't get the capture events to work correctly, so I had to more or less, make my own. If anyone knows how I can fix this, please tell me.
[INFO]
Updates coming soon!
CVars:
sm_slay_cap_enabled (def: 1)
Includes:
#include slaycap
Natives:
bool SlayCapVoteStarting()
bool SlayCapVoteInProgress()
Attached Files

Wyświetl pełny artykuł