Hi,
I have found that there is way in PAWN to define native function that returns arrays, as example here:
native intersect[Rect](src1[Rect], src2[Rect])
But I am not able to find way how to implemented it. From observing standard callbacks:
int AMXAPI amx_Callback(AMX *amx, cell index, cell *result, const cell *params)
It seems to me that there is no way, since the native function returns only one cell, that is stored into results.
Can you advice? Shall I re implement this callback or is there correct standard way.
Thx Jan