in my plugin im using custom player animation.Yesterday all worked just fine, but today I see only first animation works correctly. all others not playing, I see the last frame. if dead animation I see the body lying ( last frame). not falling down ( from first frame ), no matter what sequence is going next
only first works ( after server restart )
and another one, how to play animation on certain player, because this is affect all players at the same time ....
PHP Code:
public fw_addtofullpack(es_handle, e, ent, host, flags, player)
{
if(!pev_valid(player) || !is_user_alive(player)) return FMRES_IGNORED
switch(anim[player]) {
case 106:
{
set_es(es_handle, ES_Sequence, 106);
set_es(es_handle, ES_Frame, 0.0);
set_es(es_handle, ES_FrameRate, 0.7);
set_es(es_handle, ES_AnimTime, 1.0);
return FMRES_HANDLED;
}
case 107:
{
set_es(es_handle, ES_Sequence, 107);
set_es(es_handle, ES_Frame, 0.0);
set_es(es_handle, ES_FrameRate, 0.7);
set_es(es_handle, ES_AnimTime, 1.0);
return FMRES_HANDLED;
}
case 108:
{
set_es(es_handle, ES_Sequence, 108);
set_es(es_handle, ES_Frame, 0.0);
set_es(es_handle, ES_FrameRate, 0.5);
set_es(es_handle, ES_AnimTime, 1.0);
return FMRES_HANDLED;
}
}
return FMRES_IGNORED;
}
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc