Grrr what am I doing wrong? I get the correct planes spawning randomly but they all have the same Livery. I do have all the civilian liverys downloaded and am able to use them manually in the mission editor but I can not get rat to randomly assign them when the plans spawn.
Is there something wrong with my code?
local B737skins={"Air Algerie", "Air Berlin", "Air France", "airBaltic", "Airzena", "AM", "American_Airlines", "British Airways", "C40s", "Clean", "Disney", "EA", "easyjet", "FINNAIR", "HARIBO", "JA", "Jet2", "kulula", "LH", "Lufthansa BA", "Lufthansa KR", "OLD_BA", "OMAN AIR", "PAN AM", "Polskie Linie Lotnicze LOT", "QANTAS", "RYANAIR", "SouthWest Lone Star", "ThomsonFly", "TNT", "Ukraine Airlines", "UPS"}
local B737=RAT:New("RAT_B737")
B737:Livery(B737skins)
B737:Spawn(5)