Raised This Month: $ Target: $400
 0% 

help with adminhelp and colorchat


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
vase070
Senior Member
Join Date: Jun 2011
Old 09-19-2016 , 00:00   help with adminhelp and colorchat
Reply With Quote #1

i want to add color to the plugin adminhelp but i have no idea how i know you suppose to use color chat but i just don't know how to use it right if someone can help me out to understand

adminhelp source

Code:
/* AMX Mod X
*   Admin Help Plugin
*
* by the AMX Mod X Development Team
*  originally developed by tcquest78
*
* This file is part of AMX Mod X.
*
*
*  This program is free software; you can redistribute it and/or modify it
*  under the terms of the GNU General Public License as published by the
*  Free Software Foundation; either version 2 of the License, or (at
*  your option) any later version.
*
*  This program is distributed in the hope that it will be useful, but
*  WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
*  General Public License for more details.
*
*  You should have received a copy of the GNU General Public License
*  along with this program; if not, write to the Free Software Foundation, 
*  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*  In addition, as a special exception, the author gives permission to
*  link the code of this program with the Half-Life Game Engine ("HL
*  Engine") and Modified Game Libraries ("MODs") developed by Valve, 
*  L.L.C ("Valve"). You must obey the GNU General Public License in all
*  respects for all of the code used other than the HL Engine and MODs
*  from Valve. If you modify this file, you may extend this exception
*  to your version of the file, but you are not obligated to do so. If
*  you do not wish to do so, delete this exception statement from your
*  version.
*/

#include <amxmodx>

#define DISPLAY_MSG		// Comment to disable message on join
#define HELPAMOUNT 10	// Number of commands per page

public plugin_init()
{
	register_plugin("Admin Help", AMXX_VERSION_STR, "AMXX Dev Team")
	register_dictionary("adminhelp.txt")
	register_concmd("amx_help", "cmdHelp", 0, "<page> [nr of cmds (only for server)] - displays this help")
}

#if defined DISPLAY_MSG
public client_putinserver(id)
{
	if (is_user_bot(id))
		return
	
	set_task(15.0, "dispInfo", id)
}

public client_disconnect(id)
{
	remove_task(id)
}
#endif

public cmdHelp(id, level, cid)
{
	new arg1[8], flags = get_user_flags(id)
	new start = read_argv(1, arg1, 7) ? str_to_num(arg1) : 1
	new lHelpAmount = HELPAMOUNT
	
	// HACK: ADMIN_ADMIN is never set as a user's actual flags, so those types of commands never show
	if (flags > 0 && !(flags & ADMIN_USER))
	{
		flags |= ADMIN_ADMIN;
	}
	
	if (id == 0 && read_argc() == 3)
		lHelpAmount = read_argv(2, arg1, 7) ? str_to_num(arg1) : HELPAMOUNT

	if (--start < 0)
		start = 0

	new clcmdsnum = get_concmdsnum(flags, id)

	if (start >= clcmdsnum)
		start = clcmdsnum - 1

	console_print(id, "^n----- %L -----", id, "HELP_COMS")
	
	new info[128], cmd[32], eflags
	new end = start + lHelpAmount // HELPAMOUNT

	if (end > clcmdsnum)
		end = clcmdsnum

	for (new i = start; i < end; i++)
	{
		get_concmd(i, cmd, 31, eflags, info, 127, flags, id)
		console_print(id, "%3d: %s %s", i + 1, cmd, info)
	}
	
	console_print(id, "----- %L -----", id, "HELP_ENTRIES", start + 1, end, clcmdsnum)

	if (end < clcmdsnum)
		console_print(id, "----- %L -----", id, "HELP_USE_MORE", end + 1)
	else
		console_print(id, "----- %L -----", id, "HELP_USE_BEGIN")

	return PLUGIN_HANDLED
}

#if defined DISPLAY_MSG
public dispInfo(id)
{
	client_print(id, print_chat, "%L", id, "TYPE_HELP")
	
	new nextmap[32]
	get_cvar_string("amx_nextmap", nextmap, 31)
	
	if (get_cvar_float("mp_timelimit"))
	{
		new timeleft = get_timeleft()
		
		if (timeleft > 0)
		{
			client_print(id, print_chat, "%L", id, "TIME_INFO_1", timeleft / 60, timeleft % 60, nextmap)
		} else {
			client_print(id, print_chat, "%L", id, "TIME_INFO_2", nextmap)
		}
	}
}
#endif
so i want it to be like this

Code:
Type 'amx_help' in the console to see available commands
Time Left: 14:49 min. Next Map: de_inferno
link to colorchat inc : https://forums.alliedmods.net/showth...89#post1989389

lang file in attachments
Attached Files
File Type: txt adminhelp.txt (7.3 KB, 102 views)
vase070 is offline
Airkish
AlliedModders Donor
Join Date: Apr 2016
Location: Lithuania
Old 09-19-2016 , 01:11   Re: help with adminhelp and colorchat
Reply With Quote #2

here sma. :

PHP Code:
/* AMX Mod X
*   Admin Help Plugin
*
* by the AMX Mod X Development Team
*  originally developed by tcquest78
*
* This file is part of AMX Mod X.
*
*
*  This program is free software; you can redistribute it and/or modify it
*  under the terms of the GNU General Public License as published by the
*  Free Software Foundation; either version 2 of the License, or (at
*  your option) any later version.
*
*  This program is distributed in the hope that it will be useful, but
*  WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
*  General Public License for more details.
*
*  You should have received a copy of the GNU General Public License
*  along with this program; if not, write to the Free Software Foundation, 
*  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*  In addition, as a special exception, the author gives permission to
*  link the code of this program with the Half-Life Game Engine ("HL
*  Engine") and Modified Game Libraries ("MODs") developed by Valve, 
*  L.L.C ("Valve"). You must obey the GNU General Public License in all
*  respects for all of the code used other than the HL Engine and MODs
*  from Valve. If you modify this file, you may extend this exception
*  to your version of the file, but you are not obligated to do so. If
*  you do not wish to do so, delete this exception statement from your
*  version.
*/

#include <amxmodx>


#define DISPLAY_MSG        // Comment to disable message on join
#define HELPAMOUNT 10    // Number of commands per page

public plugin_init()
{
    
register_plugin("Admin Help"AMXX_VERSION_STR"AMXX Dev Team")
    
register_dictionary("adminhelp.txt")
    
register_concmd("amx_help""cmdHelp"0"<page> [nr of cmds (only for server)] - displays this help")
}

#if defined DISPLAY_MSG
public client_putinserver(id)
{
    if (
is_user_bot(id))
        return
    
    
set_task(15.0"dispInfo"id)
}

public 
client_disconnect(id)
{
    
remove_task(id)
}
#endif

