new string[64]; for (new i = 1, d = dini_Int("orgfiles/o/orgstats.ini", "max_org"); i <= d; i++) { format(string, 64, "orgfiles/O/ORG%d.ini", i); if (!dini_Exists(string)) continue; gatetype[i-1] = dini_Int(string, "gatetype"); } s1 = CreateObject(1500, 2293.817, 2494.451, 2.360, 0.0, 0.0, 270.0); // sapd s2 = CreateObject(1500, 1584.140, -1637.850, 12.483, 0.0, 0.0, 180.0); // sapd // p1 = CreatePickup(356, 19, 2545.418, -1300.735, 1031.421, 255-orgid); // orgid v1 = CreateVehicle2(435, 1062.8109, 1298.1058, 11.4588, 270.0000, 400); v2 = CreateVehicle2(435, 1062.8109, 1288.1058, 11.4403, 270.0000, 400); v3 = CreateVehicle2(435, 1062.8109, 1278.1058, 11.9663, 270.0000, 400); v4 = CreateVehicle2(435, 1062.8109, 1268.1058, 11.9642, 270.0000, 400); v5 = CreateVehicle2(435, 1062.8109, 1258.1058, 11.4588, 270.0000, 400); v6 = CreateVehicle2(435, 1062.8109, 1248.1058, 11.4403, 270.0000, 400); v7 = CreateVehicle2(435, 1062.8109, 1238.1058, 11.9663, 270.0000, 400); v8 = CreateVehicle2(435, 1062.8109, 1228.1058, 11.9642, 270.0000, 400); gtimer = SetTimer("org_gatesF", 500, 1); |