That's not how you do it with entity state.
Code:
new target;
public plugin_init() {
register_forward( FM_UpdateClientData, "hook_UpdateClientData_post", 1 );
}
public hook_AddToFullPack_post( es_handle, e, entid, host, hostflags, player, pSet ) {
if( player && target )
{
set_es( entid, ES_AimEnt, target );
}
}
Hopefully that gives you the idea.
Make sure you include fakemeta.
__________________