public ham_c4_AttachToPlayer_Post(Entity, id) {
if(pl_CurrentBody[id])
set_entvar(id, var_body, pl_CurrentBody[id] - 1);
return HAM_HANDLED;
}
public Event_HudTextArgs(id) {
if(pl_CurrentBody[id])
set_entvar(id, var_body, pl_CurrentBody[id] - 1);
return PLUGIN_CONTINUE;
}
public Message_ItemStatus(msg_id, msg_dest, id) {
if(pl_CurrentBody[id] && get_msg_arg_int(1) == (1<<1))
set_entvar(id, var_body, pl_CurrentBody[id] - 1);
return PLUGIN_CONTINUE;
}
public Message_StatusIcon(msg_id, msg_dest, id) {
if(!pl_CurrentBody[id])
return PLUGIN_CONTINUE;
new Sprite[8];
get_msg_arg_string(2, Sprite, 7);
if(!strcmp(Sprite, "c4") || !strcmp(Sprite, "defuser"))
set_entvar(id, var_body, pl_CurrentBody[id] - 1);
return PLUGIN_CONTINUE;
}