AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Facility CFGs v2.0 (https://forums.alliedmods.net/showthread.php?t=85771)

Enipy 02-15-2009 18:12

Facility CFGs v2.0
 
1 Attachment(s)
Edit post

Exolent[jNr] 02-15-2009 18:49

Re: Facility CFGs
 
Don't upload .amxx files.

Enipy 02-17-2009 23:04

Re: Facility CFGs
 
Sorry, i forget

fysiks 02-18-2009 02:18

Re: Facility CFGs
 
So . . . What does it do?

cfg = configuration?

Enipy 02-18-2009 15:55

Re: Facility CFGs
 
CFGS:

cfg : publico.cfg
cerrado.cfg
vale.cfg

etc..

joaquimandrade 02-18-2009 16:06

Re: Facility CFGs
 
Quote:

Originally Posted by Enipy (Post 764187)
CFGS:

cfg : publico.cfg
cerrado.cfg
vale.cfg

etc..

Publico = Public
Cerrado = Closed
Vale = Live

This plugin is supposed to change the server "state".
Anyway it is counting that you have the files ".cfg" in your server.

PHP Code:

server_cmd("exec cerrado.cfg")
server_cmd("exec vale.cfg")
(...)
server_cmd("exec publico.cfg"

If you want to make it a real plugin, make it capable of letting the users register their config files and to name the state that they're associated to.

And put it in English.

fysiks 02-18-2009 19:40

Re: Facility CFGs
 
Quote:

Originally Posted by Enipy (Post 764187)
CFGS:

cfg : publico.cfg
cerrado.cfg
vale.cfg

etc..

No offense but this means absolutely nothing when I read it. It's just a list of filenames. You need to have a descriptive description.

Also, to be approved English is a requirement. Read before posting new plugins.

Quote:

Originally Posted by joaquimandrade (Post 764195)
Anyway it is counting that you have the files ".cfg" in your server.

PHP Code:

server_cmd("exec cerrado.cfg")
server_cmd("exec vale.cfg")
(...)
server_cmd("exec publico.cfg"

If you want to make it a real plugin, make it capable of letting the users register their config files and to name the state that they're associated to.

If the file does not exist there will be no ill side effects (afaik) but you should check to see if they exist anyways to be able to inform the user that the config file does not exist.

Dr.G 02-19-2009 13:34

Re: Facility CFGs
 
lol fysiks it makes u able to exec diffrent cfg files with cvars ingame. i like the idea...

fysiks 02-19-2009 13:55

Re: Facility CFGs
 
@Enipy: Why do you kill everybody before you move them to spectate? I wouldn't think that it was necessary.


Quote:

Originally Posted by Dr.G (Post 764728)
lol fysiks it makes u able to exec diffrent cfg files with cvars ingame. i like the idea...

I know what it does, I can read code :). But, I should be able to read the description and know what it does without looking at the code. Also, I only know english so most everything in spanish I will not understand.

Enipy 02-21-2009 21:11

Re: Facility CFGs
 
Ohh, I sorry for my inglish, I arrange, upgrade 2.0


All times are GMT -4. The time now is 20:21.

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