Raised This Month: $222 Target: $400
 55% 

[L4D2] Wait for loaders on door lock


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
eyal282
Veteran Member
Join Date: Aug 2011
Old 12-02-2017 , 08:53   [L4D2] Wait for loaders on door lock
Reply With Quote #1

I want this plugin to allow players who are still stuck on the loading screen to play normally. I want the door countdown to start after all players from last round joined / 30 seconds passed from the beginning of the new round ( since some players can time out or take decades to load ).
Attached Files
File Type: sp Get Plugin or Get Source (DoorLOck.sp - 273 views - 47.6 KB)

Last edited by eyal282; 12-02-2017 at 08:54. Reason: Thicc prefix added.
eyal282 is offline
Crasher_3637
AlliedModders Donor
Join Date: May 2012
Old 12-13-2017 , 07:51   Re: [L4D2] Wait for loaders on door lock
Reply With Quote #2

I think this thread is either going to be deleted or merged with the one you linked. This would count as bumping your post which is against the rules.
__________________
AFK like JFK

Last edited by Crasher_3637; 12-13-2017 at 07:56.
Crasher_3637 is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 12-13-2017 , 13:53   Re: [L4D2] Wait for loaders on door lock
Reply With Quote #3

Quote:
Originally Posted by Crasher_3637 View Post
I think this thread is either going to be deleted or merged with the one you linked. This would count as bumping your post which is against the rules.
You could perhaps help instead of replying useless stuff.

And if you're already bothering me, what should I do to gain help if it's not on first / second page?
eyal282 is offline
Crasher_3637
AlliedModders Donor
Join Date: May 2012
Old 12-13-2017 , 14:15   Re: [L4D2] Wait for loaders on door lock
Reply With Quote #4

Quote:
Originally Posted by eyal282 View Post
You could perhaps help instead of replying useless stuff.

And if you're already bothering me, what should I do to gain help if it's not on first / second page?
I don't see how informing you of the rules is considered useless. Breaking rules can have consequences soo...


Anyway, you would just need to increase the timer that starts the countdown. So maybe change this:

PHP Code:
public Action:OnRoundStart(Handle:event, const String:name[], bool:dontBroadcast)
{
    if(
isBugged() || isBugged2())
    {
        
CreateTimer(2.0timerMapStartLocker);
    }
    else
    {
        
CreateTimer(2.0timerMapStartBlocker);
    }

To this?

PHP Code:
public Action:OnRoundStart(Handle:event, const String:name[], bool:dontBroadcast)
{
    if(
isBugged() || isBugged2())
    {
        
CreateTimer(30.0timerMapStartLocker);
    }
    else
    {
        
CreateTimer(30.0timerMapStartBlocker);
    }

Also, if you want help as soon as possible, try private messaging other users. I've done that a few times recently and they've gotten back to me within an hour or so.
__________________
AFK like JFK

Last edited by Crasher_3637; 12-13-2017 at 14:15.
Crasher_3637 is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 12-13-2017 , 17:46   Re: [L4D2] Wait for loaders on door lock
Reply With Quote #5

Quote:
Originally Posted by Crasher_3637 View Post
I don't see how informing you of the rules is considered useless. Breaking rules can have consequences soo...


Anyway, you would just need to increase the timer that starts the countdown. So maybe change this:

PHP Code:
public Action:OnRoundStart(Handle:event, const String:name[], bool:dontBroadcast)
{
    if(
isBugged() || isBugged2())
    {
        
CreateTimer(2.0timerMapStartLocker);
    }
    else
    {
        
CreateTimer(2.0timerMapStartBlocker);
    }

To this?

PHP Code:
public Action:OnRoundStart(Handle:event, const String:name[], bool:dontBroadcast)
{
    if(
isBugged() || isBugged2())
    {
        
CreateTimer(30.0timerMapStartLocker);
    }
    else
    {
        
CreateTimer(30.0timerMapStartBlocker);
    }

Also, if you want help as soon as possible, try private messaging other users. I've done that a few times recently and they've gotten back to me within an hour or so.
I don't want players to be kept forever, that's why I wanna wait for loaders.
eyal282 is offline
Crasher_3637
AlliedModders Donor
Join Date: May 2012
Old 12-13-2017 , 21:59   Re: [L4D2] Wait for loaders on door lock
Reply With Quote #6

Quote:
Originally Posted by eyal282 View Post
I don't want players to be kept forever, that's why I wanna wait for loaders.
Your request sounds as though you want to add a delay to the timer that starts the countdown and that's what I showed you how to do. Changing the 2-second timer to 30 seconds will tell the plugin to wait 30 seconds after round_start before starting the countdown.

Quote:
Originally Posted by eyal282 View Post
I want this plugin to allow players who are still stuck on the loading screen to play normally. I want the door countdown to start after all players from last round joined / 30 seconds passed from the beginning of the new round ( since some players can time out or take decades to load ).
__________________
AFK like JFK
Crasher_3637 is offline
eziosid
Senior Member
Join Date: Sep 2017
Old 12-14-2017 , 01:33   Re: [L4D2] Wait for loaders on door lock
Reply With Quote #7

why did u not try to add safe room doors instead of waiting player ? use stripper its really good am using that 1 for wait for all played join
eziosid is offline
Eneier
New Member
Join Date: Apr 2018
Old 04-24-2018 , 00:13   Re: [L4D2] Wait for loaders on door lock
Reply With Quote #8

How to get this plugin?
Eneier is offline
eziosid
Senior Member
Join Date: Sep 2017
Old 04-24-2018 , 00:30   Re: [L4D2] Wait for loaders on door lock
Reply With Quote #9

Quote:
Originally Posted by Eneier View Post
How to get this plugin?
just click on Get Source that's all add me in steam for more help and tips . https://steamcommunity.com/profiles/76561198434885467/
eziosid is offline
eziosid
Senior Member
Join Date: Sep 2017
Old 04-24-2018 , 02:22   Re: [L4D2] Wait for loaders on door lock
Reply With Quote #10

here is the compiled smx not tested just clike on this file and try
Attached Files
File Type: smx DoorLOck.smx (21.5 KB, 194 views)
eziosid is offline
Reply


Thread Tools
Display Modes

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 15:16.


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