18.12.2011, 23:50
I get error when i try to compile this!
Код:
#include <a_samp> public OnGameModeInit( ) { 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.39999962,0.00000000,0.00000000,87.99499512); //object(meshfence1_lan) (3) CreateObject(4100,14.00000000,2019.59997559,18.39999962,0.00000000,0.00000000,87.99499512); //object(meshfence1_lan) (3) CreateObject(4100,22.50000000,2008.80004883,18.29999924,0.00000000,0.00000000,87.99499512); //object(meshfence1_lan) (3) CreateObject(4100,31.70000076,1998.69995117,18.29999924,0.00000000,0.00000000,97.99499512); //object(meshfence1_lan) (3) CreateObject(4100,41.90000153,1989.69995117,18.29999924,0.00000000,0.00000000,97.99255371); //object(meshfence1_lan) (3) CreateObject(4100,52.00000000,1980.59997559,18.29999924,0.00000000,0.00000000,97.99255371); //object(meshfence1_lan) (3) CreateObject(4100,62.09999847,1971.30004883,18.29999924,0.00000000,0.00000000,97.99255371); //object(meshfence1_lan) (3) CreateObject(4100,72.19999695,1962.09997559,18.29999924,0.00000000,0.00000000,97.99255371); //object(meshfence1_lan) (3) CreateObject(4100,82.30000305,1953.19995117,18.29999924,0.00000000,0.00000000,97.99255371); //object(meshfence1_lan) (3) CreateObject(4100,93.30000305,1945.19995117,18.79999924,0.00000000,0.00000000,109.98962402); //object(meshfence1_lan) (3) CreateObject(3115,13.29980469,2045.69921875,17.29999924,0.00000000,0.00000000,1.99951172); //object(carrier_lift1_sfse) (1) CreateObject(3934,13.30000019,2045.90002441,17.60000038,0.00000000,0.00000000,0.00000000); //object(helipad01) (1) CreateObject(4100,6.40000010,2099.10009766,18.29999924,0.00000000,0.00000000,323.99255371); //object(meshfence1_lan) (4) CreateObject(4100,20.10000038,2100.00000000,18.29999924,0.00000000,0.00000000,323.99230957); //object(meshfence1_lan) (4) CreateObject(4100,33.79999924,2100.89990234,18.29999924,0.00000000,0.00000000,323.99230957); //object(meshfence1_lan) (4) CreateObject(4100,47.59999847,2101.80004883,18.29999924,0.00000000,0.00000000,323.99230957); //object(meshfence1_lan) (4) CreateObject(4100,61.09999847,2100.30004883,18.29999924,0.00000000,0.00000000,303.99230957); //object(meshfence1_lan) (4) CreateObject(4100,74.40000153,2096.60009766,18.29999924,0.00000000,0.00000000,303.99169922); //object(meshfence1_lan) (4) CreateObject(4100,87.59999847,2092.89990234,18.29999924,0.00000000,0.00000000,303.99169922); //object(meshfence1_lan) (4) CreateObject(4100,100.80000305,2089.00000000,18.29999924,0.00000000,0.00000000,303.99169922); //object(meshfence1_lan) (4) CreateObject(4100,114.09999847,2085.10009766,18.29999924,0.00000000,0.00000000,303.99169922); //object(meshfence1_lan) (4) CreateObject(4100,127.30000305,2081.19995117,18.29999924,0.00000000,0.00000000,303.99169922); //object(meshfence1_lan) (4) CreateObject(4100,137.00000000,2078.39990234,18.29999924,0.00000000,0.00000000,303.99169922); //object(meshfence1_lan) (4) CreateObject(4100,141.60000610,2069.69995117,18.29999924,0.00000000,0.00000000,215.99166870); //object(meshfence1_lan) (4) CreateObject(4100,143.00000000,2057.10009766,18.29999924,0.00000000,0.00000000,253.99121094); //object(meshfence1_lan) (4) CreateObject(4100,151.30000305,2046.69995117,18.29999924,0.00000000,0.00000000,281.98739624); //object(meshfence1_lan) (4) CreateObject(4100,162.19999695,2038.19995117,18.29999924,0.00000000,0.00000000,281.98608398); //object(meshfence1_lan) (4) CreateObject(4100,174.60000610,2033.90002441,18.29999924,0.00000000,0.00000000,317.98608398); //object(meshfence1_lan) (4) CreateObject(974,184.60000610,2033.69995117,19.50000000,0.00000000,0.00000000,0.00000000); //object(tall_fence) (1) CreateObject(8843,12.50000000,2070.60009766,16.50000000,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.20000076,0.00000000,0.00000000,0.00000000); //object(bollardlight) (1) CreateObject(1215,3.40000010,2036.50000000,18.20000076,0.00000000,0.00000000,0.00000000); //object(bollardlight) (2) CreateObject(1215,23.39999962,2037.19995117,18.20000076,0.00000000,0.00000000,0.00000000); //object(bollardlight) (3) CreateObject(1215,22.89999962,2054.69995117,18.20000076,0.00000000,0.00000000,0.00000000); //object(bollardlight) (4) CreateObject(1215,22.50000000,2074.19995117,17.00000000,0.00000000,0.00000000,0.00000000); //object(bollardlight) (5) CreateObject(1215,23.29999924,2062.50000000,17.00000000,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) (8) CreateObject(1215,-20.39999962,2066.60009766,17.00000000,0.00000000,0.00000000,0.00000000); //object(bollardlight) (9) CreateObject(1226,0.20000000,2062.50000000,20.60000038,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.79999924,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) CreateObject(3444, 1298.57, -2028.50, 60.51, 0.00, 0.00, 0.00); CreateObject(8658, 1298.70, -2015.07, 57.79, 0.06, -0.54, -89.64); CreateObject(8658, 1290.06, -2015.14, 57.66, 0.60, -1.80, 270.24); CreateObject(8658, 1298.72, -2015.10, 56.55, 0.00, 0.00, -88.92); CreateObject(8658, 1313.37, -2029.68, 56.94, 0.00, 0.00, 0.00); CreateObject(10671, 1313.52, -2036.03, 56.83, 0.00, 0.00, 0.00); CreateObject(10671, 1307.61, -2041.98, 56.97, 0.00, 0.00, 89.52); RemoveBuildingForPlayer(OnPlayerConnect, 691, 1290.8750, -2042.6094, 55.7891, 0.25); RemoveBuildingForPlayer(OnPlayerConnect, 762, 1290.9766, -2025.9375, 60.1875, 0.25); RemoveBuildingForPlayer(OnPlayerConnect, 661, 1284.9844, -2020.2500, 57.1563, 0.25); RemoveBuildingForPlayer(OnPlayerConnect, 1290, 1280.2031, -2007.3828, 63.7734, 0.25); RemoveBuildingForPlayer(OnPlayerConnect, 691, 1291.0469, -2007.0703, 54.8828, 0.25); }
Код:
C:\Users\Pilot\Desktop\samd\filterscripts\Server.pwn(72) : error 076: syntax error in the expression, or invalid function call C:\Users\Pilot\Desktop\samd\filterscripts\Server.pwn(73) : error 076: syntax error in the expression, or invalid function call C:\Users\Pilot\Desktop\samd\filterscripts\Server.pwn(74) : error 076: syntax error in the expression, or invalid function call C:\Users\Pilot\Desktop\samd\filterscripts\Server.pwn(75) : error 076: syntax error in the expression, or invalid function call C:\Users\Pilot\Desktop\samd\filterscripts\Server.pwn(76) : error 076: syntax error in the expression, or invalid function call Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.