Raised This Month: $ Target: $400
 0% 

[L4D] ChurchGuy Bug


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Beatles
Senior Member
Join Date: Feb 2014
Old 09-22-2021 , 18:04   [L4D] ChurchGuy Bug
Reply With Quote #1

Sometimes when on my server we play the chapter: l4d_smalltown03_ranchhouse, for some reason the church door never opens, the man inside is heard speaking, but the horde never ends, the bells keep ringing and so the door never opens, I wrote this to try to open the door in a certain time:

PHP Code:
    int ent = -1;
    
    while ((
ent FindEntityByClassname(ent"prop_door_rotating_checkpoint")) != INVALID_ENT_REFERENCE)
    {
        if (!
IsValidEntity(ent) || !IsValidEdict(ent))
        {
            continue;
        }
        
SetEntProp(entProp_Data"m_hasUnlockSequence"0);
        
AcceptEntityInput(ent"Unlock");
        
AcceptEntityInput(ent"Open");
    } 
But this only opens the door, there is still something preventing me from entering, does anyone know how to fix it? or how to force the event to end?
Beatles is offline
 



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:58.


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