User
Pass
2FA
 
 

[TUTORIAL] Modificare comenzi

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Tutorials
Author Message1243
Happy =]]

[I'm in your mind !]



Status: Offline
(since 02-05-2020 11:17)
Joined: 17 Mar 2012
Posts: 10538, Topics: 450
Location: In mintea ta !

Reputation: 553
Votes: 204

         
Post Posted: 22-08-2013, 11:52:59 | Translate post to: ... (Click for more languages)

Descriere:
»Cum sa modifici comenzile din amx_ in admin_.

Info:

»Nume: Modificare comenzi
»Autor:gyuky

Pasul I:

»Deschideti admincmd.sma.
[ cstrike\addons\amxmodx\scripting ]

Pasul II:

»Mergeti la liniile 162 pana la 180



Pasul III:

»Inlocuiti liniile cu acestea:

Code:
 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>")


Pasul IV:

»Compliati din nou plugin-ul.






Pentru orice problema PM.
Nu ofer asistenta in privat.

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Tutorials  


The time now is 03-12-2024, 08:37:13
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password