View Single Post
NgBUCKWANGS
Senior Member
Join Date: Dec 2014
Old 11-20-2017 , 04:26   Re: [L4D & L4D2] Anti-Speedrunner System (v8.0, 11-19-2017)
Reply With Quote #23

Does this help
PHP Code:
    else if(Operation == UNLOCK)
    {
        if (
HasEntProp(EntityProp_Data"m_hasUnlockSequence")
        {
            
SetEntProp(EntityProp_Data"m_hasUnlockSequence"UNLOCK);
            
AcceptEntityInput(Entity"Unlock");
            
AcceptEntityInput(Entity"ForceClosed");
            
AcceptEntityInput(Entity"Open");
        }
    } 
or maybe idGoal checks should be something similar to

PHP Code:
idGoal MaxClients && idGoal <= 2048 && IsValidEntity(idGoal
Then test for errors and feature completion.
NgBUCKWANGS is offline