Raised This Month: $7 Target: $400
 1% 

[HELP] How to make a voting system


Post New Thread Reply   
 
Thread Tools Display Modes
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 02-16-2018 , 11:49   Re: [HELP] How to make a voting system
Reply With Quote #11

Well lucky for you AMXX already has a menu system.
https://forums.alliedmods.net/showthread.php?t=46364
There's even an example for voting.
Black Rose is offline
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 02-16-2018 , 20:43   Re: [HELP] How to make a voting system
Reply With Quote #12

Not menu i need when server have no admins vote can work
soumyadip77 is offline
Send a message via Skype™ to soumyadip77
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 02-19-2018 , 06:02   Re: [HELP] How to make a voting system
Reply With Quote #13

We have discussed the counting of admins and I have sent you an example of a voting system. What is the problem?

Code:
    new Players[32], Playersnum;     get_players(Players, Playersnum, "ch");     for ( new i ; i < Playersnum ; i++ ) {         if ( is_user_admin(Players[i]) ) {             client_print(command_caller, print_chat, "There's an admin online, no need to vote.");             return;         }     }     // Do vote.

Last edited by Black Rose; 02-19-2018 at 07:50.
Black Rose is offline
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 02-19-2018 , 10:58   Re: [HELP] How to make a voting system
Reply With Quote #14

#already solved in past
soumyadip77 is offline
Send a message via Skype™ to soumyadip77
Reply


Thread Tools
Display Modes

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 22:35.


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