[FilterScript] [FS] PoD: Power of Democracy [Vote-Kick] v1.0
#1

/*
===============================
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
Reply
#2

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.
Reply
#3

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.
Reply
#4

nice script scar
Reply
#5

thx
Reply
#6

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?
Reply
#7

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.

Reply
#8

Lol,power of democtricy
Reply
#9

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

maybe i used this!

thx man!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)