Comanda cvar

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

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Post Reply
ExTaZzy
Membru, skill 0
Membru, skill 0
Posts: 29
Joined: 03 May 2013, 07:14
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 2 times
Contact:

27 Dec 2013, 21:14

Salut! Stie cineva o modelitate de a executa serverul o comanda cvar ? Tin sa precizez ca, comanda este sv_airaccelerate 9999999 si am trecut-o in server.cfg si in amx.cfg. Multumesc anticipat !
Rapidserver
User avatar
pinky.
Membru, skill +1
Membru, skill +1
Posts: 163
Joined: 14 Apr 2013, 16:07
Detinator Steam: Da
CS Status: Busy!
Detinator server CS: STAR.CSBEST.RO
Location: Focşani
Has thanked: 2 times
Been thanked: 7 times
Contact:

27 Dec 2013, 22:28

Vreo o modalitate ca serverul să-ţi execute o comandă cvar?
Pune-o în server.cfg

comanda "valoare"
ExTaZzy
Membru, skill 0
Membru, skill 0
Posts: 29
Joined: 03 May 2013, 07:14
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 2 times
Contact:

27 Dec 2013, 22:44

pinky. wrote:Vreo o modalitate ca serverul să-ţi execute o comandă cvar?
Pune-o în server.cfg

comanda "valoare"
Am mentionat mai sus ca este pusa comanda si in server.cfg
User avatar
SaLLeR ;ddd
Membru, skill +4
Membru, skill +4
Posts: 1544
Joined: 22 Jul 2011, 23:08
Detinator Steam: Nu
CS Status: Nu mai joc.
Detinator server CS: Mai demult.
SteamID: Inexistent.
Reputatie: Restrictie moderator!
Membru Club eXtreamCS (1 luna)
Location: Cum ajung acasa?
Has thanked: 119 times
Been thanked: 164 times

27 Dec 2013, 23:43

Nu executa comanda pentru ca are valoare prea mare.
ExTaZzy
Membru, skill 0
Membru, skill 0
Posts: 29
Joined: 03 May 2013, 07:14
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 2 times
Contact:

28 Dec 2013, 20:10

SaLLeR ;ddd wrote:Nu executa comanda pentru ca are valoare prea mare.

Stii cumva care ar fi valoarea maxima care ar accepta-o ?
User avatar
pinky.
Membru, skill +1
Membru, skill +1
Posts: 163
Joined: 14 Apr 2013, 16:07
Detinator Steam: Da
CS Status: Busy!
Detinator server CS: STAR.CSBEST.RO
Location: Focşani
Has thanked: 2 times
Been thanked: 7 times
Contact:

28 Dec 2013, 23:17

Maximul cred c-ar fi 999 ! :)
User avatar
SaLLeR ;ddd
Membru, skill +4
Membru, skill +4
Posts: 1544
Joined: 22 Jul 2011, 23:08
Detinator Steam: Nu
CS Status: Nu mai joc.
Detinator server CS: Mai demult.
SteamID: Inexistent.
Reputatie: Restrictie moderator!
Membru Club eXtreamCS (1 luna)
Location: Cum ajung acasa?
Has thanked: 119 times
Been thanked: 164 times

28 Dec 2013, 23:41

ExTaZzy wrote:
SaLLeR ;ddd wrote:Nu executa comanda pentru ca are valoare prea mare.

Stii cumva care ar fi valoarea maxima care ar accepta-o ?
Default ii 10 iar pentru servere de hns se foloseste 100.
ExTaZzy
Membru, skill 0
Membru, skill 0
Posts: 29
Joined: 03 May 2013, 07:14
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 2 times
Contact:

29 Dec 2013, 17:46

SaLLeR ;ddd wrote:
ExTaZzy wrote:
SaLLeR ;ddd wrote:Nu executa comanda pentru ca are valoare prea mare.

Stii cumva care ar fi valoarea maxima care ar accepta-o ?
Default ii 10 iar pentru servere de hns se foloseste 100.
Am pus valoarea 100 dar tot nu executa comanda
User avatar
SaLLeR ;ddd
Membru, skill +4
Membru, skill +4
Posts: 1544
Joined: 22 Jul 2011, 23:08
Detinator Steam: Nu
CS Status: Nu mai joc.
Detinator server CS: Mai demult.
SteamID: Inexistent.
Reputatie: Restrictie moderator!
Membru Club eXtreamCS (1 luna)
Location: Cum ajung acasa?
Has thanked: 119 times
Been thanked: 164 times

29 Dec 2013, 22:49

Adauga valoare asa "100"!
ExTaZzy
Membru, skill 0
Membru, skill 0
Posts: 29
Joined: 03 May 2013, 07:14
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 2 times
Contact:

30 Dec 2013, 13:50

SaLLeR ;ddd wrote:Adauga valoare asa "100"!
Am adaugat valoarea cum ai zis tu dar degeaba, tot nu o executa
User avatar
SaLLeR ;ddd
Membru, skill +4
Membru, skill +4
Posts: 1544
Joined: 22 Jul 2011, 23:08
Detinator Steam: Nu
CS Status: Nu mai joc.
Detinator server CS: Mai demult.
SteamID: Inexistent.
Reputatie: Restrictie moderator!
Membru Club eXtreamCS (1 luna)
Location: Cum ajung acasa?
Has thanked: 119 times
Been thanked: 164 times

30 Dec 2013, 16:42

Schimba server.cfg, ultima solutie.
User avatar
cyby
Scripter eXtreamCS
Scripter eXtreamCS
Posts: 1771
Joined: 16 Jul 2011, 20:46
Detinator Steam: Da
Detinator server CS: Da
Reputatie: Scripter eXtreamCS
Fost Moderator ajutator
Location: Bacău
Has thanked: 145 times
Been thanked: 388 times
Contact:

30 Dec 2013, 21:19

| Afiseaza codul
#include <amxmodx>

#define EXEC_CMD float:180.0

new const comenzi[][] = 
{
	"comanda 1",
	"comanda 2",
	"comanda 3"
}

public plugin_init()
{
	register_plugin("execute cmds", "1.0", "cyby")
	
	exec_cmds()
	set_task(float(EXEC_CMD), "exec_cmds", _, _, _, "b")
}

public exec_cmds()
{
	for(new i = 0; i < sizeof comenzi; i++)
		server_cmd("%s", comenzi)
}


Acolo pui comenzile care le vrei.
89.34.25.17:27015 - XMAS MOD
89.34.25.38:27015 - XMAS MOD
Post Reply

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

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests