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

[L4D2] Wait for loaders on door lock


Post New Thread Reply   
 
Thread Tools Display Modes
alasfourom
Senior Member
Join Date: Feb 2022
Location: Saudi Arabia
Old 09-06-2022 , 12:07   Re: [L4D2] Wait for loaders on door lock
Reply With Quote #41

Quote:
Originally Posted by Silvers View Post
PHP Code:
    int iFirstChapter L4D_IsFirstMapInScenario();
    if (!
IsValidEnt(iFirstChapter))return; 
L4D_IsFirstMapInScenario returns a bool, not an entity. This code is wrong.
Thank you Silvers,

It was late yesterday for me, and I must was not thinking clearly , and it was actually my first time using left4dhooks, I'm a bit new to scripting, only trying to use common sense, complicated stuff I leave it for you guys

PHP Code:
Updated Previous Post
Fixed Bug
Added Chat Texts When Using CommandsAdd Check When Leaving Saferoom To Prevent Using This Plugin Outside Safe Area 
Fixed, Thanks
__________________

Last edited by alasfourom; 09-06-2022 at 12:09. Reason: Updated Previous Post
alasfourom is offline
alasfourom
Senior Member
Join Date: Feb 2022
Location: Saudi Arabia
Old 09-06-2022 , 17:09   Re: [L4D2] Wait for loaders on door lock
Reply With Quote #42

I just added a timer because sometimes its too early to freeze players while safe area is locked

updated previous post
__________________
alasfourom is offline
JustNO
Member
Join Date: Jul 2020
Old 02-11-2023 , 11:41   Re: [L4D2] Wait for loaders on door lock
Reply With Quote #43

I'm looking for a plugin that makes it impossible to start the game if not everyone is loaded in the server yet. Now I found this plugin, and it almost works.

This does not work in The Last Stand campaign. Anyone have an idea to make that possible?

It is about versus server where players can choose the team themselves. I mention that because in The last Stand, the bots stay neatly where they are during the timer, there is NO FENCE, but if you switch to the Survivor team as a SI player, you can still walk away during the timer.
JustNO is offline
alasfourom
Senior Member
Join Date: Feb 2022
Location: Saudi Arabia
Old 02-11-2023 , 14:47   Re: [L4D2] Wait for loaders on door lock
Reply With Quote #44

https://forums.alliedmods.net/showthread.php?t=341045

Quote:
Originally Posted by JustNO View Post
I'm looking for a plugin that makes it impossible to start the game if not everyone is loaded in the server yet. Now I found this plugin, and it almost works.

This does not work in The Last Stand campaign. Anyone have an idea to make that possible?

It is about versus server where players can choose the team themselves. I mention that because in The last Stand, the bots stay neatly where they are during the timer, there is NO FENCE, but if you switch to the Survivor team as a SI player, you can still walk away during the timer.
__________________
alasfourom is offline
Skyy
AlliedModders Donor
Join Date: Jan 2010
Location: Toronto, Canada
Old 03-02-2023 , 16:39   Re: [L4D2] Wait for loaders on door lock
Reply With Quote #45

Quote:
Originally Posted by JustNO View Post
I'm looking for a plugin that makes it impossible to start the game if not everyone is loaded in the server yet. Now I found this plugin, and it almost works.

This does not work in The Last Stand campaign. Anyone have an idea to make that possible?

It is about versus server where players can choose the team themselves. I mention that because in The last Stand, the bots stay neatly where they are during the timer, there is NO FENCE, but if you switch to the Survivor team as a SI player, you can still walk away during the timer.
This is the Ready Up plugin that I wrote, which does everything you're looking for and provides numerous customization options. I wrote it because all of the other "Ready Up" sort of plugins are poorly-written or missing necessary features.
Source, configs, and binaries available at https://github.com/exskye/left-4-dea...y)/ReadyUp-7.5

This plugin locks all doors until everyone has readied up, has an optional timeout period, and freezes players in place (while disabling commons & special spawns) during pre-game on first maps of campaigns. It also provides dozens of IPC calls for developers who are looking to expand on its functionality.


Last edited by Skyy; 03-02-2023 at 16:47.
Skyy 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 11:19.


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