Raised This Month: $51 Target: $400
 12% 

Keys


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Moures
New Member
Join Date: Jan 2018
Old 01-06-2018 , 07:03   Keys
Reply With Quote #1

Hello guys, can u explain me how to edit keys from amxvote?
From this:
Question
1.
2.
3.
4.

To this:
Question
4.
5.
6.
7.
Moures is offline
E1_531G
Senior Member
Join Date: Dec 2017
Old 01-06-2018 , 07:25   Re: Keys
Reply With Quote #2

Edit the array that contains the menu and edit the bitsum of the admitted keys.
__________________
My English is A0
E1_531G is offline
Moures
New Member
Join Date: Jan 2018
Old 01-06-2018 , 07:44   Re: Keys
Reply With Quote #3

Can u show me example?
Moures is offline
E1_531G
Senior Member
Join Date: Dec 2017
Old 01-06-2018 , 07:55   Re: Keys
Reply With Quote #4

1. Before posting here, you must have basic knowledge.
2. In cmdVoteMap() function you can find:
PHP Code:
for (new 0g_validMaps; ++a)
{
    
format(temp127"%d.  %s^n"a+1g_optionName[a])
    
len += copy(menu_msg[len], 255-lentemp)
    
keys |= (1<<a)

3. Read #1 again.

edit: I realized now that more changes are needed. Better post in request section.
__________________
My English is A0

Last edited by E1_531G; 01-06-2018 at 07:58.
E1_531G 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 05:54.


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