Raised This Month: $ Target: $400
 0% 

a plugin execute all my cvar


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TehNewb
Member
Join Date: Nov 2007
Old 11-26-2007 , 11:23   a plugin execute all my cvar
Reply With Quote #1

hi...
i dont know if im on the good section but...

i want to know if there a plugin that would execute all cvar that i could put on a folder ex : mycvars.ini
cuz everytime i load my server i need to type em all...
and sometime my server crash and it open again and im not here to set up all cvar...

and i also need amx_pub load every time server start

thx for helps!
TehNewb is offline
Pro Patria Finland
Senior Member
Join Date: Apr 2006
Location: BaronPub.com
Old 11-26-2007 , 11:25   Re: a plugin execute all my cvar
Reply With Quote #2

Write the cvars your amxx.cfg or server.cfg.

Edit: Plugin requests should go to Plugin requests, but you don't need a plugin for this anyway.
__________________
I am not a number. I am Gordon Freeman!
Pro Patria Finland is offline
TehNewb
Member
Join Date: Nov 2007
Old 11-26-2007 , 11:33   Re: a plugin execute all my cvar
Reply With Quote #3

i dont get it?
TehNewb is offline
Pro Patria Finland
Senior Member
Join Date: Apr 2006
Location: BaronPub.com
Old 11-26-2007 , 11:40   Re: a plugin execute all my cvar
Reply With Quote #4

Open server.cfg OR amxx.cfg

Go to the end of the file.

Write

<cvar> <value>

Example:

amx_kickallnoobs 1

(No, that command does not exist).

Save and close, change map on server. Server.cfg and amxx.cfg are executed every mapchange, hence restoring your cvars to desired ones on every mapchange.
__________________
I am not a number. I am Gordon Freeman!
Pro Patria Finland is offline
purple_pixie
Veteran Member
Join Date: Jun 2007
Location: Winchester, England
Old 11-26-2007 , 11:41   Re: a plugin execute all my cvar
Reply With Quote #5

Step one, pretend someone already wrote this for you.

Step two, pretend that the config file it used was called "server.cfg"

(I.E this is inherent to CS .... you don't need a plugin)
purple_pixie is offline
TehNewb
Member
Join Date: Nov 2007
Old 11-26-2007 , 11:45   Re: a plugin execute all my cvar
Reply With Quote #6

thx pro
but i just found amxx.cfg didnt found the server.cfg so?
TehNewb is offline
Pro Patria Finland
Senior Member
Join Date: Apr 2006
Location: BaronPub.com
Old 11-26-2007 , 11:54   Re: a plugin execute all my cvar
Reply With Quote #7

Quote:
Originally Posted by TehNewb View Post
thx pro
but i just found amxx.cfg didnt found the server.cfg so?
You just have to write the cvars to one of them.

If there's no server.cfg, and you want one, create it (Notepad -> Save As -> All Files -> "server.cfg") to your cstrike directory.
__________________
I am not a number. I am Gordon Freeman!
Pro Patria Finland is offline
TehNewb
Member
Join Date: Nov 2007
Old 11-26-2007 , 11:58   Re: a plugin execute all my cvar
Reply With Quote #8

ok itry it
TehNewb is offline
TehNewb
Member
Join Date: Nov 2007
Old 11-26-2007 , 12:06   Re: a plugin execute all my cvar
Reply With Quote #9

mmm i tryed but that didnt work
on config i made a folder server.cfg and i writed it on the server.cfg
sv_alltalk 1
sv_restartround 30
sv_allchat 1
sv_airaccelerate 100
sv_voicecoec voice_speex
sv_voicequality 5
sayrules_type 3
TehNewb is offline
TehNewb
Member
Join Date: Nov 2007
Old 11-26-2007 , 12:13   Re: a plugin execute all my cvar
Reply With Quote #10

i tryed also
sv_alltalk "1"
sv_restartround "30"
sv_allchat "1"
sv_airaccelerate "100"
sv_voicecoec voice_speex
sv_voicequality "5"
sayrules_type "3"
TehNewb is offline
Reply



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 06:18.


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