Restricting votes with AMX

Post Reply
boyle_heights
A regular
A regular
Posts: 46
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Tue Dec 03, 2002 5:31 pm
Contact:

Restricting votes with AMX

Post by boyle_heights »

How can I restrict the voting so that it is only available to the admins, with the exception of the vote that appears when 3 minutes are left on the map? Right now we have votes coming up constantly and we would like to have it stopped.

Thanks.
Anubis
Staff
Staff
Posts: 231
Joined: Tue Jul 01, 2003 5:24 pm
Location: Gresham, OR
Contact:

Post by Anubis »

Remove the default access. If it is set to j then the public will have amx_vote access. Set it to default_access "" .
IRC @ #ruthlesslords on Gamesnet

http://www.ruthlesslords.net

rlpub.nuclearfallout.net
User avatar
lt987456
This is my homepage
This is my homepage
Posts: 81
Joined: Sat Jul 26, 2003 12:29 pm
Location: north bend oregon

Map vote

Post by lt987456 »

Are you talking about the map vote twards the end of every round? I think thats what hes talking about Anubis. If so you would want to comment out the mapchooser.amx line in your addons/amx/plugins/plugins.ini file
Image
boyle_heights
A regular
A regular
Posts: 46
Joined: Tue Dec 03, 2002 5:31 pm
Contact:

default_access

Post by boyle_heights »

I am talking about the defaul_access. It is set to "" but people are still allowed to vote. Not sure how to fix this.

Thanks.
User avatar
Nick|NFo
Former staff
Former staff
Posts: 2252
Joined: Sun Mar 30, 2003 1:56 pm
Location: 127.0.0.1

Re: default_access

Post by Nick|NFo »

boyle_heights wrote:I am talking about the defaul_access. It is set to "" but people are still allowed to vote. Not sure how to fix this.

Thanks.
set it to "0" not just ""
Anubis
Staff
Staff
Posts: 231
Joined: Tue Jul 01, 2003 5:24 pm
Location: Gresham, OR
Contact:

Post by Anubis »

Umm. Ive never had to use default_access "0"

Thats strange. It should work with just ""

Did you restart?
IRC @ #ruthlesslords on Gamesnet

http://www.ruthlesslords.net

rlpub.nuclearfallout.net
User avatar
Nick|NFo
Former staff
Former staff
Posts: 2252
Joined: Sun Mar 30, 2003 1:56 pm
Location: 127.0.0.1

Post by Nick|NFo »

Its steam, what can you expect :?:

also, isnt amx default to "" for default_access ?
boyle_heights
A regular
A regular
Posts: 46
Joined: Tue Dec 03, 2002 5:31 pm
Contact:

Post by boyle_heights »

I believe the default is "". We did restart the server after the change but still had the problem. I'll try the 0 to see if that fixes the problem. Thank you.
Post Reply