AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2 & L4D] Hunter Training Map Multiplayer Enabler (https://forums.alliedmods.net/showthread.php?t=124394)

eyeonus 05-15-2010 11:32

Re: [L4D2 & L4D] Hunter Training Map Multiplayer Enabler
 
You downloaded it from here? It's not a .rar file. You just put it in your plugin folder.

eyeonus 05-28-2010 18:07

Re: [L4D2 & L4D] Hunter Training Map Multiplayer Enabler
 
I wonder if this will ever be approved....

DarkNoghri 05-31-2010 17:36

Re: [L4D2 & L4D] Hunter Training Map Multiplayer Enabler
 
Eyeonus, there's a sticky at the top of the forum that talks about when they do approvals.

"On the last Sunday of every month, plugins with a thread start date of over 60 days will either be approved or unapproved."

Based on that, you won't get approved until the end of June.

eyeonus 06-22-2010 00:25

Re: [L4D2 & L4D] Hunter Training Map Multiplayer Enabler
 
Ah. No worries.

eyeonus 08-06-2010 18:47

Re: [L4D2 & L4D] Hunter Training Map Multiplayer Enabler
 
Over 1300 downloads and still no approval.... :(

McFlurry 08-21-2010 19:16

Re: [L4D2 & L4D] Hunter Training Map Multiplayer Enabler
 
You are returning Plugin_Handled if a user uses anything but "give health" so that makes it so any other plugin can not use the give command.:nono: I suggest unrestricting it.

eyeonus 08-22-2010 17:12

Re: [L4D2 & L4D] Hunter Training Map Multiplayer Enabler
 
Is there a way to restrict it that will still make it possible for other plugins to use it?

McFlurry 08-22-2010 18:46

Re: [L4D2 & L4D] Hunter Training Map Multiplayer Enabler
 
Register the give command on OnMapStart() if it is one of the hunter training maps only.

eyeonus 08-22-2010 19:04

Re: [L4D2 & L4D] Hunter Training Map Multiplayer Enabler
 
Quote:

Originally Posted by McFlurry (Post 1279203)
Register the give command on OnMapStart() if it is one of the hunter training maps only.

I don't know how to get the plugin to find out which map is loaded, so instead I added a check to determine if the plugin is enabled or not, and to not restrict the commands unless it is enabled.

Since the plugin is automatically enabled when either HTM map loads, as long as the line "l4d2_htm_mp_enable 0" is in the server.cfg the plugin will only be enabled when an HTM map is loaded, unless the server's admin enables it manually.

McFlurry 08-22-2010 20:35

Re: [L4D2 & L4D] Hunter Training Map Multiplayer Enabler
 
PHP Code:

public OnMapStart()
new 
String:map[30];
GetCurrentMap(mapsizeof(map));
if(
StrEqual(map"htmname"false) || StrEqual(map"htmname2"false) || StrEqual(map"htmname3"false))
{
    
//register the command here


That should fix the issue. :wink:


All times are GMT -4. The time now is 02:27.

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