Jump to content

Recommended Posts

Posted

RO

  • Intra in scripting , deschide fisierul.sma numit admincmd , cauta comanda amx_who , o sa iti apara asa:
Quote

Code:

register_concmd("amx_slap", "cmdSlap", ADMIN_SLAY, "<name or #userid> [power]")
register_concmd("amx_leave", "cmdLeave", ADMIN_KICK, "<tag> [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")

 

  • Dezactiveaza amx_who din admincmd , adica asa:

 

Quote

register_concmd("amx_slap", "cmdSlap", ADMIN_SLAY, "<name or #userid> [power]")
register_concmd("amx_leave", "cmdLeave", ADMIN_KICK, "<tag> [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")

 

  • Apoi , salvezi si copilezi fisierul modificat pe care il reuploadezi in plugins. Deci tu trebuie sa dezactivezi comanda default a serverului pentru amx_who si sa o pui pe a ta.

 

==================================================================

EN

  • Click on scripting folder and open the file named admincmd. Search the amx_who command:

 

Quote

Code:

register_concmd("amx_slap", "cmdSlap", ADMIN_SLAY, "<name or #userid> [power]")
register_concmd("amx_leave", "cmdLeave", ADMIN_KICK, "<tag> [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")

 

  • Disable amx_who from the admincmd, as below:
Quote

register_concmd("amx_slap", "cmdSlap", ADMIN_SLAY, "<name or #userid> [power]")
register_concmd("amx_leave", "cmdLeave", ADMIN_KICK, "<tag> [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")

  • Then save and compile the modified .sma file. You must disable the default amx_who command of server, and you replace with your own.

 

\Good luck!

Adi [ak Mr.Love] - administrator CsBlackDevil Community

  • I love it 5

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.