Please don't use hard coded numbers, since an array size can always change.
Using sizeof(actonWeapons[]) resolves this issue.
i.e: ExplodeString(temp," ",actonWeapons,sizeof(actonWeapons), sizeof(actonWeapons[]));