Open AthallahDzaki opened 9 months ago
If i use 3.10.10 Compiler, y_hooks work perfectly. with 3.10.11 (64 Bit) compiler, hook not call at all only public function.
Hook Function is OnPlayerEnterDynamicRaceCP -> OnPlayerEnterDynRaceCP (x) -> OnPlayerEnterDynamicRaceCP (x)
Note : (x) is not work
3.10.10 Log (Called 2 Times)
3.10.11 Log (Called 1 Times)
Only happend with 31+ Function name
Let me check that specific case, because y_hooks works in open.mp in general. There could be something with the double replacements.
If i use 3.10.10 Compiler, y_hooks work perfectly. with 3.10.11 (64 Bit) compiler, hook not call at all only public function.
Hook Function is OnPlayerEnterDynamicRaceCP -> OnPlayerEnterDynRaceCP (x) -> OnPlayerEnterDynamicRaceCP (x)
Note : (x) is not work
3.10.10 Log (Called 2 Times)
3.10.11 Log (Called 1 Times)