Raised This Month: $ Target: $400
 0% 

probs voting system


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sleeperzzz
Senior Member
Join Date: Aug 2004
Location: In my bed
Old 10-09-2004 , 18:43   probs voting system
Reply With Quote #1

Hello all,

Just wanted to ask if someone know where to look for the mapvoting system what file i must look and maybe wich lines cause when an admin( only person who can do the mapvotes) puts up a vote and the voting ends it always says for needed votes 0 and admin needs to press acept or refuse.

I want to change that , this started when we switched to amxx v0.16

thx for the help
__________________
sleeperzzz is offline
Send a message via AIM to sleeperzzz Send a message via MSN to sleeperzzz Send a message via Yahoo to sleeperzzz Send a message via Skype™ to sleeperzzz
FeuerSturm
AlliedModders Donor
Join Date: Apr 2004
Old 10-09-2004 , 19:09  
Reply With Quote #2

there are 3 lines missing in the adminvote.sma,
add them to the plugin_init function.

Code:
register_cvar("amx_votekick_ratio","0.40") register_cvar("amx_voteban_ratio","0.40") register_cvar("amx_votemap_ratio","0.40")

or just use this fixed version:
FeuerSturm is offline
sleeperzzz
Senior Member
Join Date: Aug 2004
Location: In my bed
Old 10-15-2004 , 15:02  
Reply With Quote #3

Nope doesnt work ive added the file to show you if maybe something else is wrong
Attached Files
File Type: sma Get Plugin or Get Source (adminvote.sma - 563 views - 13.3 KB)
__________________
sleeperzzz is offline
Send a message via AIM to sleeperzzz Send a message via MSN to sleeperzzz Send a message via Yahoo to sleeperzzz Send a message via Skype™ to sleeperzzz
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 10-15-2004 , 19:07  
Reply With Quote #4

I bet you didnt compile it.
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
depot
Senior Member
Join Date: Aug 2004
Location: NE Florida USA
Old 10-15-2004 , 19:19  
Reply With Quote #5

devicenull, would you mind looking at this post for me?
depot is offline
sleeperzzz
Senior Member
Join Date: Aug 2004
Location: In my bed
Old 10-17-2004 , 15:19  
Reply With Quote #6

Lol i aint that stupid NT anyway


Nah i dunno what the problem is voting works and the 3 lines were already in that file but still are the needed votes 0.

greetz,sleeper
__________________
sleeperzzz is offline
Send a message via AIM to sleeperzzz Send a message via MSN to sleeperzzz Send a message via Yahoo to sleeperzzz Send a message via Skype™ to sleeperzzz
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:02.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode