PHP Code:
if(fogDuration[client]!=INACTIVE)
{
fogDuration[client]=INACTIVE;
SDKUnhook(client, SDKHook_Think, FogTimer);
}
SDKHook_Think? I thought is was only for non-clients. I think this is mistake. I see also:
PHP Code:
else
{
fogDuration[client]=GetGameTime()+FF2_GetAbilityArgumentFloat(boss, this_plugin_name, "rage_fog_fx", 11, 5.0);
SDKHook(client, SDKHook_PreThinkPost, FogTimer);
}
__________________