Mesaje server ,reclamă

Discutii legate de instalarea, configurarea si modificarea unui server de Counter-Strike.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Cornel.
Membru, skill 0
Membru, skill 0
Posts: 25
Joined: 15 Sep 2012, 12:12
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 1 time
Contact:

25 Sep 2013, 19:43

Am și eu o problemă,am băgat un addons ,l am modificat puțin și nu știu cum să scot(modific) astfel de mesaje (acelea pe verde)
Vă rog să mă ajutați,sunt începător.
Image (Dacă îl cauți.....,acelea vreau)
Dau mulțumesc.
RoyalServer 2
User avatar
alynut
Administrator
Administrator
Posts: 7122
Joined: 02 Jul 2012, 06:31
Detinator Steam: Da
CS Status: In concediu, activez mai rar .
SteamID: alynut991
Reputatie: Fost Administrator
Fost Intermediar
Location: Bucuresti
Has thanked: 183 times
Been thanked: 445 times

25 Sep 2013, 20:07

Cauta in :

Code: Select all

cstrike/addons/amxmodx/configs/advertisements.ini
Cornel.
Membru, skill 0
Membru, skill 0
Posts: 25
Joined: 15 Sep 2012, 12:12
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 1 time
Contact:

25 Sep 2013, 20:26

alynut wrote:Cauta in :

Code: Select all

cstrike/addons/amxmodx/configs/advertisements.ini
Nu am niciun fișier cu numele ăsta [-x
User avatar
alynut
Administrator
Administrator
Posts: 7122
Joined: 02 Jul 2012, 06:31
Detinator Steam: Da
CS Status: In concediu, activez mai rar .
SteamID: alynut991
Reputatie: Fost Administrator
Fost Intermediar
Location: Bucuresti
Has thanked: 183 times
Been thanked: 445 times

25 Sep 2013, 20:27

Posteaza lista cu plugin.ini .
Cornel.
Membru, skill 0
Membru, skill 0
Posts: 25
Joined: 15 Sep 2012, 12:12
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 1 time
Contact:

25 Sep 2013, 20:32

  • ; AMX Mod X plugins
    global_bans.amxx ; Advanced bans, un nou tip de ban
    global_who.amxx ; admine


    ; Admin Base - Always one has to be activated
    admin.amxx ; admin base (required for any admin-related)
    ;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)

    ; Basic
    admincmd.amxx ; basic admin console commands
    adminhelp.amxx ; help command for admin console commands
    adminslots.amxx ; slot reservation
    multilingual.amxx ; Multi-Lingual management

    ; Menus
    menufront.amxx ; front-end for admin menus
    cmdmenu.amxx ; command menu (speech, settings)
    plmenu.amxx ; CS16 players menu (kick, ban, client cmds.)
    ;telemenu.amxx ; teleport menu (Fun Module required!)
    mapsmenu.amxx ; maps menu (vote, changelevel)
    pluginmenu.amxx ; Menus for commands/cvars organized by plugin

    ; Chat / Messages
    adminchat.amxx ; console chat commands
    antiflood.amxx ; prevent clients from chat-flooding the server
    scrollmsg.amxx ; displays a scrolling message
    imessage.amxx ; displays information messages
    adminvote.amxx ; vote commands

    ; Map related
    nextmap.amxx ; displays next map in mapcycle
    mapchooser.amxx ; allows to vote for next map
    global_mapextender.amxx ; extinde timpul hartii pana se termina runda
    timeleft.amxx ; displays time left on map

    ; Configuration
    ;pausecfg.amxx ; allows to pause and unpause some plugins
    statscfg.amxx ; allows to manage stats plugins via menu and commands

    ; Counter-Strike
    restmenu.amxx ; restrict weapons menu
    statsx.amxx ; stats on death or round end (CSX Module required!)
    ;miscstats.amxx ; bunch of events announcement for Counter-Strike
    ;stats_logging.amxx ; weapons stats logging (CSX Module required!)

    ; Enable to use AMX Mod plugins
    ;amxmod_compat.amxx ; AMX Mod backwards compatibility layer

    ; Custom - Add 3rd party plugins here

    ; Securitate
    ;Krond-Functions.amxx

    global_freelook.amxx ; Adminii pot sta spectatori pe ambele echipe
    global_ghostchat.amxx ; Toti de pe server vad chatul, vii-morti / morti-vii
    global_ptb.amxx ; Echilibreaza echipele, dupa nr de jucatori si dupa skill
    global_esp.amxx ; Ajuta la detectarea codatilor, tasta T-meniu / tasta W-ON / tasta S-OFF
    global_pingfaker.amxx ; Ascunde adevaratul ping al jucatorilor si il inlocuieste cu altul mai mic
    global_autorestart.amxx ; Scrii in chat /rr sau /restart si se restarteaza runda
    global_bet.amxx ; Pariuri Stanleybet =))
    global_preturi.amxx ; Afiseaza in Chat Pretul Adminilor !
    global_bulletdamage_v2.amxx ; Noua versiune Bullet'Dmg !
    global_mesaje.amxx ; Arata Mesajele Serverului.
    global_timeout.amxx ; Strica Cs-u
    ;global_headshot.amxx ; Sunete head-shot
    global_gamemenu.amxx ; Game menu
    global_spawn.amxx ; Spawnuri la harti care nu incap 32 playeri
    global_c4timer.amxx ; Arata timpul la bomba
    global_transfer.amxx ; Ii poti muta pe cei de la T la ct si cei de la CT la t
    global_resetscore.amxx ; Reseteaza scorul
    global_blind.amx ; Pentru codati
    global_ss.amxx ; Face poze unui jucator
    global_gag.amxx ; Amx_gag - pentru a da mut jucatorilor cu limbaj neadecvat
    global_restrictnames.amxx ; Schimba numele restrictionate pe server in global.pronation.ro
    global_harti.amxx ; Ultimele harti care s-au jucat pe server
    global_showip.amxx ; Arata ip-urile jucatorilor
