29.12.2017, 19:56
@Y_Less: Yes it's good, I'm going to look the codes to understand the logic.
PHP код:
#include "amx\frame_info"
forward FirstCustomFunction();
forward SecondCustomFunction();
main()
{
FirstCustomFunction();
}
public FirstCustomFunction()
{
SecondCustomFunction();
}
public SecondCustomFunction()
{
new dest[32];
GetPublicNameFromAddress(GetFrameFunction(GetCurrentFramePreviousFrame()), dest);
print(dest); // FirstCustomFunction
GetPublicNameFromAddress(GetCurrentFrameFunction(), dest);
print(dest); // SecondCustomFunction
}