26.09.2011, 21:10
can any one help me as im making auto gates but the gates don't move can any one tell me what i have done wrong
here are the gates
GATE-1
Open:
985, 2296.25, 622.98, 10.62, 0.00, 0.00, 0.00
986, 2278.56, 623.00, 10.62, 0.00, 0.00, 0.00
Closed:
985, 2290.88, 623.08, 10.62, 0.00, 0.00, 0.00
986, 2282.93, 623.07, 10.62, 0.00, 0.00, 0.00
GATE-2
Open:
985,2242.30,439.95,5.51, 0.00, 0.00, 179.86
986,2259.99,439.94,5.51, 0.00, 0.00, 179.86
Closed:
985,2247.22,439.92,5.51, 0.00, 0.00, 179.86
986,2255.15,439.88,5.51, 0.00, 0.00, 179.86
MiscObject[0] = CreateObject(976,-1643.446,694.249,6.662,0.0,0.0,270.000); // SFPD West
MiscObject[1] = CreateObject(3092,-1572.638,657.451,7.727,190.795,0.0,-180.000); // Corpse
MiscObject[2] = CreateObject(976,1539.658,-1622.827,12.545,0.0,0.0,90.000); // LSPD1NorthSpare
MiscObject[3] = CreateObject(976,1539.658,-1640.456,12.545,0.0,0.0,90.000); // LSPD1SouthSpare
MiscObject[4] = CreateObject(985, 2296.25, 622.98, 10.62, 0.00, 0.00, 0.00);//Gate-1
MiscObject[5] = CreateObject(986, 2278.56, 623.00, 10.62, 0.00, 0.00, 0.00);//Gate-1
// ######################## ADD TO THESE ##########################
// MakeGate(ObjectID, StartX, StarY, StartZ, FinishX, FinishY, FinishZ, CenterX, CenterY, CenterZ, Rotation, GateNumber);
MakeGate(976, -1571.597,665.725,6.349, -1571.597,656.572,6.349, -1571.5579,661.2339,7.1875, -90.0, 0); // SFPD East
MakeGate(976, -1643.446,676.774,6.662, -1643.446,685.551,6.662, -1643.4032,682.6055,7.4930, 90.0, 1); // SFPD West
MakeGate(976, 2236.992,2448.932,9.848, 2236.992,2457.979,9.848, 2236.992,2453.1646,10.7047, 90.0, 2); // Las Venturas
MakeGate(976, 1539.658,-1631.631,12.545, 1539.658,-1624.255,12.545, 1539.658,-1628.0244,13.3828, 90.0, 3); //Los Santos
MakeGate(985, 2296.25, 622.98, 10.62, 2290.88, 623.08, 10.62, 0,0,0, 0, 4);//Gate-1
MakeGate(986, 2278.56, 623.00, 10.62, 2282.93, 623.07, 10.62, 0,0,0, 0, 5);//Gate-1
// ################################################## ##############
here are the gates
GATE-1
Open:
985, 2296.25, 622.98, 10.62, 0.00, 0.00, 0.00
986, 2278.56, 623.00, 10.62, 0.00, 0.00, 0.00
Closed:
985, 2290.88, 623.08, 10.62, 0.00, 0.00, 0.00
986, 2282.93, 623.07, 10.62, 0.00, 0.00, 0.00
GATE-2
Open:
985,2242.30,439.95,5.51, 0.00, 0.00, 179.86
986,2259.99,439.94,5.51, 0.00, 0.00, 179.86
Closed:
985,2247.22,439.92,5.51, 0.00, 0.00, 179.86
986,2255.15,439.88,5.51, 0.00, 0.00, 179.86
MiscObject[0] = CreateObject(976,-1643.446,694.249,6.662,0.0,0.0,270.000); // SFPD West
MiscObject[1] = CreateObject(3092,-1572.638,657.451,7.727,190.795,0.0,-180.000); // Corpse
MiscObject[2] = CreateObject(976,1539.658,-1622.827,12.545,0.0,0.0,90.000); // LSPD1NorthSpare
MiscObject[3] = CreateObject(976,1539.658,-1640.456,12.545,0.0,0.0,90.000); // LSPD1SouthSpare
MiscObject[4] = CreateObject(985, 2296.25, 622.98, 10.62, 0.00, 0.00, 0.00);//Gate-1
MiscObject[5] = CreateObject(986, 2278.56, 623.00, 10.62, 0.00, 0.00, 0.00);//Gate-1
// ######################## ADD TO THESE ##########################
// MakeGate(ObjectID, StartX, StarY, StartZ, FinishX, FinishY, FinishZ, CenterX, CenterY, CenterZ, Rotation, GateNumber);
MakeGate(976, -1571.597,665.725,6.349, -1571.597,656.572,6.349, -1571.5579,661.2339,7.1875, -90.0, 0); // SFPD East
MakeGate(976, -1643.446,676.774,6.662, -1643.446,685.551,6.662, -1643.4032,682.6055,7.4930, 90.0, 1); // SFPD West
MakeGate(976, 2236.992,2448.932,9.848, 2236.992,2457.979,9.848, 2236.992,2453.1646,10.7047, 90.0, 2); // Las Venturas
MakeGate(976, 1539.658,-1631.631,12.545, 1539.658,-1624.255,12.545, 1539.658,-1628.0244,13.3828, 90.0, 3); //Los Santos
MakeGate(985, 2296.25, 622.98, 10.62, 2290.88, 623.08, 10.62, 0,0,0, 0, 4);//Gate-1
MakeGate(986, 2278.56, 623.00, 10.62, 2282.93, 623.07, 10.62, 0,0,0, 0, 5);//Gate-1
// ################################################## ##############



: error 017: undefined symbol "messagecolor"
tol1, Float