SA-MP Forums Archive
[FilterScript] [FS]Votekick - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS]Votekick (/showthread.php?tid=50119)



[FS]Votekick - Giacomand - 08.09.2008

Vote-Kick

Download (Includes .pwn and .amx) - Outdated.

Pastebin (.pwn only)


Basically it's a simple vote kick system. A player does "/votekick ID reason", then players will vote. (By /vote)

If people voted more than half of the people online, then the player will be kicked, else he won't if no-one votes.

You must have more than three players in your server in order for the person to be able to vote-kick.

Please also give credit, thanks

Enjoy!

Report the bugs here, I couldn't fully test it, (can't get more than three people IG), but from my knowledge it should work.

Updates:

Will tell how many votes till the player can be kicked.

There's a limit on how many times a single person can vote. - 16 November 2009

Bugs

Fixed the IsPlayerAdmin bug.





Re: [FS]Votekick - lsrp - 08.09.2008

ok cool


Re: [FS]Votekick - Thomash - 08.09.2008

good script, i use it in my mode


Re: [FS]Votekick - Giacomand - 08.09.2008

Updated :P


Re: [FS]Votekick - Rks25 - 08.09.2008

You got a pastebin link?


Re: [FS]Votekick - Giacomand - 08.09.2008

Quote:
Originally Posted by Rksss
You got a pastebin link?
Now I do.


Re: [FS]Votekick - ReFuSeR - 10.10.2008

Is there some kinda code I can add to prevent admins from being vote kicked?


Re: [FS]Votekick - [HiC]TheKiller - 10.10.2008

Quote:
Originally Posted by ReFuSeR
Is there some kinda code I can add to prevent admins from being vote kicked?
Yes, are you meaning RCON admins or admins on a admin script?


Re: [FS]Votekick - Tez2k7 - 10.10.2008

Nice release. I'll use these for my TDM modes.


Re: [FS]Votekick - ReFuSeR - 10.10.2008

Quote:
Originally Posted by [HiC
TheKiller ]
Quote:
Originally Posted by ReFuSeR
Is there some kinda code I can add to prevent admins from being vote kicked?
Yes, are you meaning RCON admins or admins on a admin script?
Well, I am using a basic admin script, but if you show me the code for RCON I could figure it out from there.