Why isnt it working ?
Code:
register_forward(FM_CmdStart, "fwd_CmdStart")
Code:
public fwd_CmdStart(id, handle)
{
if (!is_user_connected(id))
return
if (is_user_alive(id) || zp_class_zombie_get_current(id) != g_AntidotID)
return
if (g_InfectCount[id] < antidot_count)
{
client_print(id, print_center, "Fuck you, you cant use it now");
return
}
static button
button = get_user_button(id)
if (button & IN_USE)
antidot_start(id)
}