1. Make some debugging to make sure that you pass correct array handle ID.
2.
Code:
static index, target, szString
[16], aHUDMSG_DATA
[Hudmessage_SetTask_Data
], iTempArray, iTempArrayItem;
iTempArrayItem =
str_to_num(params
[ copyc(szString, charsmax
(szString
), params,
' ') ]);
iTempArray = any:
str_to_num(szString
);
ArrayGetArray(any:iTempArray, iTempArrayItem, aHUDMSG_DATA); // Error line.
-->>
ArrayGetArray(Array:iTempArray, iTempArrayItem, aHUDMSG_DATA); // Error line.
3. I can't see the purpose of using "any:" everywhere, can you explain why are you using? You just get confused by using that.
__________________