Hooking voids!

Geno Modz

Platinian
How should i hook the following offset?
public static void set_timeScale(float value) { }
This void does not have an update function but my friend did it and he wont tell me how!
 
If You are using lgl then
Code:
void (*old_timeScale) (float value);
void get_timeScale(float value) {
if (mod) {
old_timeScale(2000.00f);
return;
}
old_timeScale(value);
}
 
Back
Top Bottom