Cerere plugin [blocare comanda]

Cereri de pluginuri noi, skinuri in CS, etc.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Post Reply
User avatar
sharkstar
Membru, skill +4
Membru, skill +4
Posts: 1735
Joined: 24 Dec 2012, 15:51
Detinator Steam: Da
CS Status: Rupetot
SteamID: privat
Location: Bucuresti
Has thanked: 70 times
Been thanked: 42 times

23 Oct 2013, 18:52

Vreau si eu un plugin care sa blocheze comanda amx_reloadadmins.
[Cand un admin vrea sa dea amx_reloadadmins sa scrie ca nu exista comanda]
I've never been more normal than I am now.
My tumblr
User avatar
CryWolf
Administrator
Administrator
Posts: 6505
Joined: 07 Aug 2008, 16:33
Detinator Steam: Da
Reputatie: Administrator
Fost Scripter
Manager CS2.eXtream.Ro
Fost Detinator ZM.eXtream.Ro
Fost manager CS.eXtream.Ro
Fost manager CSGO.eXtream.Ro
Fost manager global
Location: Botosani
Discord: crywolf1989
Has thanked: 202 times
Been thanked: 850 times
Contact:

23 Oct 2013, 19:01

in admin.sma cauti comanda

Code: Select all

	register_concmd("amx_reloadadmins", "cmdReload", ADMIN_CFG)
si adaugi doua slashuri in fata ei, recompilezi pluginul si il pui pe Server
sa fie asa

Code: Select all

    // register_concmd("amx_reloadadmins", "cmdReload", ADMIN_CFG) 
NU IMI MAI DA-TI PM CU CERERE AJUTOR/SAMD, FOLOSITI FORUMUL, CITESC MAJORITATEA TOPICURILOR.
www.dark-arena.com , SERVERE CS / CS2 / L4D AU REVENIT ONLINE.
www.diasporaiptv.ro - SERVICII PREMIUM IPTV

Image

Image
Cosmin
Fost moderator
Fost moderator
Posts: 9362
Joined: 06 Jul 2013, 22:08
Detinator Steam: Da
Detinator server CS: Nu
Reputatie: Fost eXtream Mod
Fost Scripter eXtreamCS
Nume anterior: scosmynnnn
Has thanked: 492 times
Been thanked: 547 times

23 Oct 2013, 19:12

Code: Select all

/* Plugin generated by AMXX-Studio */

#include <amxmodx>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "C0sm1N"


public plugin_init() {
	register_plugin(PLUGIN, VERSION, AUTHOR)
	register_concmd("amx_reloadadmins","cmdReload")
}

public cmdReload(id)
{
	console_print(id, "Aceasta comanda nu exista")
	return 1;
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ ansicpg1252\\ deff0\\ deflang1033{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ f0\\ fs16 \n\\ par }
*/
Ori faci ca , criwolf ori baga plugin-ul asta,dar sa fie primu'l in lista din plugins.ini
User avatar
CryWolf
Administrator
Administrator
Posts: 6505
Joined: 07 Aug 2008, 16:33
Detinator Steam: Da
Reputatie: Administrator
Fost Scripter
Manager CS2.eXtream.Ro
Fost Detinator ZM.eXtream.Ro
Fost manager CS.eXtream.Ro
Fost manager CSGO.eXtream.Ro
Fost manager global
Location: Botosani
Discord: crywolf1989
Has thanked: 202 times
Been thanked: 850 times
Contact:

23 Oct 2013, 19:17

@scosmynnnn, Pentru ce sa mai puna un plugin cand rezolvarea este asa simpla ?

@sharkstar, Sau poti acorda accesul doar persoanelor cu acces la RCON la acea comanda pur si simplu modifici ADMIN_CFG cu ADMIN_RCON si Adminii simpli nu vor avea acces la comanda!

Code: Select all

register_concmd ( "amx_reloadadmins", "cmdReload", ADMIN_RCON );
NU IMI MAI DA-TI PM CU CERERE AJUTOR/SAMD, FOLOSITI FORUMUL, CITESC MAJORITATEA TOPICURILOR.
www.dark-arena.com , SERVERE CS / CS2 / L4D AU REVENIT ONLINE.
www.diasporaiptv.ro - SERVICII PREMIUM IPTV

Image

Image
User avatar
sharkstar
Membru, skill +4
Membru, skill +4
Posts: 1735
Joined: 24 Dec 2012, 15:51
Detinator Steam: Da
CS Status: Rupetot
SteamID: privat
Location: Bucuresti
Has thanked: 70 times
Been thanked: 42 times

23 Oct 2013, 19:26

CryWolf wrote:@scosmynnnn, Pentru ce sa mai puna un plugin cand rezolvarea este asa simpla ?

@sharkstar, Sau poti acorda accesul doar persoanelor cu acces la RCON la acea comanda pur si simplu modifici ADMIN_CFG cu ADMIN_RCON si Adminii simpli nu vor avea acces la comanda!

Code: Select all

register_concmd ( "amx_reloadadmins", "cmdReload", ADMIN_RCON );
Mersi , am facut cu ADMIN_RCON.
Rezolvat.
I've never been more normal than I am now.
My tumblr
Post Reply

Return to “Cereri”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests