SA-MP Forums Archive
[FilterScript] [FS] PoD: Power of Democracy [Vote-Kick] v1.0 - 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] PoD: Power of Democracy [Vote-Kick] v1.0 (/showthread.php?tid=215)



[FS] PoD: Power of Democracy [Vote-Kick] v1.0 - [BDC]Scarface - 06.11.2006

/*
===============================
PoD: Power of Democracy [Vote-Kick] v1.0
Coded by Scarface
===============================
*/

PoD v1.0 www.ausamp.com/Scripts/PoD.zip
PoD Source www.ausamp.com/Scripts/PoDSource.zip

*********************************

CONDITIONS OF USE:

The source is released for educational and server
security purposes only. DO NOT copy or use
any of the source code without conscent or rightful
credit to the authour. Feel free to manipulate it and
improve the code, as long as full credit is given to
myself and any other contributors.

**********************************

FEATURES:

PoD is a simple FilterScript that allows users in the server to Vote-Kick players.
It contains a user configurable file.

- VoteKick period as well as VotePercentage are user configurable.
- Admin Vote Control (Cancel)
- Complete Linux Compatability


**********************************

CONFIGURATION:

--------------------

Percent 60 - Percentage of Votes to Kick
Vote-Timer 30 - The Period a VoteKick lasts.


--------------------

COMMANDS:
/vkick [PlayerID] [Reason] - Start VoteKick
/vote - Votes "yes" to Current VoteKick
/cvote - Displays Current VoteKick Information

Admin(RCON):
/endvote - Cancels Current VoteKick


BROUGHT TO YOU BY [LETHAL DEVELOPMENTS] - Scarface

Please visit my DevBlog: sa-mp.tdsgames.com

Please post any suggestions, bugs or comments.

Regards
Scarface


Re: [FS] PoD: Power of Democracy [Vote-Kick] v1.0 - [NoV]Fishbulb - 09.11.2006

Maan. A votekick like this will NOT work well on a large server. 80% of a server usually won't respond to chat messages, and therefore, DO NOT vote. Also, the people that DO vote will almost all vote yes. Most people that would vote no, don't vote at all.

The way my server works around this is to give only specific players votekick privledges. We find the regulars that seem like level-headed individuals, and give them access. This won't work for smaller servers, because they don't often have many regular players. x.x

Anyway, good luck! Its an excellent idea that I think could help out alot of the admin scripts if implimented properly.


Re: [FS] PoD: Power of Democracy [Vote-Kick] v1.0 - [BDC]Scarface - 09.11.2006

Set the vote percentage low then. Setting people like that as you say "level-headed individuals" you might as well set them as administrators (just possibly only with kick priveleges). The point of VoteKick is to give the general public a say in what happens in the server when an admin is not present. Who's to say that the "regulars" won't be in all the time?!.

By marginalizing your users within your server, you are practically rendering votekicking useless or as a server novelty.


Re: [FS] PoD: Power of Democracy [Vote-Kick] v1.0 - {UVH}Davo - 10.11.2006

nice script scar


Re: [FS] PoD: Power of Democracy [Vote-Kick] v1.0 - T-N-Z - 13.05.2007

thx


Re: [FS] PoD: Power of Democracy [Vote-Kick] v1.0 - TheRenegade - 05.03.2008

Nice script but:

Код:
C:\Users\Desi\Desktop\PoDSource\pod.pwn(39) : warning 235: public function lacks forward declaration (symbol "PlayerName")
C:\Users\Desi\Desktop\PoDSource\pod.pwn(43) : error 090: public functions may not return arrays (symbol "PlayerName")
C:\Users\Desi\Desktop\PoDSource\pod.pwn(54) : warning 217: loose indentation
C:\Users\Desi\Desktop\PoDSource\pod.pwn(150) : warning 217: loose indentation
C:\Users\Desi\Desktop\PoDSource\pod.pwn(161) : warning 235: public function lacks forward declaration (symbol "constTimer")
C:\Users\Desi\Desktop\PoDSource\pod.pwn(240) : warning 217: loose indentation
C:\Users\Desi\Desktop\PoDSource\pod.pwn(258) : warning 235: public function lacks forward declaration (symbol "vKick")
C:\Users\Desi\Desktop\PoDSource\pod.pwn(244) : warning 204: symbol is assigned a value that is never used: "pState"
Can you fix this?


Re: [FS] PoD: Power of Democracy [Vote-Kick] v1.0 - Rks25 - 05.03.2008

it was posted on:« on: November 06, 2006, 11:40:51 am »
So it means 0.1, make it 0.2, by intending it, and making forwards.




Re: [FS] PoD: Power of Democracy [Vote-Kick] v1.0 - [IB]Scorcher - 05.03.2008

Lol,power of democtricy


Re: [FS] PoD: Power of Democracy [Vote-Kick] v1.0 - Curynga - 05.03.2008

Quote:
Originally Posted by Damage2008
Lol,power of democtricy
Democracy, lol


Re: [FS] PoD: Power of Democracy [Vote-Kick] v1.0 - [KaE]Cartman - 05.03.2008

maybe i used this!

thx man!