The less natives calls you have ( amxx plugin -> module ) = the less cpu consuming it will be.
eg: You want to retrieve the hit and the hit origin.
Using engine :
Code:
new Float:Start[3];
new Float:End[3];
new Float:EndPos[3];
new Hit;
[...]
Hit = trace_line( -1, Start, End, EndPos );
Using fakemeta :
Code:
new Float:Start[3];
new Float:End[3];
new Float:EndPos[3];
new Hit;
[...]
engfunc( EngFunc_TraceLine, Start, End, DONT_IGNORE_MONSTERS, Ent, 0 );
Hit = get_tr2( 0, TR_pHit );
get_tr2( 0, TR_vecEndPos, EndPos );
Engine, you need one call, Fakemeta 3.
It's possible to see the difference using the profiler by sawce. But here the difference would not be really significant.
__________________