public cmdHelp(idlevelcid)
{
    new 
arg1[8], flags get_user_flags(id)
    new 
start read_argv(1arg17) ? str_to_num(arg1) : 1
    
new lHelpAmount HELPAMOUNT
    
    
// HACK: ADMIN_ADMIN is never set as a user's actual flags, so those types of commands never show
    
if (flags && !(flags ADMIN_USER))
    {
        
flags |= ADMIN_ADMIN;
    }
    
    if (
id == && read_argc() == 3)
        
lHelpAmount read_argv(2arg17) ? str_to_num(arg1) : HELPAMOUNT

    
if (--start 0)
        
start 0

    
new clcmdsnum get_concmdsnum(flagsid)

    if (
start >= clcmdsnum)
        
start clcmdsnum 1

    console_print
(id"^n----- %L -----"id"HELP_COMS")
    
    new 
info[128], cmd[32], eflags
    
new end start lHelpAmount // HELPAMOUNT

    
if (end clcmdsnum)
        
end clcmdsnum

    
for (new startendi++)
    {
        
get_concmd(icmd31eflagsinfo127flagsid)
        
console_print(id"%3d: %s %s"1cmdinfo)
    }
    
    
console_print(id"----- %L -----"id"HELP_ENTRIES"start 1endclcmdsnum)

    if (
end clcmdsnum)
        
console_print(id"----- %L -----"id"HELP_USE_MORE"end 1)
    else
        
console_print(id"----- %L -----"id"HELP_USE_BEGIN")

    return 
PLUGIN_HANDLED
}

#if defined DISPLAY_MSG
public dispInfo(id)
{
    
client_print(idprint_chat"%L"id"TYPE_HELP")
    
    new 
nextmap[32]
    
get_cvar_string("amx_nextmap"nextmap31)
    
    if (
get_cvar_float("mp_timelimit"))
    {
        new 
timeleft get_timeleft()
        
        if (
timeleft 0)
        {
            
Color(id"%L"id"TIME_INFO_1"timeleft 60timeleft 60nextmap)
        } else {
            
Color(id"%L"id"TIME_INFO_2"nextmap)
        }
    }
}
#endif

stock ColoridString[ ], any:... ) {
    static 
szMsg192 ];
    
vformatszMsgcharsmaxszMsg ), String);
    
    
replace_allszMsgcharsmaxszMsg ), "!n""^1" );
    
replace_allszMsgcharsmaxszMsg ), "!t""^3" );
    
replace_allszMsgcharsmaxszMsg ), "!g""^4" );
    
    static 
msgSayText 0;
    if( !
msgSayText msgSayText get_user_msgid"SayText" );
    
    new 
Players32 ], iNum 1i
    
    if( 
id Players] = id;    
    else 
get_playersPlayersiNum"ch" );
    
    for( --
iNumiNum >= 0iNum-- ) {
        
PlayersiNum ];
        
        
message_beginMSG_ONE_UNRELIABLEmsgSayText_);
        
write_byte);
        
write_stringszMsg );
        
message_end( );
    }

and text file :

Code:
[en]
HELP_COMS = AMX Mod X Help: Commands
HELP_ENTRIES = Entries %d - %d of %d
HELP_USE_MORE = Use 'amx_help %d' for more
HELP_USE_BEGIN = Use 'amx_help 1' for begin
TYPE_HELP = Type 'amx_help' in the console to see available commands
TIME_INFO_1 = Time Left: %d:%02d min. Next Map: %s
TIME_INFO_2 = No Time Limit. Next Map: %s

[de]
HELP_COMS = AMX Mod X Help: Befehle
HELP_ENTRIES = Eintraege %d - %d von %d
HELP_USE_MORE = Nutze 'amx_help %d' fuer die naechste Seite
HELP_USE_BEGIN = Nutze 'amx_help 1' um zum Anfang zu gelangen
TYPE_HELP = Schreibe 'amx_help' in die Konsole um die verfuegbaren Befehle zu sehen.
TIME_INFO_1 = Verbleibende Zeit: %d:%02d Minuten, naechste Map: %s
TIME_INFO_2 = Kein Zeitlimit. Naechste Map ist: %s

[sr]
HELP_COMS = AMX Mod X Pomoc: Komande
HELP_ENTRIES = Vrednosti %d - %d od %d
HELP_USE_MORE = Koristi 'amx_help %d' za jos komandi
HELP_USE_BEGIN = Koristi 'amx_help 1' za pocetak
TYPE_HELP = Ukucajte 'amx_help' u konzoli da bi ste videli moguce komande
TIME_INFO_1 = Preostalo Vreme: %d:%02d min. Sledeca Mapa: %s
TIME_INFO_2 = Nema vremenskog ogranicenja. Sledeca Mapa: %s

[tr]
HELP_COMS = AMX Mod X Yardim: Emirler
HELP_ENTRIES = Girisler %d - %d of %d
HELP_USE_MORE = 'amx_help %d' kullanin gerisini gormek icin
HELP_USE_BEGIN = Baslatmak icin 'amx_help 1' i kullanin
TYPE_HELP = Consolda 'amx_help' yazin, mevcud olan emirleri gormek icin
TIME_INFO_1 = Geri kalan zaman: %d:%02d dak. Diger Map: %s
TIME_INFO_2 = Zaman sureci yokdur. Diger Map: %s

[fr]
HELP_COMS = Aide AMX Mod X: Commandes
HELP_ENTRIES = Entrees %d - %d sur %d
HELP_USE_MORE = Utilise 'amx_help %d' pour la suite
HELP_USE_BEGIN = Utilise 'amx_help 1'  pour le debut
TYPE_HELP = Tape 'amx_help' dans la console pour voir les commandes disponibles
TIME_INFO_1 = Temps Restant: %d:%02d mn. Prochaine Carte: %s
TIME_INFO_2 = Aucun Temps Limite. Prochaine Carte: %s

[sv]
HELP_COMS = AMX Mod X Hj'a'lp: Kommandon
HELP_ENTRIES = Post %d - %d av %d
HELP_USE_MORE = Skriv 'amx_help %d' f'o'r mer
HELP_USE_BEGIN = Skriv 'amx_help 1' f'o'r b'o'rjan
TYPE_HELP = Skriv 'amx_help' i konsolen f'o'r att se befintliga kommandon
TIME_INFO_1 = Tid kvar: %d:%02d min. Kommande karta: %s
TIME_INFO_2 = Ingen tid satt tills kommande karta. Kommande karta: %s

[da]
HELP_COMS = AMX Mod X Hjaelp: Kommandoer
HELP_ENTRIES = Indskrivninger %d - %d of %d
HELP_USE_MORE = Brug 'amx_help %d' for mere
HELP_USE_BEGIN = Brug 'amx_help 1' for at begynde
TYPE_HELP = Skriv 'amx_help' i konsollen for at se kommandoer til raadighed
TIME_INFO_1 = Tid tilbage: %d:%02d min. Naeste bane: %s
TIME_INFO_2 = Ingen tidsgraense. Naeste bane: %s

[pl]
HELP_COMS = AMX Mod X pomoc: Komendy
HELP_ENTRIES = Wpisy %d - %d z %d
HELP_USE_MORE = Uzyj 'amx_help %d' aby dowiedziec sie wiecej
HELP_USE_BEGIN = Uzyj 'amx_help 1' aby dojsc do poczatku
TYPE_HELP = Wpisz 'amx_help' w konsoli aby uzyskac liste komend
TIME_INFO_1 = Pozostaly czas: %d:%02d min. Nastepna mapa: %s
TIME_INFO_2 = Bez limitu czasu. Nastepna mapa: %s

