View Single Post
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 10-12-2020 , 09:44   Re: stripper need update
Reply With Quote #8

PHP Code:
public void OnEntityCreated(int entity, const char[] classname)
{
    if (
entity || entity 2048)
    {
        return;
    }
    
    if (
strcmp(classname"func_playerghostinfected_clip") == || strcmp(classname"func_playerinfected_clip") == 0)
    {
        
CreateTimer(0.1DeleteInvisibleWallsEntIndexToEntRef(entity));
    }
}

public 
Action DeleteInvisibleWalls(Handle timerany entity)
{
    if ((
entity EntRefToEntIndex(entity)) == INVALID_ENT_REFERENCE)
    {
        return 
Plugin_Stop;
    }
    
    
RemoveEntity(entity);
    return 
Plugin_Stop;

cravenge is offline