Ne-am mutat pe www.x-metin2.com


 
AcasaGalerieFAQCautareMembriGrupuriInregistrareConectareParteneri

Distribuiţi | 
 

  Tutorial modificare comenzi din amx_ in admin_

In jos 
AutorMesaj
Chameleon
Moderator
Moderator
avatar

Mesaje : 104
Bani in Mana Bani in Mana : 2383
Multumiri Primite: : 1
Membru din: : 27/01/2013
Varsta : 24
Localizare : Braila
Ţară de origine: : Romania

MesajSubiect: Tutorial modificare comenzi din amx_ in admin_   Vin Feb 15, 2013 12:42 am

Nume: Tutorial modificare comenzi din amx_ in admin_
Autor: gyuky
Fisiere folosite:


1.Primul pas este sa deschideti admincmd.sma din cstrike\addons\amxmodx\scripting folosind AmxModX Studio .

2.In .sma gasiti comenzi de admin cu amx_ de la linia 162 pana la 180.


3.Inlocuiti partea de la 2 cu aceasta :
Cod:
   register_concmd("admin_kick", "cmdKick", ADMIN_KICK, "<name or #userid> [reason]")
   register_concmd("admin_ban", "cmdBan", ADMIN_BAN, "<name or #userid> <minutes> [reason]")
   register_concmd("admin_banip", "cmdBanIP", ADMIN_BAN, "<name or #userid> <minutes> [reason]")
   register_concmd("admin_addban", "cmdAddBan", ADMIN_BAN, "<^"authid^" or ip> <minutes> [reason]")
   register_concmd("admin_unban", "cmdUnban", ADMIN_BAN, "<^"authid^" or ip>")
   register_concmd("admin_slay", "cmdSlay", ADMIN_SLAY, "<name or #userid>")
   register_concmd("admin_slap", "cmdSlap", ADMIN_SLAY, "<name or #userid> [power]")
   register_concmd("admin_leave", "cmdLeave", ADMIN_KICK, "<tag> [tag] [tag] [tag]")
   register_concmd("admin_pause", "cmdPause", ADMIN_CVAR, "- pause or unpause the game")
   register_concmd("admin_who", "cmdWho", ADMIN_ADMIN, "- displays who is on server")
   register_concmd("admin_cvar", "cmdCvar", ADMIN_CVAR, "<cvar> [value]")
   register_concmd("admin_plugins", "cmdPlugins", ADMIN_ADMIN)
   register_concmd("admin_modules", "cmdModules", ADMIN_ADMIN)
   register_concmd("admin_map", "cmdMap", ADMIN_MAP, "<mapname>")
   register_concmd("admin_cfg", "cmdCfg", ADMIN_CFG, "<filename>")
   register_concmd("admin_nick", "cmdNick", ADMIN_SLAY, "<name or #userid> <new nick>")
   register_concmd("admin_last", "cmdLast", ADMIN_BAN, "- list the last few disconnected clients info");
   register_clcmd("admin_rcon", "cmdRcon", ADMIN_RCON, "<command line>")
   register_clcmd("admin_showrcon", "cmdShowRcon", ADMIN_RCON, "<command line>")

www.x-metin2.com

Sus In jos
Vezi profilul utilizatorului
Anunturi XF
Anunturi XF
avatar

Mesaje : 485
Bani in Mana Bani in Mana : 2601
Multumiri Primite: : 0
Membru din: : 31/01/2013

MesajSubiect: Re: Tutorial modificare comenzi din amx_ in admin_   Dum Feb 17, 2013 1:18 pm

banner10



Reclama ta la doar 3 euro...!
Sus In jos
Vezi profilul utilizatorului
 
Tutorial modificare comenzi din amx_ in admin_
Sus 
Pagina 1 din 1
 Subiecte similare
-
» [Tutorial] Cum sa faci un sistem de logare/inregistrare!

Permisiunile acestui forum:Nu puteti raspunde la subiectele acestui forum
Ne-am mutat pe www.x-metin2.com :: ╚» X-Faction - Jocuri :: Counter-Strike 1.6 :: Tutoriale-
Mergi direct la: