Raised This Month: $ Target: $400
 0% 

Need help adminvote


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
daNzEt
Senior Member
Join Date: Sep 2010
Location: Romania
Old 11-20-2011 , 06:56   Re: Need help adminvote
Reply With Quote #7

Witch amx_showactivity to "2" you talk ?!
I don't understand what is the relation between amx_showactivity to "2" and what I want. That showactivity it's about showing message with ADMIN evalgas: vote map(s) or without admin ADMIN: vote map(s). Isn't what i want. Can't you understand it's about that message that appears to all with what map they chose from the vote.
Like mapchooser when you chose the map look at all the map you choose.

It's about something like this but i am not sure.

Error compile on line
PHP Code:
ArrayGetString(g_optionNameg_optionName[key], mapcharsof(map)); 
PHP Code:

public voteCount(idkey)
{
        if ( 
get_cvar_num"amx_vote_answers" ) )
        {
        new 
name[32]
        
get_user_nameidname31 )
        
        if ( 
g_yesNoVote )
        {
            
chat_color0"%L"LANG_PLAYERkey "VOTED_AGAINST" "VOTED_FOR"name )
        }

        else
        {
                    new 
map[32];
                    
ArrayGetString(g_optionNameg_optionName[key], mapcharsof(map));
                    
client_print(0print_chat"%s choose map %s"namemap);
        }
        }

        ++
g_voteCount[key]
    
        return 
PLUGIN_HANDLED


Last edited by daNzEt; 11-20-2011 at 07:51.
daNzEt is offline
Send a message via Yahoo to daNzEt Send a message via Skype™ to daNzEt
 



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:33.


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