[bp]
HELP_COMS = Ajuda do AMX Mod X: Comandos
HELP_ENTRIES = Entradas %d - %d de %d
HELP_USE_MORE = Use 'amx_help %d' para ver mais comandos
HELP_USE_BEGIN = Use 'amx_help 1' para voltar ao inicio
TYPE_HELP = Escreva 'amx_help' no console para ver os comandos disponiveis
TIME_INFO_1 = Tempo Restante: %d:%02d min. Proximo Mapa: %s
TIME_INFO_2 = Sem Limite de Tempo. Proximo Mapa: %s

[nl]
HELP_COMS = AMX Mod X Help: Commando's
HELP_ENTRIES = Data %d - %d van %d
HELP_USE_MORE = Typ 'amx_help %d' voor meer
HELP_USE_BEGIN = Typ 'amx_help 1' voor het begin
TYPE_HELP = Voer 'amx_help' in in de console om de beschikbare commando's te bekijken
TIME_INFO_1 = Resterende tijd: %d:%02d min. Volgende map: %s
TIME_INFO_2 = Geen tijdlimiet. Volgende map: %s

[es]
HELP_COMS = Ayuda de AMX Mod X: Comandos
HELP_ENTRIES = Entradas %d - %d de %d
HELP_USE_MORE = Escribe 'amx_help %d' para mostrar mas
HELP_USE_BEGIN = Escribe 'amx_help 1' para volver al principio
TYPE_HELP = Escribe 'amx_help' en la consola para ver los comandos disponibles
TIME_INFO_1 = Tiempo restante: %d:%02d min. Proximo Mapa: %s
TIME_INFO_2 = Tiempo Ilimitado. Proximo Mapa: %s

[cz]
HELP_COMS = AMX Mod X Help: Prikazy
HELP_ENTRIES = Polozky %d - %d z %d
HELP_USE_MORE = Napis 'amx_help %d' pro vice
HELP_USE_BEGIN = napis 'amx_help 1' pro zacatek
TYPE_HELP = Napis 'amx_help' do konzole pro vypis prikazu
TIME_INFO_1 = Zbyva jeste: %d:%02d min. Dalsi mapa: %s
TIME_INFO_2 = Neni casovy limit. Dalsi mapa: %s

[fi]
HELP_COMS = AMX Mod X Help: Komennot
HELP_ENTRIES = Kohdat %d - %d Kaikkiaan %d
HELP_USE_MORE = Kirjoita 'amx_help %d' saadaksesi lisatietoja
HELP_USE_BEGIN = Kirjoita 'amx_help 1' aloittaaksesi
TYPE_HELP = Kirjoita 'amx_help' konsoliin nahdaksesi komennot
TIME_INFO_1 = Aikaa jaljella: %d:%02d minuuttia. Seuraava mappi: %s
TIME_INFO_2 = Ei aikarajaa. Seuraava mappi: %s

[ls]
HELP_COMS = 4MXTR3M3 M0d XTR3M3 |-|3l|>: |200t C0mm4ndz
HELP_ENTRIES = 3nt|2i3z %d - %d 0v %d
HELP_USE_MORE = uzi 'amx_help %d' f0r m0r3 b4$3
HELP_USE_BEGIN = uzi 'amx_help 1' f0r b3g!n h4x0rin'
TYPE_HELP = uzi 'amx_help' t4 s33 r00tz
TIME_INFO_1 = N0t T!m3 3nu77: %d:%02d min. N3x\ M4|>: %s
TIME_INFO_2 = T!m3 i$ r3l4t!v3 t0 j00r |200t.  N3x\ M4|>: %s

[bg]
HELP_COMS = AMX Mod X Help: Comandi
HELP_ENTRIES = Vkarani %d - %d ot %d
HELP_USE_MORE = Izpolzvaite 'amx_help %d' za pove4e
HELP_USE_BEGIN = izpolzvaite 'amx_help 1' za na4alo
TYPE_HELP = napi6ete 'amx_help' v consolata za da vidite pove4e comandi
TIME_INFO_1 = Ostava6to vreme: %d:%02d min. Sledva6tata karta: %s
TIME_INFO_2 = Nqma limit na vremeto. Sledva6tata karta: %s

[ro]
HELP_COMS = Ajutor AMX Mod X: Comenzi
HELP_ENTRIES = Intrari %d - %d din %d
HELP_USE_MORE = Scrie 'amx_help %d' pentru mai mult
HELP_USE_BEGIN = Scrie 'amx_help 1' pentru inceput
TYPE_HELP = Scrie 'amx_help' in consola pentru afisare lista comenzi
TIME_INFO_1 = Timp Ramas: %d:%02d. Urmatoarea Harta: %s
TIME_INFO_2 = Nici o Limita a Timpului. Urmatoarea Harta: %s

[hu]
HELP_COMS = AMX Mod X segitseg: Parancsok
HELP_ENTRIES = Bejegyzes %d - %d of %d
HELP_USE_MORE = Irj 'amx_help %d' -t tobbhoz
HELP_USE_BEGIN = Irj 'amx_help 1' -t az elso oldalhoz
TYPE_HELP = Irj 'amx_help' -t a konzolba hogy lathasd a parancsokat
TIME_INFO_1 = Hatralevo ido: %d:%02d perc. kovetkezo palya: %s
TIME_INFO_2 = Nincs idohatar. A kovetkezo palya: %s

[lt]
HELP_COMS = AMX Mod X Pagalba: Komandos
HELP_ENTRIES = Irasai %d - %d is %d
HELP_USE_MORE = Naudok 'amx_help %d' del daugiau info
HELP_USE_BEGIN = Naudok 'amx_help 1' kad pradetum
TYPE_HELP = Rasyk 'amx_help' konsoleje, kad pamatytum prieinamas komandas.
TIME_INFO_1 = Liko laiko: %d:%02d min. Kitas zemelapis: %s
TIME_INFO_2 = Nera laiko limito. Kitas zemelapis: %s

[sk]
HELP_COMS = AMX Mod X Help: Prikazy
HELP_ENTRIES = Polozky %d - %d z %d
HELP_USE_MORE = Napis 'amx_help %d' pre viac
HELP_USE_BEGIN = Napis 'amx_help 1' pre zaciatok
TYPE_HELP = Napis 'amx_help' do konzoly pre vypis prikazov
TIME_INFO_1 = Ostava este: %d:%02d min. Dalsia mapa: %s
TIME_INFO_2 = Neni casovy limit. Dalsia mapa: %s