Astea?
User avatar
sUperstar
Utilizator neserios (tepar)
Utilizator neserios (tepar)
Posts: 3321
Joined: 01 Mar 2013, 23:08
Detinator Steam: Da
Reputatie: Restrictie moderator [abuz de functie]
Fost eXtream mod
Utilizator neserios (tepar!)
Has thanked: 42 times
Been thanked: 97 times

25 Sep 2013, 20:32

addons / amxmodx / scripting .
Ti-am lasat doar "Bun venit pe server" adaugi ce vrei tu .
| Afiseaza codul
#include < amxmodx >
#include < amxmisc >

#define PLUGIN "Messages Shower"
#define VERSION "1.0"
#define AUTHOR "Alka"

#define ADVERTISING_TIME 25.0

stock const messages [ ] [ ] =
{
   "Bun venit pe server !",

}

public plugin_init ( )
{
	register_plugin ( PLUGIN, VERSION, AUTHOR )
	
	set_task ( ADVERTISING_TIME, "show_messages", _, _, _,"b" );
}

public show_messages ( )
{
	new Buffer[256];
	formatex(Buffer, sizeof Buffer - 1, "^x04%s", messages[random(sizeof messages)]);
	
	new players[32], num, id;
	get_players(players, num);
	
	for(new i = 0 ; i < num ; i++)
	{
		id = players
	
		message_begin(MSG_ONE, get_user_msgid("SayText"), _, id);
		write_byte(id);
		write_string(Buffer);
		message_end();
	}
}
RIPPLE FAUCET - Castiga pana la 1 Ripple pe zi!
User avatar
alynut
Administrator
Administrator
Posts: 7122
Joined: 02 Jul 2012, 06:31
Detinator Steam: Da
CS Status: In concediu, activez mai rar .
SteamID: alynut991
Reputatie: Fost Administrator
Fost Intermediar
Location: Bucuresti
Has thanked: 183 times
Been thanked: 445 times

25 Sep 2013, 20:34

Scoate plugin-ul global_mesaje.amxx si inlocuiestel cu altul mesajele se afla in acel plugin si nu poate fi modificate doar daca ai .sma la el .
Cornel.
Membru, skill 0
Membru, skill 0
Posts: 25
Joined: 15 Sep 2012, 12:12
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 1 time
Contact:

25 Sep 2013, 21:11

Am modificat direct de acolo și tot așa apare..am salvat..și tot așa >:)
User avatar
alynut
Administrator
Administrator
Posts: 7122
Joined: 02 Jul 2012, 06:31
Detinator Steam: Da
CS Status: In concediu, activez mai rar .
SteamID: alynut991
Reputatie: Fost Administrator
Fost Intermediar
Location: Bucuresti
Has thanked: 183 times
Been thanked: 445 times

25 Sep 2013, 21:18

Cornel. wrote:Am modificat direct de acolo și tot așa apare..am salvat..și tot așa >:)
Ai compilat sursa ?
Cornel.
Membru, skill 0
Membru, skill 0
Posts: 25
Joined: 15 Sep 2012, 12:12
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 1 time
Contact:

25 Sep 2013, 21:20

alynut wrote:
Cornel. wrote:Am modificat direct de acolo și tot așa apare..am salvat..și tot așa >:)
Ai compilat sursa ?
Adică ?
Ți am zis,sunt începător.
User avatar
alynut
Administrator
Administrator
Posts: 7122
Joined: 02 Jul 2012, 06:31
Detinator Steam: Da
CS Status: In concediu, activez mai rar .
SteamID: alynut991
Reputatie: Fost Administrator
Fost Intermediar
Location: Bucuresti
Has thanked: 183 times
Been thanked: 445 times

25 Sep 2013, 21:23

| Afiseaza codul
#include < amxmodx >
#include < amxmisc >

#define PLUGIN "Messages Shower"
#define VERSION "1.0"
#define AUTHOR "Alka"

#define ADVERTISING_TIME 25.0

stock const messages [ ] [ ] =
{
   "Bun venit pe server !",

}

public plugin_init ( )
{
	register_plugin ( PLUGIN, VERSION, AUTHOR )
	
	set_task ( ADVERTISING_TIME, "show_messages", _, _, _,"b" );
}

public show_messages ( )
{
	new Buffer[256];
	formatex(Buffer, sizeof Buffer - 1, "^x04%s", messages[random(sizeof messages)]);
	
	new players[32], num, id;
	get_players(players, num);
	
	for(new i = 0 ; i < num ; i++)
	{
		id = players
	
		message_begin(MSG_ONE, get_user_msgid("SayText"), _, id);
		write_byte(id);
		write_string(Buffer);
		message_end();
	}
}

Aici este sursa la plugin mai adaugi mesajele de care ai nevie si dai copy /paste aici http://www.amxmodx.org/webcompiler.cgi
La Plugin short name: scrii numele pluginului si dupa apesi jos pe compilare si iti va aparea un link de download de unde descarci pluginul compilat .
Cornel.
Membru, skill 0
Membru, skill 0
Posts: 25
Joined: 15 Sep 2012, 12:12
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 1 time
Contact:

25 Sep 2013, 21:30

Dă eroarea asta:
/tmp/textIe9oP4.sma(15) : error 037: invalid string (possibly non-terminated string)

1 Error.
Could not locate output file /home/groups/amxmodx/public_html/websc3/textIe9oP4.amx (compile failed).
Post Reply

Return to “Probleme la servere dedicate de Counter-Strike”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 101 guests