Raised This Month: $ Target: $400
 0% 

voting!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
atomic
Veteran Member
Join Date: Jan 2005
Location: What The Foot?
Old 10-25-2005 , 20:34   voting!
Reply With Quote #1

how do i make a vote to enable something? like someone types /friendlyfire it makes a vote, and if the result is yes it enables it!
__________________
atomic is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 10-25-2005 , 20:51  
Reply With Quote #2

First learn how to makes menus.

After that create some variables to see if a vote is currently running, how many voted yes, and how many voted no.

When someone says it, make a menu appear with a yes/no vote. Whenever someone votes yes, add to yes; whenever someone votes no, add to no.

After every has voted (add up yes votes + no votes and compare to player number) or a specified time has passed, count them.

Tada.

But basically, learn menus first.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
atomic
Veteran Member
Join Date: Jan 2005
Location: What The Foot?
Old 10-25-2005 , 20:55  
Reply With Quote #3

TaTa... ty
__________________
atomic is offline
joka69
Senior Member
Join Date: Apr 2005
Old 10-26-2005 , 00:51  
Reply With Quote #4

Search for custom vote plugin made by jtp10181
__________________
joka69 is offline
Send a message via MSN to joka69
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 00:04.


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