Hey guys, I'm new to scripting and I thought I'd start off really easy but I guess I went the wrong way when creating this plugin?
I'm making a plugin to display a msg every couple of minutes or so, it's just not working. Help please!
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Ads"
#define VERSION "1.0"
#define AUTHOR "nuki"
public plugin_init()
register_plugin(PLUGIN, VERSION, AUTHOR)
public client_authorized(id)
{
set_task(400.0, "PrintText", id = "0", repeat = "b")
}
public PrintText(id)
{
client_print(id, print_chat, "Message that will be displayed")
}