08.06.2012, 09:05
Well ,thats what i did :
But eh.. Nothing was attached to the vehicles -
What should i add here ?
Instead of the "477"
PHP код:
CopVehicle[0] = AddStaticVehicle(477,1566.2892,-1615.8591,13.1186,270.1325,1,1); // cop car 1
CopVehicle[1] = AddStaticVehicle(477,1557.3464,-1615.8545,13.1397,270.2108,1,1); // cop car 2
CopVehicle[2] = AddStaticVehicle(477,1591.6287,-1606.2499,13.1367,180.9415,1,1); // cop car 3
CopVehicle[3] = AddStaticVehicle(477,1597.4304,-1606.0475,13.1902,181.4439,1,1); // cop car 4
CopVehicle[4] = AddStaticVehicle(477,1601.6312,-1630.6210,13.2421,91.8427,1,1); // cop car 5
CopVehicle[5] = AddStaticVehicle(477,1564.4960,-1631.6226,13.1129,88.9426,1,1); // cop car 6
for(new i=0; i<sizeof(CopVehicle); i++)
{
AttachObjectToVehicle(CopVehicle[i], 477,-0.039999, -0.469999, 0.669999, 0.000000, 0.000000, 0.000000);
}
What should i add here ?
PHP код:
AttachObjectToVehicle(CopVehicle[i], 477