Add the script to your Src/Scripts/Custom folder then, open Game/Src/Scriptloader.cpp and go to the very bottom of the script and type this:
#ifdef SCRIPTS
/* This is where custom scripts' loading functions should be declared. */
AddSc_universal_teleporter();
AddSc_BountyHunter();
AddSC_npc_arena_setup();
#endif
void AddCustomScripts()
{
#ifdef SCRIPTS
/* This is where custom scripts should be added. */
AddSc_universal_teleporter();
AddSc_BountyHunter();
AddSC_npc_arena_setup();
#endif
}
Then you need to open Scripts/Src, right click on it and hit add existing item, and voila compile your core and it works.