AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Sniper control v1.2 (https://forums.alliedmods.net/showthread.php?t=867)

[BioMaN]**neogun** 04-06-2004 10:48

thx i add this plug on my GS :wink:

it snt possible to check the beginning of a name map for find cs_ de_ as_ and also enable autamicaly the plugin only for this map ?

more usefull no ?

willyumyum 04-06-2004 11:02

Quote:

Originally Posted by [BioMaN
**neogun**]thx i add this plug on my GS :wink:

it snt possible to check the beginning of a name map for find cs_ de_ as_ and also enable autamicaly the plugin only for this map ?

more usefull no ?

Sure, it's possible - but with the config you have more control as a server admin.

knekter 04-06-2004 11:04

you get alot more control, but the de_ cs_ as_ thing, could be a nice idea also :)

[BioMaN]**neogun** 04-06-2004 11:19

yep, you just have to add the prefix name map on a cfg fil so ...

I have more than 100 maps ... it s more usefull for me if i have just to add cs_ and de_ or as_ in a file :wink:

in more if you forget to add you map awp actually ... => crash :lol:

Pomme 04-06-2004 11:31

well just copy and paste all the maps you got by doing a "dir *.bsp /b >sc_disabled_maps.cfg'" in your maps directory and delete those where you need the plugin to run plus the .bsp extension ...that isnt too much assle in my opinion and more flexible.

although automatic disabling on awp_ maps would be nice.

[BioMaN]**neogun** 04-06-2004 11:44

why not include the two ideas ?

Add cvar for chose if we use listofmapsforbiden.cfg or prefixmapenableplug.cfg ...

willyumyum 04-06-2004 12:25

For the next release I can modify it so it will check on partial and full mapnames in the .cfg file....

willyumyum 04-06-2004 13:25

small update: removed hardcoding of config file paths ...

Pomme 04-07-2004 12:27

has anything changed since you added the per-map config in the sniper control part of the code?

I dont want to update to the per-map version of your plugin because I already uses map_configs by JustinHoMi (available for AMXX).

...and just to be frank, I dont see any need to complexify your plugin with the per-map config as most ppl will already run JustinHoMi plugin to remove freezetime and other cvars on awp map (and other custom "fun" maps) and all that is needed to comply with your plugin is to put the already available cvars in your first release. My two cents :wink: :)

Now the real question for you, I used the
Code:

#define INCLUDE_SCOUT            0
on my compile but just yesterday a player complained he couldn't buy a scout because of team limit... now I just commented
Code:

register_clcmd("scout",    "menuSniper");
on line 309 is that correct? Will that fix this possible problem?

willyumyum 04-07-2004 13:08

the per map config thing is just for people looking to use one plugin - i use justinhomi's plugin too, but if people don't want to then using the one in here will help them out..

ah crap, that was a small error in the code on my behalf - if you grab the new version if you have INCLUDE_SCOUT 0 then it should work properly... Ther reason it wasn't working was because i still had it checking for scouts on vgui menus because i forgot to put it inside my precompiler if statement:) Sorry about that :([/code]


All times are GMT -4. The time now is 10:03.

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