Bool arrays in c++?

i try to compile my code but he keeps telling me “Bool arrays are not allowed.” in the error log.
Is there no possibility to make an bool array? this is what i do:

UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = DefaultSettings)
bool PassengerSeats];

Hi, I am not 100% sure since I have not used unreal engine(downloading now), but in normal C++ you need to make give it a number of bools. So you need to declare it like

bool PassengerSeats[3];
static cont int x = 3;
bool PassengerSeats[x];

I’m not sure if standard arrays are allowed as uproperties. Try TArray<bool> instead.

Good doc about Arrays

ah didnt knew about TArray’s. nice to know thanks alot!