[mk]
HELP_COMS = AMX Mod X Pomos - Dozvoleni komandi se:
HELP_ENTRIES = Komandi %d - %d od %d
HELP_USE_MORE = Napisi 'amx_help %d' za uste komandi
HELP_USE_BEGIN = Napisi 'amx_help 1' za od pocetok
TYPE_HELP = Napisi 'amx_help' vo konzolata za da gi vidis dozvolenite komandi
TIME_INFO_1 = Preostanato Vreme: %d:%02d min. Sledna Mapa: %s
TIME_INFO_2 = Nema vremensko ogranicuvanje. Sledna Mapa: %s
Not tested but should work.
__________________
Airkish is offline
vase070
Senior Member
Join Date: Jun 2011
Old 09-19-2016 , 01:39   Re: help with adminhelp and colorchat
Reply With Quote #3

does not work i also tried putting !g in lang file but in game they just dont show it's like empty spaces

edit: image

http://i.imgur.com/UvSaz4Q.jpg

as you can see there is space before amx_help that's where !g is but no color

Last edited by vase070; 09-19-2016 at 01:42.
vase070 is offline
Airkish
AlliedModders Donor
Join Date: Apr 2016
Location: Lithuania
Old 09-19-2016 , 02:06   Re: help with adminhelp and colorchat
Reply With Quote #4

Quote:
Originally Posted by vase070 View Post
does not work i also tried putting !g in lang file but in game they just dont show it's like empty spaces

edit: image

http://i.imgur.com/UvSaz4Q.jpg

as you can see there is space before amx_help that's where !g is but no color
PHP Code:
/* AMX Mod X
*   Admin Help Plugin
*
* by the AMX Mod X Development Team
*  originally developed by tcquest78
*
* This file is part of AMX Mod X.
*
*
*  This program is free software; you can redistribute it and/or modify it
*  under the terms of the GNU General Public License as published by the
*  Free Software Foundation; either version 2 of the License, or (at
*  your option) any later version.
*
*  This program is distributed in the hope that it will be useful, but
*  WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
*  General Public License for more details.
*
*  You should have received a copy of the GNU General Public License
*  along with this program; if not, write to the Free Software Foundation, 
*  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*  In addition, as a special exception, the author gives permission to
*  link the code of this program with the Half-Life Game Engine ("HL
*  Engine") and Modified Game Libraries ("MODs") developed by Valve, 
*  L.L.C ("Valve"). You must obey the GNU General Public License in all
*  respects for all of the code used other than the HL Engine and MODs
*  from Valve. If you modify this file, you may extend this exception
*  to your version of the file, but you are not obligated to do so. If
*  you do not wish to do so, delete this exception statement from your
*  version.
*/

#include <amxmodx>


#define DISPLAY_MSG        // Comment to disable message on join
#define HELPAMOUNT 10    // Number of commands per page

public plugin_init()
{
    
register_plugin("Admin Help"AMXX_VERSION_STR"AMXX Dev Team")
    
register_dictionary("adminhelp.txt")
    
register_concmd("amx_help""cmdHelp"0"<page> [nr of cmds (only for server)] - displays this help")
}

#if defined DISPLAY_MSG
public client_putinserver(id)
{
    if (
is_user_bot(id))
        return
    
    
set_task(15.0"dispInfo"id)
}

public 
client_disconnect(id)
{
    
remove_task(id)
}
#endif

public cmdHelp(idlevelcid)
{
    new 
arg1[8], flags get_user_flags(id)
    new 
start read_argv(1arg17) ? str_to_num(arg1) : 1
    
new lHelpAmount HELPAMOUNT
    
    
// HACK: ADMIN_ADMIN is never set as a user's actual flags, so those types of commands never show
    
if (flags && !(flags ADMIN_USER))
    {
        
flags |= ADMIN_ADMIN;
    }
    
    if (
id == && read_argc() == 3)
        
lHelpAmount read_argv(2arg17) ? str_to_num(arg1) : HELPAMOUNT

    
if (--start 0)
        
start 0

    
new clcmdsnum get_concmdsnum(flagsid)

    if (
start >= clcmdsnum)
        
start clcmdsnum 1

    console_print
(id"^n----- %L -----"id"HELP_COMS")
    
    new 
info[128], cmd[32], eflags
    
new end start lHelpAmount // HELPAMOUNT

    
if (end clcmdsnum)
        
end clcmdsnum

    
for (new startendi++)
    {
        
get_concmd(icmd31eflagsinfo127flagsid)
        
console_print(id"%3d: %s %s"1cmdinfo)
    }
    
    
console_print(id"----- %L -----"id"HELP_ENTRIES"start 1endclcmdsnum)

    if (
end clcmdsnum)
        
console_print(id"----- %L -----"id"HELP_USE_MORE"end 1)
    else
        
console_print(id"----- %L -----"id"HELP_USE_BEGIN")

    return 
PLUGIN_HANDLED
}

#if defined DISPLAY_MSG
public dispInfo(id)
{
    
client_printc(id"!n%L"id"TYPE_HELP")
    
    new 
nextmap[32]
    
get_cvar_string("amx_nextmap"nextmap31)
    
    if (
get_cvar_float("mp_timelimit"))
    {
        new 
timeleft get_timeleft()
        
        if (
timeleft 0)
        {
            
client_printc(id"!n%L"id"TIME_INFO_1"timeleft 60timeleft 60nextmap)
        } else {
            
client_printc(id"!n%L"id"TIME_INFO_2"nextmap)
        }
    }
}
#endif

stock client_printc(const id, const input[], any: ...)
{
    new 
count 1players32 ]
    static 
msg191 ]
    
vformat(msg190input3)
    
    
replace_all(msg190"!g""^x04")       // Green Color
    
replace_all(msg190"!n""^x01")       // Default Color
    
replace_all(msg190"!t""^x03")       // Team Color
    
    
if( id )
    {
        
players] = id;
    }
    else
    {
        
get_players(playerscount"ch")
    }
    {
        for( new 
0counti++ )
        {
            if( 
is_user_connected(players]) )
            {
                
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("SayText"), _players])
                
write_byte(players])
                
write_string(msg)
                
message_end()
            }
        }
    }

Code:
[en] HELP_COMS = AMX Mod X Help: Commands HELP_ENTRIES = Entries %d - %d of %d HELP_USE_MORE = Use 'amx_help %d' for more HELP_USE_BEGIN = Use 'amx_help 1' for begin TYPE_HELP = Type '!gamx_help!n' in the console to see available commands TIME_INFO_1 = Time Left: !g%d:%02d min. !nNext Map: !g%s TIME_INFO_2 = No Time Limit. Next Map: %s  [de] HELP_COMS = AMX Mod X Help: Befehle HELP_ENTRIES = Eintraege %d - %d von %d HELP_USE_MORE = Nutze 'amx_help %d' fuer die naechste Seite HELP_USE_BEGIN = Nutze 'amx_help 1' um zum Anfang zu gelangen TYPE_HELP = Schreibe 'amx_help' in die Konsole um die verfuegbaren Befehle zu sehen. TIME_INFO_1 = Verbleibende Zeit: %d:%02d Minuten, naechste Map: %s TIME_INFO_2 = Kein Zeitlimit. Naechste Map ist: %s  [sr] HELP_COMS = AMX Mod X Pomoc: Komande HELP_ENTRIES = Vrednosti %d - %d od %d HELP_USE_MORE = Koristi 'amx_help %d' za jos komandi HELP_USE_BEGIN = Koristi 'amx_help 1' za pocetak TYPE_HELP = Ukucajte 'amx_help' u konzoli da bi ste videli moguce komande TIME_INFO_1 = Preostalo Vreme: %d:%02d min. Sledeca Mapa: %s TIME_INFO_2 = Nema vremenskog ogranicenja. Sledeca Mapa: %s  [tr] HELP_COMS = AMX Mod X Yardim: Emirler HELP_ENTRIES = Girisler %d - %d of %d HELP_USE_MORE = 'amx_help %d' kullanin gerisini gormek icin HELP_USE_BEGIN = Baslatmak icin 'amx_help 1' i kullanin TYPE_HELP = Consolda 'amx_help' yazin, mevcud olan emirleri gormek icin TIME_INFO_1 = Geri kalan zaman: %d:%02d dak. Diger Map: %s TIME_INFO_2 = Zaman sureci yokdur. Diger Map: %s  [fr] HELP_COMS = Aide AMX Mod X: Commandes HELP_ENTRIES = Entrees %d - %d sur %d HELP_USE_MORE = Utilise 'amx_help %d' pour la suite HELP_USE_BEGIN = Utilise 'amx_help 1'  pour le debut TYPE_HELP = Tape 'amx_help' dans la console pour voir les commandes disponibles TIME_INFO_1 = Temps Restant: %d:%02d mn. Prochaine Carte: %s TIME_INFO_2 = Aucun Temps Limite. Prochaine Carte: %s  [sv] HELP_COMS = AMX Mod X Hj'a'lp: Kommandon HELP_ENTRIES = Post %d - %d av %d HELP_USE_MORE = Skriv 'amx_help %d' f'o'r mer HELP_USE_BEGIN = Skriv 'amx_help 1' f'o'r b'o'rjan TYPE_HELP = Skriv 'amx_help' i konsolen f'o'r att se befintliga kommandon TIME_INFO_1 = Tid kvar: %d:%02d min. Kommande karta: %s TIME_INFO_2 = Ingen tid satt tills kommande karta. Kommande karta: %s  [da] HELP_COMS = AMX Mod X Hjaelp: Kommandoer HELP_ENTRIES = Indskrivninger %d - %d of %d HELP_USE_MORE = Brug 'amx_help %d' for mere HELP_USE_BEGIN = Brug 'amx_help 1' for at begynde TYPE_HELP = Skriv 'amx_help' i konsollen for at se kommandoer til raadighed TIME_INFO_1 = Tid tilbage: %d:%02d min. Naeste bane: %s TIME_INFO_2 = Ingen tidsgraense. Naeste bane: %s  [pl] HELP_COMS = AMX Mod X pomoc: Komendy HELP_ENTRIES = Wpisy %d - %d z %d HELP_USE_MORE = Uzyj 'amx_help %d' aby dowiedziec sie wiecej HELP_USE_BEGIN = Uzyj 'amx_help 1' aby dojsc do poczatku TYPE_HELP = Wpisz 'amx_help' w konsoli aby uzyskac liste komend TIME_INFO_1 = Pozostaly czas: %d:%02d min. Nastepna mapa: %s TIME_INFO_2 = Bez limitu czasu. Nastepna mapa: %s  [bp] HELP_COMS = Ajuda do AMX Mod X: Comandos HELP_ENTRIES = Entradas %d - %d de %d HELP_USE_MORE = Use 'amx_help %d' para ver mais comandos HELP_USE_BEGIN = Use 'amx_help 1' para voltar ao inicio TYPE_HELP = Escreva 'amx_help' no console para ver os comandos disponiveis TIME_INFO_1 = Tempo Restante: %d:%02d min. Proximo Mapa: %s TIME_INFO_2 = Sem Limite de Tempo. Proximo Mapa: %s  [nl] HELP_COMS = AMX Mod X Help: Commando's HELP_ENTRIES = Data %d - %d van %d HELP_USE_MORE = Typ 'amx_help %d' voor meer HELP_USE_BEGIN = Typ 'amx_help 1' voor het begin TYPE_HELP = Voer 'amx_help' in in de console om de beschikbare commando's te bekijken TIME_INFO_1 = Resterende tijd: %d:%02d min. Volgende map: %s TIME_INFO_2 = Geen tijdlimiet. Volgende map: %s  [es] HELP_COMS = Ayuda de AMX Mod X: Comandos HELP_ENTRIES = Entradas %d - %d de %d HELP_USE_MORE = Escribe 'amx_help %d' para mostrar mas HELP_USE_BEGIN = Escribe 'amx_help 1' para volver al principio TYPE_HELP = Escribe 'amx_help' en la consola para ver los comandos disponibles TIME_INFO_1 = Tiempo restante: %d:%02d min. Proximo Mapa: %s TIME_INFO_2 = Tiempo Ilimitado. Proximo Mapa: %s  [cz] HELP_COMS = AMX Mod X Help: Prikazy HELP_ENTRIES = Polozky %d - %d z %d HELP_USE_MORE = Napis 'amx_help %d' pro vice HELP_USE_BEGIN = napis 'amx_help 1' pro zacatek TYPE_HELP = Napis 'amx_help' do konzole pro vypis prikazu TIME_INFO_1 = Zbyva jeste: %d:%02d min. Dalsi mapa: %s TIME_INFO_2 = Neni casovy limit. Dalsi mapa: %s  [fi] HELP_COMS = AMX Mod X Help: Komennot HELP_ENTRIES = Kohdat %d - %d Kaikkiaan %d HELP_USE_MORE = Kirjoita 'amx_help %d' saadaksesi lisatietoja HELP_USE_BEGIN = Kirjoita 'amx_help 1' aloittaaksesi TYPE_HELP = Kirjoita 'amx_help' konsoliin nahdaksesi komennot TIME_INFO_1 = Aikaa jaljella: %d:%02d minuuttia. Seuraava mappi: %s TIME_INFO_2 = Ei aikarajaa. Seuraava mappi: %s  [ls] HELP_COMS = 4MXTR3M3 M0d XTR3M3 |-|3l|>: |200t C0mm4ndz HELP_ENTRIES = 3nt|2i3z %d - %d 0v %d HELP_USE_MORE = uzi 'amx_help %d' f0r m0r3 b4$3 HELP_USE_BEGIN = uzi 'amx_help 1' f0r b3g!n h4x0rin' TYPE_HELP = uzi 'amx_help' t4 s33 r00tz TIME_INFO_1 = N0t T!m3 3nu77: %d:%02d min. N3x\ M4|>: %s TIME_INFO_2 = T!m3 i$ r3l4t!v3 t0 j00r |200t.  N3x\ M4|>: %s  [bg] HELP_COMS = AMX Mod X Help: Comandi HELP_ENTRIES = Vkarani %d - %d ot %d HELP_USE_MORE = Izpolzvaite 'amx_help %d' za pove4e HELP_USE_BEGIN = izpolzvaite 'amx_help 1' za na4alo TYPE_HELP = napi6ete 'amx_help' v consolata za da vidite pove4e comandi TIME_INFO_1 = Ostava6to vreme: %d:%02d min. Sledva6tata karta: %s TIME_INFO_2 = Nqma limit na vremeto. Sledva6tata karta: %s  [ro] HELP_COMS = Ajutor AMX Mod X: Comenzi HELP_ENTRIES = Intrari %d - %d din %d HELP_USE_MORE = Scrie 'amx_help %d' pentru mai mult HELP_USE_BEGIN = Scrie 'amx_help 1' pentru inceput TYPE_HELP = Scrie 'amx_help' in consola pentru afisare lista comenzi TIME_INFO_1 = Timp Ramas: %d:%02d. Urmatoarea Harta: %s TIME_INFO_2 = Nici o Limita a Timpului. Urmatoarea Harta: %s  [hu] HELP_COMS = AMX Mod X segitseg: Parancsok HELP_ENTRIES = Bejegyzes %d - %d of %d HELP_USE_MORE = Irj 'amx_help %d' -t tobbhoz HELP_USE_BEGIN = Irj 'amx_help 1' -t az elso oldalhoz TYPE_HELP = Irj 'amx_help' -t a konzolba hogy lathasd a parancsokat TIME_INFO_1 = Hatralevo ido: %d:%02d perc. kovetkezo palya: %s TIME_INFO_2 = Nincs idohatar. A kovetkezo palya: %s  [lt] HELP_COMS = AMX Mod X Pagalba: Komandos HELP_ENTRIES = Irasai %d - %d is %d HELP_USE_MORE = Naudok 'amx_help %d' del daugiau info HELP_USE_BEGIN = Naudok 'amx_help 1' kad pradetum TYPE_HELP = Rasyk 'amx_help' konsoleje, kad pamatytum prieinamas komandas. TIME_INFO_1 = Liko laiko: %d:%02d min. Kitas zemelapis: %s TIME_INFO_2 = Nera laiko limito. Kitas zemelapis: %s  [sk] HELP_COMS = AMX Mod X Help: Prikazy HELP_ENTRIES = Polozky %d - %d z %d HELP_USE_MORE = Napis 'amx_help %d' pre viac HELP_USE_BEGIN = Napis 'amx_help 1' pre zaciatok TYPE_HELP = Napis 'amx_help' do konzoly pre vypis prikazov TIME_INFO_1 = Ostava este: %d:%02d min. Dalsia mapa: %s TIME_INFO_2 = Neni casovy limit. Dalsia mapa: %s  [mk] HELP_COMS = AMX Mod X Pomos - Dozvoleni komandi se: HELP_ENTRIES = Komandi %d - %d od %d HELP_USE_MORE = Napisi 'amx_help %d' za uste komandi HELP_USE_BEGIN = Napisi 'amx_help 1' za od pocetok TYPE_HELP = Napisi 'amx_help' vo konzolata za da gi vidis dozvolenite komandi TIME_INFO_1 = Preostanato Vreme: %d:%02d min. Sledna Mapa: %s TIME_INFO_2 = Nema vremensko ogranicuvanje. Sledna Mapa: %s
__________________

