bot no flashlight
PHP Code:
#include <amxmodx>
#include <engine>
#pragma semicolon 1
public plugin_init()
{
register_plugin("Bot No Flashlight", "0.0.1", "metal_upa");
register_impulse(100, "OnCmdFlashLight");
}
/*When returning PLUGIN_HANDLED or higher from the callback, Engine will
still fire other impulse functions. This includes the client_impulse()
and client_cmdStart() forwards.*/
public OnCmdFlashLight(id, impulse)
{
if(is_user_bot(id)) return PLUGIN_HANDLED;
return PLUGIN_CONTINUE;
}
If still not work then you have to edit zombie_plague40.sma:
PHP Code:
// Forward CmdStart
public fw_CmdStart(id, handle)
{
// Not alive
if (!g_isalive[id] || g_isbot[id])
return;