Raised This Month: $ Target: $400
 0% 

CVars


  
 
 
Thread Tools Display Modes
Author Message
Cardinal62
Junior Member
Join Date: Nov 2006
Old 11-04-2006 , 04:27   CVars
#1

Hallo zusammen...
vorweg, ich betreibe seit 2 Tagen meinen ersten amxx Public Server, und ich möchte anmerken das ich nur mit hilfe der Suchfunktion sicherlich 20 Fragen die ich hätte stellen können beantwortet habe.

Aber eine Frage, die konnte ich hier nicht finden, und auch nicht bei Google.

Die meisten Plugins werden als sma oder amxx ohne weitere Configdatei ausgeliefert, und verfügen über "CVars" um Settings zu ändern.

Aber was ist eine CVar? Wo kann ich sie ändern? (Konsole scheinbar nicht) Wie? Bisher muss ich immer in die sma gehen, dort eine Einstellung ändern und das Plugin neu konfigurieren. Ist das nötig?

Nichts für ungut ;)
Cardi
Cardinal62 is offline
Send a message via ICQ to Cardinal62
SeToY
SourceMod Donor
Join Date: Jul 2006
Location: Germany
Old 11-04-2006 , 04:57   Re: CVars
#2

Eine CVAR ist z.B. sv_restartround oder mp_c4timer. also die commands um z.B. die Runde neuzustarten oder die bombenzeit einzustellen
__________________
Success is a lousy teacher. It seduces smart people into thinking they can't lose.
- Bill Gates

Quote:
Originally Posted by Hawk552
SeToY is a retard, scumbag and asshole and you shouldn't pretend that he isn't.
SeToY is offline
Cardinal62
Junior Member
Join Date: Nov 2006
Old 11-04-2006 , 05:11   Re: CVars
#3

Aber dann sollte ich die entsprechenden CVars ja über die Konsole eingeben können, oder? Ich bekomme nur die Meldung "unkown command"
Cardinal62 is offline
Send a message via ICQ to Cardinal62
lumbsta
Veteran Member
Join Date: Jun 2006
Location: Germany
Old 11-04-2006 , 05:21   Re: CVars
#4

Du meinst bestimmt die AMXX CVars; die kommen normalerweise in die amxx.cfg, wie z.B. amx_reservation
__________________
Empty your mind. Be formless, shapeless, like water. Now, you put water into a cup - it becomes the cup. Putting it into a tea-pot - it becomes the teapot. Look, water can flow, or creep, or drip or crash. Be water, my friend.

by Bruce Lee
lumbsta is offline
Send a message via ICQ to lumbsta Send a message via MSN to lumbsta Send a message via Skype™ to lumbsta
Cardinal62
Junior Member
Join Date: Nov 2006
Old 11-04-2006 , 05:25   Re: CVars
#5

Nein, sorry das habe ich ganz vergessen zu sagen. In meinem Beispiel geht es speziell um das Plugin hier:

http://forums.alliedmods.net/showthr...&highlight=pbk

Da werden eine Reihe von CVars aufgelistet, aber nichts gesagt wie sie zu verwenden sind :/
Cardinal62 is offline
Send a message via ICQ to Cardinal62
SeToY
SourceMod Donor
Join Date: Jul 2006
Location: Germany
Old 11-04-2006 , 05:30   Re: CVars
#6

die kannste z.B. in HLSW benutzen
__________________
Success is a lousy teacher. It seduces smart people into thinking they can't lose.
- Bill Gates

Quote:
Originally Posted by Hawk552
SeToY is a retard, scumbag and asshole and you shouldn't pretend that he isn't.
SeToY is offline
Cardinal62
Junior Member
Join Date: Nov 2006
Old 11-04-2006 , 05:39   Re: CVars
#7

Ok hab mal alles eingegeben.. jetzt wird die zeit zeigen ob er das so angenommen hat ^^

Danke erstmal!
Cardinal62 is offline
Send a message via ICQ to Cardinal62
SeToY
SourceMod Donor
Join Date: Jul 2006
Location: Germany
Old 11-04-2006 , 06:08   Re: CVars
#8

np ;-)
__________________
Success is a lousy teacher. It seduces smart people into thinking they can't lose.
- Bill Gates

Quote:
Originally Posted by Hawk552
SeToY is a retard, scumbag and asshole and you shouldn't pretend that he isn't.
SeToY is offline
Cardinal62
Junior Member
Join Date: Nov 2006
Old 11-04-2006 , 13:17   Re: CVars
#9

Interessanter weise kickt das Plugin einfach mal jeden Nicht-Admin, egal was er tut =)

Habs deaktiviert, hat jemand einen Vorschlag für ne alternative?
Cardinal62 is offline
Send a message via ICQ to Cardinal62
Phobos
Senior Member
Join Date: Jul 2005
Location: Germany
Old 11-04-2006 , 13:17   Re: CVars
#10

genauso gut kannste die sachen in die amxx.cfg im config-ordner schreiben

zb
Code:
pbk_afk_time 120
usw

€: trag mal die cvars wie beschrieben in die amxx.cfg ein, probiers aus, und falls es nicht geht, poste das was du eingetragen hast.
__________________
Sorry for my bad english ;)

http://www.ratsclanseite.de

Last edited by Phobos; 11-04-2006 at 13:21.
Phobos is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode