Descriere: Uite ca am scos si urmatoarea versiunea cu toate comenzile ( default ) de la AMXX DEV TEAM ( lista cu comenzi o poti vedea mai jos ) , absolut toate comenzile administrative sunt colorate dupa placul meu , voi puteti modifica culoarea mesajelor // mesajele din admincmd.txt ( vezi modelu de mai jos ) , astfel cred ca fiecare se va discurca si va modifica culorile mesajelor // mesajele dupa bunul plac .
Descarcare:link
Nume: Colored Admincmd
Versiune: 1.2
Cod:
# register_concmd("amx_kick", "cmdKick", ADMIN_KICK, " [reason]")
# register_concmd("amx_ban", "cmdBan", ADMIN_BAN, " [reason]")
# register_concmd("amx_banip", "cmdBanIP", ADMIN_BAN, " [reason]")
# register_concmd("amx_addban", "cmdAddBan", ADMIN_RCON, " [reason]")
# register_concmd("amx_unban", "cmdUnban", ADMIN_BAN, "")
# register_concmd("amx_slay", "cmdSlay", ADMIN_SLAY, "")
# register_concmd("amx_slap", "cmdSlap", ADMIN_SLAY, " [power]")
# register_concmd("amx_leave", "cmdLeave", ADMIN_KICK, " [tag] [tag] [tag]")
# register_concmd("amx_pause", "cmdPause", ADMIN_CVAR, "- pause or unpause the game")
# register_concmd("amx_who", "cmdWho", ADMIN_ADMIN, "- displays who is on server")
# register_concmd("amx_cvar", "cmdCvar", ADMIN_CVAR, " [value]")
# register_concmd("amx_plugins", "cmdPlugins", ADMIN_ADMIN)
# register_concmd("amx_modules", "cmdModules", ADMIN_ADMIN)
# register_concmd("amx_map", "cmdMap", ADMIN_MAP, "")
# register_concmd("amx_cfg", "cmdCfg", ADMIN_CFG, "")
# register_concmd("amx_nick", "cmdNick", ADMIN_SLAY, " ")
# register_clcmd("amx_rcon", "cmdRcon", ADMIN_RCON, "")
# register_clcmd("amx_showrcon", "cmdShowRcon", ADMIN_RCON, "")
# register_clcmd("pauseAck", "cmdLBack")
Model colorare comenzi:
Citat:
Cod:
!g... - culoarea verde
!y... - culoare chat normal
!team... - team color ( tero = rosu , ct = albastru)
Deci , deschidem admincmd.txt ( cu notepad ) si acolo gasim un sir de comenzi , sa luam de exemplu "kick" , fie ca vrem sa modificam mesajul / culorile la aceasta comanda , acolo aveti ceva gen:
Citat:
Cod:
ADMIN_KICK_1 = ADMIN: kick %s
ADMIN_KICK_2 = !yADMIN !g%s!y: kick !g%s
la ADMIN_KICK_1 nu modificam nimic , lasam asa cum este ( la fel la toate comenzile care sunt _1 , mai pe scurpt modificam numai acolo unde e modificat ) , noi vrem sa apara mesajul asa: ADMIN SuNLiNE^ kick SuNLiNE^ ( rosu = team color , asa va aparea la tero ) , facem asa , gasimt ADMIN_KICK_2 , si modificam din
Citat:
Cod:
ADMIN_KICK_2 = !yADMIN !g%s!y: kick !g%s
in
Citat:
Cod:
ADMIN_KICK_2 = !gADMIN !team%s!g: kick !team%s
iesim si salvam , si va aparea asa cum am pus mai jos . . . , si asa la toate , puteti sa modificati sa apara ceva gen: (Admin SuNLiNE) kick SuNLiNE , nu are nimic .
Instalare:
• Fisierul admincmd.sma il puneti in addons/amxmodx/scripting
• Fisierul admincmd.amxx il puneti in addons/amxmodx/plugins
• Fisierul admincmd.txt il puneti in addons/amxmodx/data/lang
• Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati \\ inlocuiti:
Citat:
[sursa=]admincmd.amxx[/sursa]