Raised This Month: $51 Target: $400
 12% 

Command


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dimanok
Junior Member
Join Date: Jan 2010
Old 07-12-2010 , 13:30   Command
Reply With Quote #1

Hello! Guys need your help! Can you write an example plug-in that would be served amx_cvar command after changing cards, and if the value of command coincided then nothing would have been done. Thanks in advance.

Where command = mp_timelimit

Sorry for my English
Dimanok is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 07-12-2010 , 14:04   Re: Command
Reply With Quote #2

I have no idea what you want.

You want to change a cvar on mapchange?
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
Dimanok
Junior Member
Join Date: Jan 2010
Old 07-12-2010 , 14:15   Re: Command
Reply With Quote #3

Quote:
Originally Posted by drekes View Post
I have no idea what you want.

You want to change a cvar on mapchange?
Yes, after changing cards to verify the value of team mp_timelimit and if it does not coincide with the set in server.cfg, changed the fact that in the server.cfg
Dimanok is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-12-2010 , 14:19   Re: Command
Reply With Quote #4

You don't need a plugin. Just put your value mp_timelimit in amxx.cfg.
__________________
Arkshine is offline
Dimanok
Junior Member
Join Date: Jan 2010
Old 07-12-2010 , 15:08   Re: Command
Reply With Quote #5

Quote:
Originally Posted by Arkshine View Post
You don't need a plugin. Just put your value mp_timelimit in amxx.cfg.
The fact is that when voting for the next card, players choose to extend the map. Here, after the extension of the card over, timelimit strays, get together already installed in server.kfg 30 minutes 45 or 50.
That's why my plugin.
Dimanok is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-12-2010 , 15:55   Re: Command
Reply With Quote #6

amxx.cfg is just fine to fix mp_timelimit and any other cvar you want to be sure to be a certain value at each map start.
You can also use cstrike/game.cfg
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-12-2010 , 17:49   Re: Command
Reply With Quote #7

If you have mapchangecfgfile set correctly then you shouldn't have any problems.
__________________
fysiks is offline
Kreation
Veteran Member
Join Date: Jan 2010
Location: Illinois
Old 07-13-2010 , 04:25   Re: Command
Reply With Quote #8

Quote:
Originally Posted by ConnorMcLeod View Post
amxx.cfg is just fine to fix mp_timelimit and any other cvar you want to be sure to be a certain value at each map start.
You can also use cstrike/server.cfg
__________________
Hi.
Kreation is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-13-2010 , 15:30   Re: Command
Reply With Quote #9

Quote:
Originally Posted by Kreation View Post
Wrong.

server.cfg is executed only at server start
game.cfg (doesn't exist by default but) is executed each map start

you can also set cvar mapchangecfgfile to the file you want but it gonna act like game.cfg
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Kreation
Veteran Member
Join Date: Jan 2010
Location: Illinois
Old 07-13-2010 , 19:06   Re: Command
Reply With Quote #10

Ah, doesn't exist by default, probably why I have never heard of it and thought of server.cfg, my mistake.
__________________
Hi.
Kreation 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 18:41.


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