ShuN^ Posted May 2, 2010 Posted May 2, 2010 I would like to have it for my CM only.Well,i don't know if it's a program but i've seen in some servers admin writes "/start" and everything starts.I mean,the money,freezetime,3 restarts etc. I would like to add my own amx commands in a .cfg file or whatever i have to. More specific,i would like to add for example these commands and whenever i play CM,i write something and EVERYTHING are activated.For example: -amx_cvar mp_freezetime 7 -amx_cvar mp_friendlyfire 1 -amx_cvar mp_startmoney 800 -amx_cvar mp_roundtime 1.25 -amx_cvar mp_restartround 1 -amx_cvar mp_restartround 1 -amx_cvar mp_restartround 1 -amx_csay white LIVE! GLHF! I don't know if you got my point,i can't explain it better :P
CryStaliN Posted May 2, 2010 Posted May 2, 2010 Well you can make an .cfg file with this settings. Lets say you have a cfg. Edit some binds like. bind "f" amx_cvar mp_freezetime 7 bind "g" amx_cvar mp_friendlyfire 1 But you must use that cfg only for settings after you finish the settings Load your matches cfg. I this way i maded every day the settings on my war server (PROTOCOL 48)
ShuN^ Posted May 2, 2010 Author Posted May 2, 2010 Oh,it's boring to press all those buttons :D I maybe forget some of them also... So,any other solution?
CryStaliN Posted May 3, 2010 Posted May 3, 2010 Oh,it's boring to press all those buttons :D I maybe forget some of them also... So,any other solution? What is so boring in to press f1-restart,f2-freezetime 9,f3 roundtime,f4etc? Next exec shun.cfg Restart and go go go. Others solutions dosnt exist! (I mean to dont be bugged,errors.) Only bugged war addons,plugins. Whatever how you want.
ShuN^ Posted May 3, 2010 Author Posted May 3, 2010 I tried the .cfg solution but doesn't work.I save the file as .cfg file and when i try to exec it,the console writes: Not a .cfg or .rc file.(but it's still .cfg)Also,i tried to bind some keys but-->bind <key> [command] : attach a command to a key.So,i can't use both of them...
aasi888 Posted May 3, 2010 Posted May 3, 2010 try: bind z "amx_cvar mp_freezetime 7; amx_cvar mp_friendlyfire 1; amx_cvar mp_startmoney 800; amx_cvar mp_roundtime 1.25; amx_cvar mp_restartround 1"
CryStaliN Posted May 3, 2010 Posted May 3, 2010 try: bind z "amx_cvar mp_freezetime 7; amx_cvar mp_friendlyfire 1; amx_cvar mp_startmoney 800; amx_cvar mp_roundtime 1.25; amx_cvar mp_restartround 1" I already told him that. I tried the .cfg solution but doesn't work.I save the file as .cfg file and when i try to exec it,the console writes: Not a .cfg or .rc file.(but it's still .cfg)Also,i tried to bind some keys but-->bind <key> [command] : attach a command to a key.So,i can't use both of them... That's mean you dont know to make an .cfg leave me some time and i will make me 1.
ShuN^ Posted May 3, 2010 Author Posted May 3, 2010 LOL it's not hard to make a .cfg. I just open a text,i write something in and then i rename it to blablabla.cfg
CryStaliN Posted May 3, 2010 Posted May 3, 2010 LOL it's not hard to make a .cfg. I just open a text,i write something in and then i rename it to blablabla.cfg Put the binds and voila. Nothing less nothing more.
ShuN^ Posted May 3, 2010 Author Posted May 3, 2010 Anyway,i would like to have it like this: /start(example) and everything start. But no problem,i appreciate your help :) Crystalin,yesterday u talked about an edit(in my other topic)that i have to do in order to make the plugin with show_country etc. works.Can you tell me what to edit? :D
CryStaliN Posted May 3, 2010 Posted May 3, 2010 Anyway,i would like to have it like this: /start(example) and everything start. But no problem,i appreciate your help :) Crystalin,yesterday u talked about an edit(in my other topic)that i have to do in order to make the plugin with show_country etc. works.Can you tell me what to edit? :D I told you that addon sucks hard. I know about what you speak but no one use it in these days.. I told you is a lot of work in country plugin,better i search another. If all is clearly i will lock the topic. PS:I will send you in pm the country plugin.
ShuN^ Posted May 3, 2010 Author Posted May 3, 2010 Ok dude,thanks for your help.I'm looking forward for the show_country plugin ;D Lock it.
CryStaliN Posted May 3, 2010 Posted May 3, 2010 Ok in these days i will give you the country plugin Locked.
Recommended Posts