PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#define PLUGIN "Ammo regen"
#define VERSION "1.3.3.7"
#define AUTHOR "Left4Dead"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_dictionary("regen.txt")
}
public client_authorized(id)
{
set_task(0.5,"Ammoregen",id) // < Doesnt work
}
public Ammoregen(id)
{
new task
task = set_task(4.0,"Fill")
client_print(id, print_chat, "%L", LANG_PLAYER, "AMMO_REGEN", task) << Doesnt shower above the hp or Amour Gen
//show_hudmessage(id, "Ammo regen in %s", Timer)
}
public Fill(id)
{
show_hudmessage(id, "Here's some ammo")
}