Following the information on how this works, PawnPlus creates a new amx and works with it, because of which the address changes. If you do not use the newly created amx - this loads the processor up to 100%. This is half the code that I showed, I want to use this for significant optimization in future code. Is it possible to add an optional parameter here that will work not only with one amx, but also with the amx that the user enters?
Result: [15:01:10] [ERROR] CCallback::Execute - invalid AMX instance
Following the information on how this works, PawnPlus creates a new amx and works with it, because of which the address changes. If you do not use the newly created amx - this loads the processor up to 100%. This is half the code that I showed, I want to use this for significant optimization in future code. Is it possible to add an optional parameter here that will work not only with one amx, but also with the amx that the user enters?
Something like this: mysql_tquery_ext(MySQL:handle, const query[], const callback[] = "", Amx:source = amxthis(), const format[] = "", {Float,}:...);