View Single Post
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 04-29-2024 , 09:05   Re: Block the flashlight on zombie bots
Reply With Quote #9

Ok,lets try this.Add new plugin in plugins.ini
PHP Code:
#include <amxmodx>
#include <cstrike>

#define PLUGIN "Flashlight Block"
#define VERSION "1.0"
#define AUTHOR "AMXX Community"

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
}

public 
client_impulse(idimpulse)
{
    if(
impulse == 100)
    {
        if(
is_user_bot(id))
        {
            
                return 
PLUGIN_CONTINUE
        
}
    }
    return 
PLUGIN_CONTINUE

__________________
Check my original plugins for cs 1.6 and subscribe on channel
Look at the video bellow to see zombie frost grenade

https://youtu.be/j0zspNfN-AM?si=_1IiGPETN-GQY9Ua

Look at the video below to see Zombie blind grenade

https://youtu.be/ORC7ZmoaipQ?si=QC8Bul96QGitUwX4
Krtola is offline
Send a message via Skype™ to Krtola