Raised This Month: $ Target: $400
 0% 

Player 'Vote' System


Post New Thread Reply   
 
Thread Tools Display Modes
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 09-14-2005 , 01:19  
Reply With Quote #21

Hey suit, if i change the number on the .50 for the message to higher like .90 will that make it more consistant or less.
__________________
bmann_420 is offline
BoomerWang
Member
Join Date: Sep 2005
Old 09-14-2005 , 01:35  
Reply With Quote #22

i've tried it today. Lowering the number will make the ad appear more often. and vice veresa.

Hey cheap_suit can you also make it so that when people say "/cheater" eveyrone can see it? cuz whenever i type /cheater nobody can see it.
BoomerWang is offline
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 09-14-2005 , 04:03  
Reply With Quote #23

ok, its now exactly what you guys ask for

whats new:
- added agreement
- added warnings

[img]http://img366.**************/img366/3530/pvs8al.jpg[/img]
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
BoomerWang
Member
Join Date: Sep 2005
Old 09-14-2005 , 07:47  
Reply With Quote #24

is there a way to add it so that others can see you say /voteplayer?
BoomerWang is offline
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 09-14-2005 , 09:12  
Reply With Quote #25

Idea...Instead of using 1 and 2 use 4 and 0.
Reason: people dont read and will just press 1 but if 1 doesnt work then they read
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 09-14-2005 , 15:49  
Reply With Quote #26

@boomerwang

Code:
public execute_cmd(id) {     if(get_cvar_num("pvs_enabled") <= 0) return PLUGIN_CONTINUE     if(accepttherules[id] == false)     {         Showagreements(id)     }     else     {         ShowPVS_Main_Menu(id)     }     return PLUGIN_HANDLED }

find this part of the code and change PLUGIN_HANDLED to PLUGIN_CONTINUE

@Suicid3
Very true, uploaded new version
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
BoomerWang
Member
Join Date: Sep 2005
Old 09-14-2005 , 16:28  
Reply With Quote #27

if i want the AGREEMENT to bring me right to the VOTE playerz how do i do that? Cuz seleccting TK, spam is really weird. Is there a way to lead the agreement right to the votes for cheats/hacks.
BoomerWang is offline
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 09-14-2005 , 16:34  
Reply With Quote #28

Code:
public execute_cmd(id) {     if(get_cvar_num("pvs_enabled") <= 0) return PLUGIN_CONTINUE     if(accepttherules[id] == false)     {         Showagreements(id)     }     else     {         displayCheatHackMenu(id, g_menuPosition[id] = 0)     }     return PLUGIN_HANDLED } public Showagreements(id) {     new agreement_msg[255], len     len = format(agreement_msg, 254, "Player Voting System Agreement^n^n")     len += format(agreement_msg[len], 254-len, ": Will not \rspam \wthe votes^n")     len += format(agreement_msg[len], 254-len, ": Will not vote for \ruseless reasons\w^n")     len += format(agreement_msg[len], 254-len, ": Will vote \rresponsibly\w^n^n")     len += format(agreement_msg[len], 254-len, " Do you agree to this rules?^n")     len += format(agreement_msg[len], 254-len, " 4. Yes, Now let me vote!^n 1. No, I dont agree.^n")     show_menu(id, Keysagreements, agreement_msg, -1, "agreements") } public Pressedagreements(id, key) {     switch (key)     {         case 3:         {             client_print(0, print_chat, AGREED_MESSAGE)             accepttherules[id] = true             displayCheatHackMenu(id, g_menuPosition[id] = 0)         }     } }
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
BoomerWang
Member
Join Date: Sep 2005
Old 09-14-2005 , 16:55  
Reply With Quote #29

one more request.
can you make it so that you can only vote the person ONCE. cuz u have a max vote of 5. and this person kept voting for TK and tk has 4 and he was the only one that voted.
BoomerWang is offline
BoomerWang
Member
Join Date: Sep 2005
Old 09-16-2005 , 14:49  
Reply With Quote #30

Quote:
Originally Posted by Cheap_Suit
Code:
public execute_cmd(id) {     if(get_cvar_num("pvs_enabled") <= 0) return PLUGIN_CONTINUE     if(accepttherules[id] == false)     {         Showagreements(id)     }     else     {         displayCheatHackMenu(id, g_menuPosition[id] = 0)     }     return PLUGIN_HANDLED } public Showagreements(id) {     new agreement_msg[255], len     len = format(agreement_msg, 254, "Player Voting System Agreement^n^n")     len += format(agreement_msg[len], 254-len, ": Will not \rspam \wthe votes^n")     len += format(agreement_msg[len], 254-len, ": Will not vote for \ruseless reasons\w^n")     len += format(agreement_msg[len], 254-len, ": Will vote \rresponsibly\w^n^n")     len += format(agreement_msg[len], 254-len, " Do you agree to this rules?^n")     len += format(agreement_msg[len], 254-len, " 4. Yes, Now let me vote!^n 1. No, I dont agree.^n")     show_menu(id, Keysagreements, agreement_msg, -1, "agreements") } public Pressedagreements(id, key) {     switch (key)     {         case 3:         {             client_print(0, print_chat, AGREED_MESSAGE)             accepttherules[id] = true             displayCheatHackMenu(id, g_menuPosition[id] = 0)         }     } }

This doesn't work, i tried it. brought me to the TK, Spam menu still.
BoomerWang is offline
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 08:11.


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