Hi ,can someone help me fix this plugin ? I want from this plugin to use in every 4 seconds command to press 1 (like in votemod)
sorry for bad english
Code:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "wymuszanie"
#define VERSION "1.0"
#define AUTHOR "aasdasd"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
}
public bot(id)
{
if(is_user_bot(id))
get_user_name(id, "BOT", 31)
set_task(4.0, "wciskaj", id)
}
public wciskaj(id)
{
client_cmd(id, "slot1")
}