Last edited by Airkish; 09-19-2016 at 02:09.
Airkish is offline
Airkish
AlliedModders Donor
Join Date: Apr 2016
Location: Lithuania
Old 09-19-2016 , 02:14   Re: help with adminhelp and colorchat
Reply With Quote #5

In case you want to edit more codes:

Add this stock at the bottom of code:

PHP Code:
stock client_printc(const id, const input[], any: ...)
{
    new 
count 1players32 ]
    static 
msg191 ]
    
vformat(msg190input3)
    
    
replace_all(msg190"!g""^x04")       // Green Color
    
replace_all(msg190"!n""^x01")       // Default Color
    
replace_all(msg190"!t""^x03")       // Team Color
    
    
if( id )
    {
        
players] = id;
    }
    else
    {
        
get_players(playerscount"ch")
    }
    {
        for( new 
0counti++ )
        {
            if( 
is_user_connected(players]) )
            {
                
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("SayText"), _players])
                
write_byte(players])
                
write_string(msg)
                
message_end()
            }
        }
    }

Then replace (it's just an example):

PHP Code:
client_print(idprint_chat"%L"id"TYPE_HELP"
with:

PHP Code:
client_printc(id"!n%L"id"TYPE_HELP"
__________________
Airkish is offline
vase070
Senior Member
Join Date: Jun 2011
Old 09-19-2016 , 11:50   Re: help with adminhelp and colorchat
Reply With Quote #6

Quote:
Originally Posted by Airkish View Post
PHP Code:
/* AMX Mod X
*   Admin Help Plugin
*
* by the AMX Mod X Development Team
*  originally developed by tcquest78
*
* This file is part of AMX Mod X.
*
*
*  This program is free software; you can redistribute it and/or modify it
*  under the terms of the GNU General Public License as published by the
*  Free Software Foundation; either version 2 of the License, or (at
*  your option) any later version.
*
*  This program is distributed in the hope that it will be useful, but
*  WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
*  General Public License for more details.
*
*  You should have received a copy of the GNU General Public License
*  along with this program; if not, write to the Free Software Foundation, 
*  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*  In addition, as a special exception, the author gives permission to
*  link the code of this program with the Half-Life Game Engine ("HL
*  Engine") and Modified Game Libraries ("MODs") developed by Valve, 
*  L.L.C ("Valve"). You must obey the GNU General Public License in all
*  respects for all of the code used other than the HL Engine and MODs
*  from Valve. If you modify this file, you may extend this exception
*  to your version of the file, but you are not obligated to do so. If
*  you do not wish to do so, delete this exception statement from your
*  version.
*/

#include <amxmodx>


#define DISPLAY_MSG        // Comment to disable message on join
#define HELPAMOUNT 10    // Number of commands per page

public plugin_init()
{
    
register_plugin("Admin Help"AMXX_VERSION_STR"AMXX Dev Team")
    
register_dictionary("adminhelp.txt")
    
register_concmd("amx_help""cmdHelp"0"<page> [nr of cmds (only for server)] - displays this help")
}

#if defined DISPLAY_MSG
public client_putinserver(id)
{
    if (
is_user_bot(id))
        return
    
    
set_task(15.0"dispInfo"id)
}

public 
client_disconnect(id)
{
    
remove_task(id)
}
#endif

public cmdHelp(idlevelcid)
{
    new 
arg1[8], flags get_user_flags(id)
    new 
start read_argv(1arg17) ? str_to_num(arg1) : 1
    
new lHelpAmount HELPAMOUNT
    
    
// HACK: ADMIN_ADMIN is never set as a user's actual flags, so those types of commands never show
    
if (flags && !(flags ADMIN_USER))
    {
        
flags |= ADMIN_ADMIN;
    }
    
    if (
id == && read_argc() == 3)
        
lHelpAmount read_argv(2arg17) ? str_to_num(arg1) : HELPAMOUNT

    
if (--start 0)
        
start 0

    
new clcmdsnum get_concmdsnum(flagsid)

    if (
start >= clcmdsnum)
        
start clcmdsnum 1

    console_print
(id"^n----- %L -----"id"HELP_COMS")
    
    new 
info[128], cmd[32], eflags
    
new end start lHelpAmount // HELPAMOUNT

    
if (end clcmdsnum)
        
end clcmdsnum

    
for (new startendi++)
    {
        
get_concmd(icmd31eflagsinfo127flagsid)
        
console_print(id"%3d: %s %s"1cmdinfo)
    }
    
    
console_print(id"----- %L -----"id"HELP_ENTRIES"start 1endclcmdsnum)

    if (
end clcmdsnum)
        
console_print(id"----- %L -----"id"HELP_USE_MORE"end 1)
    else
        
console_print(id"----- %L -----"id"HELP_USE_BEGIN")

    return 
PLUGIN_HANDLED
}

#if defined DISPLAY_MSG
public dispInfo(id)
{
    
client_printc(id"!n%L"id"TYPE_HELP")
    
    new 
nextmap[32]
    
get_cvar_string("amx_nextmap"nextmap31)
    
    if (
get_cvar_float("mp_timelimit"))
    {
        new 
timeleft get_timeleft()
        
        if (
timeleft 0)
        {
            
client_printc(id"!n%L"id"TIME_INFO_1"timeleft 60timeleft 60nextmap)
        } else {
            
client_printc(id"!n%L"id"TIME_INFO_2"nextmap)
        }
    }
}
#endif

stock client_printc(const id, const input[], any: ...)
{
    new 
count 1players32 ]
    static 
msg191 ]
    
vformat(msg190input3)
    
    
replace_all(msg190"!g""^x04")       // Green Color
    
replace_all(msg190"!n""^x01")       // Default Color
    
replace_all(msg190"!t""^x03")       // Team Color
    
    
if( id )
    {
        
players] = id;
    }
    else
    {
        
get_players(playerscount"ch")
    }
    {
        for( new 
0counti++ )
        {
            if( 
is_user_connected(players]) )
            {
                
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("SayText"), _players])
                
write_byte(players])
                
