diff --git a/plugins/adminvote.sma b/plugins/adminvote.sma index ed96a966..2c718337 100755 --- a/plugins/adminvote.sma +++ b/plugins/adminvote.sma @@ -85,7 +85,7 @@ public cmdCancelVote(id,level,cid) { } } console_print(id, "%L", id, "VOTING_CANC" ) - client_print(0,print_chat,"%L",LANG_PALYER,"VOTING_CANC") + client_print(0,print_chat,"%L",LANG_PLAYER,"VOTING_CANC") remove_task( 99889988 , 1 ) set_cvar_float( "amx_last_voting" , get_gametime() ) } @@ -99,8 +99,8 @@ public delayedExec(cmd[]) server_cmd(cmd) public autoRefuse() { - log_amx("Vote: %s" , "Result refused") - client_print(0,print_chat,g_resultRef ) + log_amx("Vote: %L","en","RES_REF") + client_print(0,print_chat,"%L",LANG_PLAYER,"RES_REF") } public actionResult(id,key) { @@ -129,16 +129,17 @@ public checkVotes() { new players[32],pnum,i get_players(players,pnum,"c") if ( iResult < iRatio ) { - new lVotingFailed[32] + new lVotingFailed[64] for (i=0;i 1) { keys = MENU_KEY_0 - copy(menu_msg,255,g_coloredMenus ? "\y%L: \w^n^n" : "%L: ^n^n",LANG_SERVER,"CHOOSE_MAP") + format(menu_msg,255,g_coloredMenus ? "\y%L: \w^n^n" : "%L: ^n^n",LANG_SERVER,"CHOOSE_MAP") new temp[128] for(new a = 0; a < g_validMaps; ++a){ format(temp,127,"%d. %s^n",a+1,g_optionName[a]) @@ -310,7 +312,7 @@ public cmdVote(id,level,cid) { new players[32],pnum,lTag[16] get_players(players,pnum,"c") for (new i=0;i<%s><>^" vote %s (target ^"%s^")", name,get_user_userid(id),authid,voteban ? "ban" : "kick",arg) - + new activity = get_cvar_num("amx_show_activity") if (activity>0) { new players[32],pnum,lTag[16] get_players(players,pnum,"c") for (new i=0;i