IS4Code / PawnPlus

A SA-MP plugin enhancing the capabilities of the Pawn programming language
MIT License
102 stars 17 forks source link

I have a question #35

Closed Dmitriy51 closed 3 years ago

Dmitriy51 commented 4 years ago

have a question is it possible with this plugin to detect these functions?

Float:vect3_length(Float:f[3])

{

return sqrtf(f[0] * f[0] + f[1] * f[1] + f[2] * f[2]);

}

IS4Code commented 4 years ago

What do you mean by "detect"?

Dmitriy51 commented 4 years ago

I didn't ask the right question, SORRY, is it possible to access such a function with your plugin?

IS4Code commented 4 years ago

Sure, you can use the debug API to browse non-public functions. Use debug_symbol to find the function and debug_symbol_call to invoke it. The script must be compiled with debug info attached.

Dmitriy51 commented 4 years ago

ok, thank you