20.02.2016, 12:24
I am trying to convert my script to Modular Programming. However, i noticed that there are some callbacks that i used multiple things in it. For example, OnPlayerDeath. I have a medical fees system and a hit/bounty system used. I want to seperate it to includes so i can read the code in a better view. How can i use the same callback for different functionality in 2 seperate includes/files. I think that i can do that through hooking although this tutorial didnt really help me. Hook Method 7
Anyone could explain me a bit ? Would be appreciated.
Anyone could explain me a bit ? Would be appreciated.