Files

> > CS2D > Lua Scripts > Stop Adminvote
Files overviewCS2D overviewLua Scripts overview

English Stop Adminvote >

8 comments381 b, 434 Downloads

old Stop Adminvote

iii
User Off Offline

I don't know if it is implemented in some Adminscripts, but i thought i can upload it.

If you vote an admin you get kicked form the server.

it was a long time ago i asked if from qulimax now i edit the script a little.

in the comments were "--idea from taji ;)" don't know who it is

the script is small:
1
2
3
4
5
6
7
8
9
10
11
12
13
adminlist = {}

addhook("vote","antivote")
function antivote(id,modus,votedplayer) 
	if modus == 1 then
		for _,adminUSGN in pairs(adminlist) do
			if adminUSGN == player(votedplayer,"usgn") then
				parse("kick "..id.." Don't vote admins!")
				msg("Don't vote "..player(votedplayer,"name").." or you will get kicked")
			end
		end
	end
end

I hope you like it
Approved by Seekay

Download Download

381 b, 434 Downloads

Comments

8 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

DaisukeOno
User Off Offline

This is not bad, i ever vote to kick moderator, and i was kicked. I don't know he is moderator.
I like it!
edited 1×, last 30.08.15 02:41:36 am

old

Mami Tomoe
User Off Offline

Yay!!
I like it!

old

H-X
User Off Offline

lol user Rainoth then its kick

old

BrunoRZ
User Off Offline

Dictator's script

old

pbeloto
User Off Offline

wtf?? , dont like

even taking him kick his vote will work, try this best face

old

Rainoth
Moderator Off Offline

@user H-X: Of course.
Kill > Wants to argue why he died.
V
Mute > Changes name to continue.
V
Kick. > ??? Profit !

@user iii: user Tajifun ?

old

Avo
User Off Offline

Since lua uses table references it can be easily used like
1
adminlist = myAdminList

Nice. √

old

H-X
User Off Offline

LOL nice i can use this in my script but i think instead of kicking him kill him and mute him for 10 mins i think its better then kick
To the start Previous 1 Next To the start