blackfire553
2011-06-25 20:28:44
what is wrong with this?:
This works:
Players[0].Arrays[0]:= ['Iron arrow','Bronze arrow'];//items to pick up
if R_ChooseOptionMulti(TStringArray(Players[0].Arrays[0])) then
begin
writeln('Picking some shit up');
writeln(inttostr(ItemPoints[i].x-MyPoint.x) + ' ' + inttostr(ItemPoints[i].y-MyPoint.y));
wait(2500);
itemsPickedUp := itemsPickedUp + 1;
break;
endThis works:
var
ItemsToPickup : TStringArray;
ItemsToPickup := ['Iron arrow','Bronze arrow'];//items to pick up
if R_ChooseOptionMulti(ItemsToPickup) then