irswat Posted November 12, 2016 Share Posted November 12, 2016 (edited) example: function1() FormFound=ExEquipItem(Formulator[], ItemNameLength) endFunction form function ExEquipItem(string[] ItemToEquip=new string[10], int LengthOfCMDItem) endFunction how do I pass an array, and how to I receive an array in the function being called? The above method is not working and the CK wiki doesn't seem to have any information. EDIT: Figured it out function1() ExEquipItem(Formulator, ItemNameLength) endFunction form function ExEquipItem(string[] ItemToEquip, int LengthOfCMDItem) endFunction Edited November 12, 2016 by irswat Link to comment Share on other sites More sharing options...
Recommended Posts