26.01.2010, 01:59
Hey i need to group this cars in a group called "Taxi"
For makeee an if and else .. for the taxi job .. how i caaan group al carrs and dont usee unique vehicleid for every car :S dont use taxi1 = ... taxi 2 =...
i need to make a group something like this
Код:
AddStaticVehicle(438,2107.1741,1396.9814,10.8259,359.2047,6,76); // LVTaxi1 AddStaticVehicle(438,2123.1821,1409.5389,10.8224,180.0383,6,76); // LVTaxi2 AddStaticVehicle(438,2136.0078,1397.0674,10.8240,358.6843,6,76); // LVTaxi3 AddStaticVehicle(438,2145.5691,1409.3396,10.8252,179.1581,6,76); // LVTaxi4 AddStaticVehicle(438,2110.4343,1409.8420,10.8235,179.9887,6,76); // LVTaxi5 AddStaticVehicle(420,2100.7322,1398.6211,10.6072,358.6470,6,1); // taxilv1 AddStaticVehicle(420,2113.5415,1398.5878,10.5996,1.4492,6,1); // taxilv2 AddStaticVehicle(420,2129.4617,1398.6068,10.5979,2.6872,6,1); // taxilv3 AddStaticVehicle(420,2142.2561,1398.1482,10.5903,359.8522,6,1); // taxilv4 AddStaticVehicle(420,2136.0867,1408.5264,10.5990,180.5525,6,1); // taxilv5
i need to make a group something like this
Код:
GROUP TAXIS AddStaticVehicle(438,2107.1741,1396.9814,10.8259,359.2047,6,76); // LVTaxi1 AddStaticVehicle(438,2123.1821,1409.5389,10.8224,180.0383,6,76); // LVTaxi2 AddStaticVehicle(438,2136.0078,1397.0674,10.8240,358.6843,6,76); // LVTaxi3 AddStaticVehicle(438,2145.5691,1409.3396,10.8252,179.1581,6,76); // LVTaxi4 AddStaticVehicle(438,2110.4343,1409.8420,10.8235,179.9887,6,76); // LVTaxi5 AddStaticVehicle(420,2100.7322,1398.6211,10.6072,358.6470,6,1); // taxilv1 AddStaticVehicle(420,2113.5415,1398.5878,10.5996,1.4492,6,1); // taxilv2 AddStaticVehicle(420,2129.4617,1398.6068,10.5979,2.6872,6,1); // taxilv3 AddStaticVehicle(420,2142.2561,1398.1482,10.5903,359.8522,6,1); // taxilv4 AddStaticVehicle(420,2136.0867,1408.5264,10.5990,180.5525,6,1); // taxilv5