If you use FM_Traceline on pre without the fun module. Your going to have to SUPERCEDE the function and run your traceline. If your just using as aim and you do not use pre then do
register_forward(FM_TraceLine,"calculate_hitz one", 1);
Code:
public traceline(const Float:v1[3], const Float:v2[3], noMonsters, pentToSkip, TraceResultPtr)
{
engfunc(EngFunc_TraceLine, v1, v2, noMonsters, pentToSkip, TraceResultPtr)
// Do your stuff
return FMRES_SUPERCEDE;
}
__________________