write_string(msg)
                
message_end()
            }
        }
    }

Code:
[en] HELP_COMS = AMX Mod X Help: Commands HELP_ENTRIES = Entries %d - %d of %d HELP_USE_MORE = Use 'amx_help %d' for more HELP_USE_BEGIN = Use 'amx_help 1' for begin TYPE_HELP = Type '!gamx_help!n' in the console to see available commands TIME_INFO_1 = Time Left: !g%d:%02d min. !nNext Map: !g%s TIME_INFO_2 = No Time Limit. Next Map: %s  [de] HELP_COMS = AMX Mod X Help: Befehle HELP_ENTRIES = Eintraege %d - %d von %d HELP_USE_MORE = Nutze 'amx_help %d' fuer die naechste Seite HELP_USE_BEGIN = Nutze 'amx_help 1' um zum Anfang zu gelangen TYPE_HELP = Schreibe 'amx_help' in die Konsole um die verfuegbaren Befehle zu sehen. TIME_INFO_1 = Verbleibende Zeit: %d:%02d Minuten, naechste Map: %s TIME_INFO_2 = Kein Zeitlimit. Naechste Map ist: %s  [sr] HELP_COMS = AMX Mod X Pomoc: Komande HELP_ENTRIES = Vrednosti %d - %d od %d HELP_USE_MORE = Koristi 'amx_help %d' za jos komandi HELP_USE_BEGIN = Koristi 'amx_help 1' za pocetak TYPE_HELP = Ukucajte 'amx_help' u konzoli da bi ste videli moguce komande TIME_INFO_1 = Preostalo Vreme: %d:%02d min. Sledeca Mapa: %s TIME_INFO_2 = Nema vremenskog ogranicenja. Sledeca Mapa: %s  [tr] HELP_COMS = AMX Mod X Yardim: Emirler HELP_ENTRIES = Girisler %d - %d of %d HELP_USE_MORE = 'amx_help %d' kullanin gerisini gormek icin HELP_USE_BEGIN = Baslatmak icin 'amx_help 1' i kullanin TYPE_HELP = Consolda 'amx_help' yazin, mevcud olan emirleri gormek icin TIME_INFO_1 = Geri kalan zaman: %d:%02d dak. Diger Map: %s TIME_INFO_2 = Zaman sureci yokdur. Diger Map: %s  [fr] HELP_COMS = Aide AMX Mod X: Commandes HELP_ENTRIES = Entrees %d - %d sur %d HELP_USE_MORE = Utilise 'amx_help %d' pour la suite HELP_USE_BEGIN = Utilise 'amx_help 1'  pour le debut TYPE_HELP = Tape 'amx_help' dans la console pour voir les commandes disponibles TIME_INFO_1 = Temps Restant: %d:%02d mn. Prochaine Carte: %s TIME_INFO_2 = Aucun Temps Limite. Prochaine Carte: %s  [sv] HELP_COMS = AMX Mod X Hj'a'lp: Kommandon HELP_ENTRIES = Post %d - %d av %d HELP_USE_MORE = Skriv 'amx_help %d' f'o'r mer HELP_USE_BEGIN = Skriv 'amx_help 1' f'o'r b'o'rjan TYPE_HELP = Skriv 'amx_help' i konsolen f'o'r att se befintliga kommandon TIME_INFO_1 = Tid kvar: %d:%02d min. Kommande karta: %s TIME_INFO_2 = Ingen tid satt tills kommande karta. Kommande karta: %s  [da] HELP_COMS = AMX Mod X Hjaelp: Kommandoer HELP_ENTRIES = Indskrivninger %d - %d of %d HELP_USE_MORE = Brug 'amx_help %d' for mere HELP_USE_BEGIN = Brug 'amx_help 1' for at begynde TYPE_HELP = Skriv 'amx_help' i konsollen for at se kommandoer til raadighed TIME_INFO_1 = Tid tilbage: %d:%02d min. Naeste bane: %s TIME_INFO_2 = Ingen tidsgraense. Naeste bane: %s  [pl] HELP_COMS = AMX Mod X pomoc: Komendy HELP_ENTRIES = Wpisy %d - %d z %d HELP_USE_MORE = Uzyj 'amx_help %d' aby dowiedziec sie wiecej HELP_USE_BEGIN = Uzyj 'amx_help 1' aby dojsc do poczatku TYPE_HELP = Wpisz 'amx_help' w konsoli aby uzyskac liste komend TIME_INFO_1 = Pozostaly czas: %d:%02d min. Nastepna mapa: %s TIME_INFO_2 = Bez limitu czasu. Nastepna mapa: %s  [bp] HELP_COMS = Ajuda do AMX Mod X: Comandos HELP_ENTRIES = Entradas %d - %d de %d HELP_USE_MORE = Use 'amx_help %d' para ver mais comandos HELP_USE_BEGIN = Use 'amx_help 1' para voltar ao inicio TYPE_HELP = Escreva 'amx_help' no console para ver os comandos disponiveis TIME_INFO_1 = Tempo Restante: %d:%02d min. Proximo Mapa: %s TIME_INFO_2 = Sem Limite de Tempo. Proximo Mapa: %s  [nl] HELP_COMS = AMX Mod X Help: Commando's HELP_ENTRIES = Data %d - %d van %d HELP_USE_MORE = Typ 'amx_help %d' voor meer HELP_USE_BEGIN = Typ 'amx_help 1' voor het begin TYPE_HELP = Voer 'amx_help' in in de console om de beschikbare commando's te bekijken TIME_INFO_1 = Resterende tijd: %d:%02d min. Volgende map: %s TIME_INFO_2 = Geen tijdlimiet. Volgende map: %s  [es] HELP_COMS = Ayuda de AMX Mod X: Comandos HELP_ENTRIES = Entradas %d - %d de %d HELP_USE_MORE = Escribe 'amx_help %d' para mostrar mas HELP_USE_BEGIN = Escribe 'amx_help 1' para volver al principio TYPE_HELP = Escribe 'amx_help' en la consola para ver los comandos disponibles TIME_INFO_1 = Tiempo restante: %d:%02d min. Proximo Mapa: %s TIME_INFO_2 = Tiempo Ilimitado. Proximo Mapa: %s  [cz] HELP_COMS = AMX Mod X Help: Prikazy HELP_ENTRIES = Polozky %d - %d z %d HELP_USE_MORE = Napis 'amx_help %d' pro vice HELP_USE_BEGIN = napis 'amx_help 1' pro zacatek TYPE_HELP = Napis 'amx_help' do konzole pro vypis prikazu TIME_INFO_1 = Zbyva jeste: %d:%02d min. Dalsi mapa: %s TIME_INFO_2 = Neni casovy limit. Dalsi mapa: %s  [fi] HELP_COMS = AMX Mod X Help: Komennot HELP_ENTRIES = Kohdat %d - %d Kaikkiaan %d HELP_USE_MORE = Kirjoita 'amx_help %d' saadaksesi lisatietoja HELP_USE_BEGIN = Kirjoita 'amx_help 1' aloittaaksesi TYPE_HELP = Kirjoita 'amx_help' konsoliin nahdaksesi komennot TIME_INFO_1 = Aikaa jaljella: %d:%02d minuuttia. Seuraava mappi: %s TIME_INFO_2 = Ei aikarajaa. Seuraava mappi: %s  [ls] HELP_COMS = 4MXTR3M3 M0d XTR3M3 |-|3l|>: |200t C0mm4ndz HELP_ENTRIES = 3nt|2i3z %d - %d 0v %d HELP_USE_MORE = uzi 'amx_help %d' f0r m0r3 b4$3 HELP_USE_BEGIN = uzi 'amx_help 1' f0r b3g!n h4x0rin' TYPE_HELP = uzi 'amx_help' t4 s33 r00tz TIME_INFO_1 = N0t T!m3 3nu77: %d:%02d min. N3x\ M4|>: %s TIME_INFO_2 = T!m3 i$ r3l4t!v3 t0 j00r |200t.  N3x\ M4|>: %s  [bg] HELP_COMS = AMX Mod X Help: Comandi HELP_ENTRIES = Vkarani %d - %d ot %d HELP_USE_MORE = Izpolzvaite 'amx_help %d' za pove4e HELP_USE_BEGIN = izpolzvaite 'amx_help 1' za na4alo TYPE_HELP = napi6ete 'amx_help' v consolata za da vidite pove4e comandi TIME_INFO_1 = Ostava6to vreme: %d:%02d min. Sledva6tata karta: %s TIME_INFO_2 = Nqma limit na vremeto. Sledva6tata karta: %s  [ro] HELP_COMS = Ajutor AMX Mod X: Comenzi HELP_ENTRIES = Intrari %d - %d din %d HELP_USE_MORE = Scrie 'amx_help %d' pentru mai mult HELP_USE_BEGIN = Scrie 'amx_help 1' pentru inceput TYPE_HELP = Scrie 'amx_help' in consola pentru afisare lista comenzi TIME_INFO_1 = Timp Ramas: %d:%02d. Urmatoarea Harta: %s TIME_INFO_2 = Nici o Limita a Timpului. Urmatoarea Harta: %s  [hu] HELP_COMS = AMX Mod X segitseg: Parancsok HELP_ENTRIES = Bejegyzes %d - %d of %d HELP_USE_MORE = Irj 'amx_help %d' -t tobbhoz HELP_USE_BEGIN = Irj 'amx_help 1' -t az elso oldalhoz TYPE_HELP = Irj 'amx_help' -t a konzolba hogy lathasd a parancsokat TIME_INFO_1 = Hatralevo ido: %d:%02d perc. kovetkezo palya: %s TIME_INFO_2 = Nincs idohatar. A kovetkezo palya: %s  [lt] HELP_COMS = AMX Mod X Pagalba: Komandos HELP_ENTRIES = Irasai %d - %d is %d HELP_USE_MORE = Naudok 'amx_help %d' del daugiau info HELP_USE_BEGIN = Naudok 'amx_help 1' kad pradetum TYPE_HELP = Rasyk 'amx_help' konsoleje, kad pamatytum prieinamas komandas. TIME_INFO_1 = Liko laiko: %d:%02d min. Kitas zemelapis: %s TIME_INFO_2 = Nera laiko limito. Kitas zemelapis: %s  [sk] HELP_COMS = AMX Mod X Help: Prikazy HELP_ENTRIES = Polozky %d - %d z %d HELP_USE_MORE = Napis 'amx_help %d' pre viac HELP_USE_BEGIN = Napis 'amx_help 1' pre zaciatok TYPE_HELP = Napis 'amx_help' do konzoly pre vypis prikazov TIME_INFO_1 = Ostava este: %d:%02d min. Dalsia mapa: %s TIME_INFO_2 = Neni casovy limit. Dalsia mapa: %s  [mk] HELP_COMS = AMX Mod X Pomos - Dozvoleni komandi se: HELP_ENTRIES = Komandi %d - %d od %d HELP_USE_MORE = Napisi 'amx_help %d' za uste komandi HELP_USE_BEGIN = Napisi 'amx_help 1' za od pocetok TYPE_HELP = Napisi 'amx_help' vo konzolata za da gi vidis dozvolenite komandi TIME_INFO_1 = Preostanato Vreme: %d:%02d min. Sledna Mapa: %s TIME_INFO_2 = Nema vremensko ogranicuvanje. Sledna Mapa: %s
oh wow thanks sir it works fine i did not know this method of adding color i always thought you need to use color chat ty btw i have one more question will this work also for statsx plugin ?
vase070 is offline
Airkish
AlliedModders Donor
Join Date: Apr 2016
Location: Lithuania
Old 09-19-2016 , 12:11   Re: help with adminhelp and colorchat
Reply With Quote #7

Quote:
Originally Posted by vase070 View Post
oh wow thanks sir it works fine i did not know this method of adding color i always thought you need to use color chat ty btw i have one more question will this work also for statsx plugin ?
It will

Pretty sure it works for all
__________________
Airkish 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 09:39.


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