Quantcast
Channel: SA-MP Forums - Filterscripts
Viewing all articles
Browse latest Browse all 595

[Tutorial] Cale's Votekick System!

$
0
0
Hey guys, I just finished making this for my own server when I decided to upload it and share it with everyone.

Features:

* Complete Textdraw, displaying "Votekick on blah 1/5 votes", the 1/5 bit goes up by the /vote.
* Players can type /votekick <ID> <Reason> to vote somebody out.
* Half of the server's players need to vote to kick, so if there is 10 people online it will need 5 players.
* Players type /vote to continue on with the vote.
* 20 second timer before the votekick is canceled.
* Players cannot /votekick an admin.

Version 2:
* Added a visible countdown, the countdown restarts everytime someone /votes, the end of the countdown means the votekick has failed
* An admin command to stop the votekick (/votestop)

Version 2.5
* Fixed a small bug, the countdown wasn't working properly.

Download:
2 Shared
(note. the download only includes the .pwn)

Installation:
Open the .pwn file and compile it, then add to your server.cfg filterscripts line "Votekick".

Enjoy

Please post any bugs

Viewing all articles
Browse latest Browse all 595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>