Comenzile ce incep cu "/" sa nu fie afisate pe chat
Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com
-
- Membru, skill 0
- Posts: 9
- Joined: 15 Apr 2020, 13:33
- Detinator Steam: Nu
- CS Status: Citesc forumul eXtreamCS.com...!
- Fond eXtream: 0
- Has thanked: 5 times
Salut,deoarece nu sunt expert in domeniul de scripting,as dori sa aflu cum setez sa nu apara nimic pe chat daca textul incepe cu "/",exemplu /rules.Comanda sa fie executata normal dar nu vreau in chat sa apara nimic,nici la persoana care a executat comanda nici la restul playerilor.Multumesc frumos.
Last edited by levin on 21 Nov 2022, 22:54, edited 1 time in total.
Reason: nu trb să fi expert
Reason: nu trb să fi expert
- CryWolf
- 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:
Code: Select all
return PLUGIN_HANDLED;
Code: Select all
#include < amxmodx >
public plugin_init ( )
{
register_plugin ( "Nume", "0.0.1", "autor" );
register_clcmd ( "say /rules", "CmdSayRules" );
}
public CmdSayRules ( id )
{
// comanda
// si la final
// atentie poate face ca alte comenzi de tip meniuri etc sa dispara de la sine
// deoarece continuarea pluginului va fi blocata aici;
return PLUGIN_HANDLED;
}
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
www.dark-arena.com , SERVERE CS / CS2 / L4D AU REVENIT ONLINE.
www.diasporaiptv.ro - SERVICII PREMIUM IPTV
-
- Membru, skill 0
- Posts: 57
- Joined: 13 May 2023, 16:29
- Detinator Steam: Nu
- CS Status: Citesc forumul eXtreamCS.com...!
- Fond eXtream: 0
- Discord: -
- Has thanked: 11 times
- Been thanked: 4 times