Quote:
Originally Posted by JusTGo
i have newbie question lets say the game have both this line codes:
PHP Code:
pev->noiseMoving = ALLOC_STRING("common/null.wav");
.
.
.
pev->noiseArrived = ALLOC_STRING("common/null.wav");
does this mean we can hook FM_AllocString and do the same so it will be allocated only once ? and in other places where ALLOC_STRING is used more then once in some forwards.
|
Yeah. However, FM_AllocString cannot hook calls from fakemeta like engfunc(EngFunc_AllocString, "info_target");
It can only hook those from mp.dll and so on but not from amxx using fakemeta.