Hey all.
I've tried 2 method but still bot didn't say ready when they're alive or should I print it for them?
1 Method***
PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#define PLUGIN "Force bot to say ready"
#define VERSION "0.1"
#define AUTHOR "MuhdZaim"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
}
public client_connect(id)
{
if ( is_user_bot(id) )
{
if ( is_user_alive(id) )
{
client_cmd(id, "say ready")
}
}
}
2 Method***
PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <hamsandwich>
#define PLUGIN "Force bot to say ready"
#define VERSION "0.1"
#define AUTHOR "MuhdZaim"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(Ham_Spawn, "player", "Fw_Spawn", 1)
}
public Fw_Spawn(id)
{
if ( is_user_bot(id) )
{
if ( is_user_alive(id) )
{
client_cmd(id, "say ready")
}
}
}
Any solution please?
__________________