Now go to the line number: 8407 , it will look like this: // Prevent from moving ExecuteHamB(Ham_Player_ResetMaxSpeed, victim)
// Set a task to remove the freeze set_task(get_pcvar_float(cvar_freezeduration), "remove_freeze", victim) }
Now you need to add this: set_pdata_float(victim, OFFSET_NEXTATTACK, get_pcvar_float(cvar_freezeduration), OFFSET_LINUX)
That looks like this: // Prevent from moving ExecuteHamB(Ham_Player_ResetMaxSpeed, victim) set_pdata_float(victim, OFFSET_NEXTATTACK, get_pcvar_float(cvar_freezeduration), OFFSET_LINUX) // Set a task to remove the freeze g_frozen[victim] = true; set_task(get_pcvar_float(cvar_freezeduration), "remove_freeze", victim)
That's it.
Last Edit: Apr 2, 2017 20:57:25 GMT by Dragan015Bre