12.12.2011, 16:19
Do i need to compile it?
// This function creates all objects required for the toll-gates
GameModeInit_Toll()
{
// Add toll-houses to the world
CreateObject(9623, 1787.00, 695.50, 17.40, -3.5, 0.0, 350.25); //object(toll_sfw) (1)
CreateObject(3881,-4.40000010,2058.80004883,18.29999924,0.00000000,0. 00000000,271.99951172); //object(airsecbooth_sfse) (1)
CreateObject(1250,-8.10000038,2060.89990234,17.50000000,0.00000000,0. 00000000,182.00000000); //object(smashbarpost) (1)
CreateObject(1251,-7.40000010,2063.80004883,16.60000038,0.00000000,0. 00000000,0.00000000); //object(smashbar) (1)
CreateObject(1251,-1.00000000,2064.30004883,16.60000038,0.00000000,0. 00000000,0.00000000); //object(smashbar) (2)
CreateObject(968,-8.00000000,2061.50000000,17.89999962,0.00000000,0. 00000000,91.99951172); //object(barrierturn) (1)
CreateObject(4100,-9.30000019,2082.00000000,18.39999962,0.00000000,0. 00000000,53.99780273); //object(meshfence1_lan) (1)
CreateObject(4100,-7.30000019,2053.39990234,18.20000076,0.00000000,0. 00000000,53.99780273); //object(meshfence1_lan) (2)
CreateObject(4100,-2.69921875,2041.19921875,18.39999962,0.00000000,0. 00000000,87.99499512); //object(meshfence1_lan) (3)
CreateObject(4100,-5.39941406,2093.39941406,18.39999962,0.00000000,0. 00000000,187.99256897); //object(meshfence1_lan) (4)
CreateObject(3279,-3.40000010,2083.19995117,16.79999924,0.00000000,0. 00000000,0.00000000); //object(a51_spottower) (1)
CreateObject(4100,-1.70000005,2067.30004883,18.20000076,0.00000000,0. 00000000,141.99780273); //object(meshfence1_lan) (1)
CreateObject(3881,-4.09999990,2075.60009766,18.29999924,0.00000000,0. 00000000,93.99951172); //object(airsecbooth_sfse) (1)
CreateObject(1251,-0.89999998,2070.69995117,16.50000000,0.00000000,0. 00000000,0.00000000); //object(smashbar) (3)
CreateObject(1251,-7.40000010,2070.39990234,16.50000000,0.00000000,0. 00000000,0.00000000); //object(smashbar) (4)
CreateObject(1250,-8.50000000,2074.00000000,17.60000038,0.00000000,0. 00000000,3.99954224); //object(smashbarpost) (1)
CreateObject(968,-8.60000038,2073.39990234,18.00000000,0.00000000,0. 00000000,91.99951172); //object(barrierturn) (1)
CreateObject(4100,-27.79999924,2066.30004883,18.10000038,0.00000000,0 .00000000,141.99276733); //object(meshfence1_lan) (1)
CreateObject(4100,5.59999990,2030.50000000,18.3999 9962,0.00000000,0.00000000,87.99499512); //object(meshfence1_lan) (3)
CreateObject(4100,14.00000000,2019.59997559,18.399 99962,0.00000000,0.00000000,87.99499512); //object(meshfence1_lan) (3)
CreateObject(4100,22.50000000,2008.80004883,18.299 99924,0.00000000,0.00000000,87.99499512); //object(meshfence1_lan) (3)
CreateObject(4100,31.70000076,1998.69995117,18.299 99924,0.00000000,0.00000000,97.99499512); //object(meshfence1_lan) (3)
CreateObject(4100,41.90000153,1989.69995117,18.299 99924,0.00000000,0.00000000,97.99255371); //object(meshfence1_lan) (3)
CreateObject(4100,52.00000000,1980.59997559,18.299 99924,0.00000000,0.00000000,97.99255371); //object(meshfence1_lan) (3)
CreateObject(4100,62.09999847,1971.30004883,18.299 99924,0.00000000,0.00000000,97.99255371); //object(meshfence1_lan) (3)
CreateObject(4100,72.19999695,1962.09997559,18.299 99924,0.00000000,0.00000000,97.99255371); //object(meshfence1_lan) (3)
CreateObject(4100,82.30000305,1953.19995117,18.299 99924,0.00000000,0.00000000,97.99255371); //object(meshfence1_lan) (3)
CreateObject(4100,93.30000305,1945.19995117,18.799 99924,0.00000000,0.00000000,109.98962402); //object(meshfence1_lan) (3)
CreateObject(3115,13.29980469,2045.69921875,17.299 99924,0.00000000,0.00000000,1.99951172); //object(carrier_lift1_sfse) (1)
CreateObject(3934,13.30000019,2045.90002441,17.600 00038,0.00000000,0.00000000,0.00000000); //object(helipad01) (1)
CreateObject(4100,6.40000010,2099.10009766,18.2999 9924,0.00000000,0.00000000,323.99255371); //object(meshfence1_lan) (4)
CreateObject(4100,20.10000038,2100.00000000,18.299 99924,0.00000000,0.00000000,323.99230957); //object(meshfence1_lan) (4)
CreateObject(4100,33.79999924,2100.89990234,18.299 99924,0.00000000,0.00000000,323.99230957); //object(meshfence1_lan) (4)
CreateObject(4100,47.59999847,2101.80004883,18.299 99924,0.00000000,0.00000000,323.99230957); //object(meshfence1_lan) (4)
CreateObject(4100,61.09999847,2100.30004883,18.299 99924,0.00000000,0.00000000,303.99230957); //object(meshfence1_lan) (4)
CreateObject(4100,74.40000153,2096.60009766,18.299 99924,0.00000000,0.00000000,303.99169922); //object(meshfence1_lan) (4)
CreateObject(4100,87.59999847,2092.89990234,18.299 99924,0.00000000,0.00000000,303.99169922); //object(meshfence1_lan) (4)
CreateObject(4100,100.80000305,2089.00000000,18.29 999924,0.00000000,0.00000000,303.99169922); //object(meshfence1_lan) (4)
CreateObject(4100,114.09999847,2085.10009766,18.29 999924,0.00000000,0.00000000,303.99169922); //object(meshfence1_lan) (4)
CreateObject(4100,127.30000305,2081.19995117,18.29 999924,0.00000000,0.00000000,303.99169922); //object(meshfence1_lan) (4)
CreateObject(4100,137.00000000,2078.39990234,18.29 999924,0.00000000,0.00000000,303.99169922); //object(meshfence1_lan) (4)
CreateObject(4100,141.60000610,2069.69995117,18.29 999924,0.00000000,0.00000000,215.99166870); //object(meshfence1_lan) (4)
CreateObject(4100,143.00000000,2057.10009766,18.29 999924,0.00000000,0.00000000,253.99121094); //object(meshfence1_lan) (4)
CreateObject(4100,151.30000305,2046.69995117,18.29 999924,0.00000000,0.00000000,281.98739624); //object(meshfence1_lan) (4)
CreateObject(4100,162.19999695,2038.19995117,18.29 999924,0.00000000,0.00000000,281.9860839; //object(meshfence1_lan) (4)
CreateObject(4100,174.60000610,2033.90002441,18.29 999924,0.00000000,0.00000000,317.9860839; //object(meshfence1_lan) (4)
CreateObject(974,184.60000610,2033.69995117,19.500 00000,0.00000000,0.00000000,0.00000000); //object(tall_fence) (1)
CreateObject(8843,12.50000000,2070.60009766,16.500 00000,0.00000000,0.00000000,92.00000000); //object(arrows01_lvs) (1)
CreateObject(8843,-31.79999924,2063.60009766,16.50000000,0.00000000,0 .00000000,271.99954224); //object(arrows01_lvs) (2)
CreateObject(1215,2.59999990,2054.50000000,18.2000 0076,0.00000000,0.00000000,0.00000000); //object(bollardlight) (1)
CreateObject(1215,3.40000010,2036.50000000,18.2000 0076,0.00000000,0.00000000,0.00000000); //object(bollardlight) (2)
CreateObject(1215,23.39999962,2037.19995117,18.200 00076,0.00000000,0.00000000,0.00000000); //object(bollardlight) (3)
CreateObject(1215,22.89999962,2054.69995117,18.200 00076,0.00000000,0.00000000,0.00000000); //object(bollardlight) (4)
CreateObject(1215,22.50000000,2074.19995117,17.000 00000,0.00000000,0.00000000,0.00000000); //object(bollardlight) (5)
CreateObject(1215,23.29999924,2062.50000000,17.000 00000,0.00000000,0.00000000,0.00000000); //object(bollardlight) (6)
CreateObject(1215,-43.50000000,2071.69995117,17.00000000,0.00000000,0 .00000000,0.00000000); //object(bollardlight) (7)
CreateObject(1215,-43.09999847,2059.39990234,17.00000000,0.00000000,0 .00000000,0.00000000); //object(bollardlight) (
CreateObject(1215,-20.39999962,2066.60009766,17.00000000,0.00000000,0 .00000000,0.00000000); //object(bollardlight) (9)
CreateObject(1226,0.20000000,2062.50000000,20.6000 0038,0.00000000,0.00000000,268.00000000); //object(lamppost3) (1)
CreateObject(1226,-0.40000001,2072.80004883,20.29999924,0.00000000,0. 00000000,91.99499512); //object(lamppost3) (2)
CreateObject(1238,5.59999990,2067.60009766,16.7999 9924,0.00000000,0.00000000,0.00000000); //object(trafficcone) (1)
CreateObject(1238,-8.60000038,2067.00000000,16.79999924,0.00000000,0. 00000000,0.00000000); //object(trafficcone) (2)
/*
Objects converted: 61
Vehicles converted: 0
Vehicle models found: 0
----------------------
In the time this conversion took to finish light could have travelled around the world 1.68 times!
*/
// This function creates all objects required for the toll-gates
GameModeInit_Toll()
{
// Add toll-houses to the world
CreateObject(9623, 1787.00, 695.50, 17.40, -3.5, 0.0, 350.25); //object(toll_sfw) (1)
CreateObject(3881,-4.40000010,2058.80004883,18.29999924,0.00000000,0. 00000000,271.99951172); //object(airsecbooth_sfse) (1)
CreateObject(1250,-8.10000038,2060.89990234,17.50000000,0.00000000,0. 00000000,182.00000000); //object(smashbarpost) (1)
CreateObject(1251,-7.40000010,2063.80004883,16.60000038,0.00000000,0. 00000000,0.00000000); //object(smashbar) (1)
CreateObject(1251,-1.00000000,2064.30004883,16.60000038,0.00000000,0. 00000000,0.00000000); //object(smashbar) (2)
CreateObject(968,-8.00000000,2061.50000000,17.89999962,0.00000000,0. 00000000,91.99951172); //object(barrierturn) (1)
CreateObject(4100,-9.30000019,2082.00000000,18.39999962,0.00000000,0. 00000000,53.99780273); //object(meshfence1_lan) (1)
CreateObject(4100,-7.30000019,2053.39990234,18.20000076,0.00000000,0. 00000000,53.99780273); //object(meshfence1_lan) (2)
CreateObject(4100,-2.69921875,2041.19921875,18.39999962,0.00000000,0. 00000000,87.99499512); //object(meshfence1_lan) (3)
CreateObject(4100,-5.39941406,2093.39941406,18.39999962,0.00000000,0. 00000000,187.99256897); //object(meshfence1_lan) (4)
CreateObject(3279,-3.40000010,2083.19995117,16.79999924,0.00000000,0. 00000000,0.00000000); //object(a51_spottower) (1)
CreateObject(4100,-1.70000005,2067.30004883,18.20000076,0.00000000,0. 00000000,141.99780273); //object(meshfence1_lan) (1)
CreateObject(3881,-4.09999990,2075.60009766,18.29999924,0.00000000,0. 00000000,93.99951172); //object(airsecbooth_sfse) (1)
CreateObject(1251,-0.89999998,2070.69995117,16.50000000,0.00000000,0. 00000000,0.00000000); //object(smashbar) (3)
CreateObject(1251,-7.40000010,2070.39990234,16.50000000,0.00000000,0. 00000000,0.00000000); //object(smashbar) (4)
CreateObject(1250,-8.50000000,2074.00000000,17.60000038,0.00000000,0. 00000000,3.99954224); //object(smashbarpost) (1)
CreateObject(968,-8.60000038,2073.39990234,18.00000000,0.00000000,0. 00000000,91.99951172); //object(barrierturn) (1)
CreateObject(4100,-27.79999924,2066.30004883,18.10000038,0.00000000,0 .00000000,141.99276733); //object(meshfence1_lan) (1)
CreateObject(4100,5.59999990,2030.50000000,18.3999 9962,0.00000000,0.00000000,87.99499512); //object(meshfence1_lan) (3)
CreateObject(4100,14.00000000,2019.59997559,18.399 99962,0.00000000,0.00000000,87.99499512); //object(meshfence1_lan) (3)
CreateObject(4100,22.50000000,2008.80004883,18.299 99924,0.00000000,0.00000000,87.99499512); //object(meshfence1_lan) (3)
CreateObject(4100,31.70000076,1998.69995117,18.299 99924,0.00000000,0.00000000,97.99499512); //object(meshfence1_lan) (3)
CreateObject(4100,41.90000153,1989.69995117,18.299 99924,0.00000000,0.00000000,97.99255371); //object(meshfence1_lan) (3)
CreateObject(4100,52.00000000,1980.59997559,18.299 99924,0.00000000,0.00000000,97.99255371); //object(meshfence1_lan) (3)
CreateObject(4100,62.09999847,1971.30004883,18.299 99924,0.00000000,0.00000000,97.99255371); //object(meshfence1_lan) (3)
CreateObject(4100,72.19999695,1962.09997559,18.299 99924,0.00000000,0.00000000,97.99255371); //object(meshfence1_lan) (3)
CreateObject(4100,82.30000305,1953.19995117,18.299 99924,0.00000000,0.00000000,97.99255371); //object(meshfence1_lan) (3)
CreateObject(4100,93.30000305,1945.19995117,18.799 99924,0.00000000,0.00000000,109.98962402); //object(meshfence1_lan) (3)
CreateObject(3115,13.29980469,2045.69921875,17.299 99924,0.00000000,0.00000000,1.99951172); //object(carrier_lift1_sfse) (1)
CreateObject(3934,13.30000019,2045.90002441,17.600 00038,0.00000000,0.00000000,0.00000000); //object(helipad01) (1)
CreateObject(4100,6.40000010,2099.10009766,18.2999 9924,0.00000000,0.00000000,323.99255371); //object(meshfence1_lan) (4)
CreateObject(4100,20.10000038,2100.00000000,18.299 99924,0.00000000,0.00000000,323.99230957); //object(meshfence1_lan) (4)
CreateObject(4100,33.79999924,2100.89990234,18.299 99924,0.00000000,0.00000000,323.99230957); //object(meshfence1_lan) (4)
CreateObject(4100,47.59999847,2101.80004883,18.299 99924,0.00000000,0.00000000,323.99230957); //object(meshfence1_lan) (4)
CreateObject(4100,61.09999847,2100.30004883,18.299 99924,0.00000000,0.00000000,303.99230957); //object(meshfence1_lan) (4)
CreateObject(4100,74.40000153,2096.60009766,18.299 99924,0.00000000,0.00000000,303.99169922); //object(meshfence1_lan) (4)
CreateObject(4100,87.59999847,2092.89990234,18.299 99924,0.00000000,0.00000000,303.99169922); //object(meshfence1_lan) (4)
CreateObject(4100,100.80000305,2089.00000000,18.29 999924,0.00000000,0.00000000,303.99169922); //object(meshfence1_lan) (4)
CreateObject(4100,114.09999847,2085.10009766,18.29 999924,0.00000000,0.00000000,303.99169922); //object(meshfence1_lan) (4)
CreateObject(4100,127.30000305,2081.19995117,18.29 999924,0.00000000,0.00000000,303.99169922); //object(meshfence1_lan) (4)
CreateObject(4100,137.00000000,2078.39990234,18.29 999924,0.00000000,0.00000000,303.99169922); //object(meshfence1_lan) (4)
CreateObject(4100,141.60000610,2069.69995117,18.29 999924,0.00000000,0.00000000,215.99166870); //object(meshfence1_lan) (4)
CreateObject(4100,143.00000000,2057.10009766,18.29 999924,0.00000000,0.00000000,253.99121094); //object(meshfence1_lan) (4)
CreateObject(4100,151.30000305,2046.69995117,18.29 999924,0.00000000,0.00000000,281.98739624); //object(meshfence1_lan) (4)
CreateObject(4100,162.19999695,2038.19995117,18.29 999924,0.00000000,0.00000000,281.9860839; //object(meshfence1_lan) (4)
CreateObject(4100,174.60000610,2033.90002441,18.29 999924,0.00000000,0.00000000,317.9860839; //object(meshfence1_lan) (4)
CreateObject(974,184.60000610,2033.69995117,19.500 00000,0.00000000,0.00000000,0.00000000); //object(tall_fence) (1)
CreateObject(8843,12.50000000,2070.60009766,16.500 00000,0.00000000,0.00000000,92.00000000); //object(arrows01_lvs) (1)
CreateObject(8843,-31.79999924,2063.60009766,16.50000000,0.00000000,0 .00000000,271.99954224); //object(arrows01_lvs) (2)
CreateObject(1215,2.59999990,2054.50000000,18.2000 0076,0.00000000,0.00000000,0.00000000); //object(bollardlight) (1)
CreateObject(1215,3.40000010,2036.50000000,18.2000 0076,0.00000000,0.00000000,0.00000000); //object(bollardlight) (2)
CreateObject(1215,23.39999962,2037.19995117,18.200 00076,0.00000000,0.00000000,0.00000000); //object(bollardlight) (3)
CreateObject(1215,22.89999962,2054.69995117,18.200 00076,0.00000000,0.00000000,0.00000000); //object(bollardlight) (4)
CreateObject(1215,22.50000000,2074.19995117,17.000 00000,0.00000000,0.00000000,0.00000000); //object(bollardlight) (5)
CreateObject(1215,23.29999924,2062.50000000,17.000 00000,0.00000000,0.00000000,0.00000000); //object(bollardlight) (6)
CreateObject(1215,-43.50000000,2071.69995117,17.00000000,0.00000000,0 .00000000,0.00000000); //object(bollardlight) (7)
CreateObject(1215,-43.09999847,2059.39990234,17.00000000,0.00000000,0 .00000000,0.00000000); //object(bollardlight) (
CreateObject(1215,-20.39999962,2066.60009766,17.00000000,0.00000000,0 .00000000,0.00000000); //object(bollardlight) (9)
CreateObject(1226,0.20000000,2062.50000000,20.6000 0038,0.00000000,0.00000000,268.00000000); //object(lamppost3) (1)
CreateObject(1226,-0.40000001,2072.80004883,20.29999924,0.00000000,0. 00000000,91.99499512); //object(lamppost3) (2)
CreateObject(1238,5.59999990,2067.60009766,16.7999 9924,0.00000000,0.00000000,0.00000000); //object(trafficcone) (1)
CreateObject(1238,-8.60000038,2067.00000000,16.79999924,0.00000000,0. 00000000,0.00000000); //object(trafficcone) (2)
/*
Objects converted: 61
Vehicles converted: 0
Vehicle models found: 0
----------------------
In the time this conversion took to finish light could have travelled around the world 1.68 times!
*/