• 0
Sign in to follow this  
Followers 0
Иосиф Маркелов

[закрыто] Ошибка с компиляцией

Question

//spawn
	new tmpobjid;
	SetDynamicObjectMaterial(tmpobjid, 0, 3979, "civic01_lan", "crazy paving", 0x00000000);
	tmpobjid = CreateDynamicObjectEx(8661,1743.029,-1916.089,2000.000,0.000,0.000,270.000,300.000,300.000);
	SetDynamicObjectMaterial(tmpobjid, 0, 4101, "stapl", "sl_Laexpowin2", 0x00000000);
	tmpobjid = CreateDynamicObjectEx(8661,1734.045,-1916.177,2006.989,18.989,-180.000,270.000,300.000,300.000);
	tmpobjid = CreateDynamicObjectEx(8661,1751.870,-1916.177,2006.989,18.989,-180.000,90.000,300.000,300.000);
	SetDynamicObjectMaterial(tmpobjid, 0, 4101, "stapl", "sl_Laexpowin2", 0x00000000);
	tmpobjid = CreateDynamicObjectEx(19359,1734.296,-1907.791,2001.750,0.000,0.000,90.000,300.000,300.000);
	SetDynamicObjectMaterial(tmpobjid, 0, 8391, "ballys01", "ballywall02_128", 0x00000000);
	tmpobjid = CreateDynamicObjectEx(19359,1734.301,-1920.453,2001.750,0.000,0.000,90.000,300.000,300.000);
	SetDynamicObjectMaterial(tmpobjid, 0, 8391, "ballys01", "ballywall02_128", 0x00000000);
	tmpobjid = CreateDynamicObjectEx(19362,1751.880,-1899.828,2001.755,0.000,0.000,0.000,300.000,300.000);
	SetDynamicObjectMaterial(tmpobjid, 0, 3292, "cxrf_payspray", "newindow4", 0x00000000);
	tmpobjid = CreateDynamicObjectEx(19362,1751.880,-1904.642,2001.755,0.000,0.000,0.000,300.000,300.000);
	SetDynamicObjectMaterial(tmpobjid, 0, 3292, "cxrf_payspray", "newindow4", 0x00000000);
	tmpobjid = CreateDynamicObjectEx(19362,1751.870,-1899.828,2004.244,0.000,0.000,0.000,300.000,300.000);
	SetDynamicObjectMaterial(tmpobjid, 0, 3292, "cxrf_payspray", "newindow4", 0x00000000);
	tmpobjid = CreateDynamicObjectEx(19362,1751.870,-1904.644,2004.244,0.000,0.000,0.000,300.000,300.000);
	SetDynamicObjectMaterial(tmpobjid, 0, 3292, "cxrf_payspray", "newindow4", 0x00000000);
	tmpobjid = CreateDynamicObjectEx(19362,1751.874,-1909.468,2004.244,0.000,0.000,0.000,300.000,300.000);
	SetDynamicObjectMaterial(tmpobjid, 0, 3292, "cxrf_payspray", "newindow4", 0x00000000);
	tmpobjid = CreateDynamicObjectEx(19362,1751.874,-1914.032,2004.244,0.000,0.000,0.000,300.000,300.000);
	SetDynamicObjectMaterial(tmpobjid, 0, 3292, "cxrf_payspray", "newindow4", 0x00000000);
	tmpobjid = CreateDynamicObjectEx(19362,1751.870,-1918.646,2004.244,0.000,0.000,0.000,300.000,300.000);
	SetDynamicObjectMaterial(tmpobjid, 0, 3292, "cxrf_payspray", "newindow4", 0x00000000);
	tmpobjid = CreateDynamicObjectEx(19362,1751.869,-1923.473,2001.755,0.000,0.000,0.000,300.000,300.000);
	SetDynamicObjectMaterial(tmpobjid, 0, 3292, "cxrf_payspray", "newindow4", 0x00000000);
	tmpobjid = CreateDynamicObjectEx(19362,1751.869,-1923.473,2004.244,0.000,0.000,0.000,300.000,300.000);
	SetDynamicObjectMaterial(tmpobjid, 0, 3292, "cxrf_payspray", "newindow4", 0x00000000);
	tmpobjid = CreateDynamicObjectEx(19362,1751.869,-1928.300,2001.755,0.000,0.000,0.000,300.000,300.000);
	SetDynamicObjectMaterial(tmpobjid, 0, 3292, "cxrf_payspray", "newindow4", 0x00000000);
	tmpobjid = CreateDynamicObjectEx(19362,1751.869,-1928.300,2004.244,0.000,0.000,0.000,300.000,300.000);
	SetDynamicObjectMaterial(tmpobjid, 0, 3292, "cxrf_payspray", "newindow4", 0x00000000);
	tmpobjid = CreateDynamicObjectEx(19362,1747.795,-1931.859,2004.259,0.000,0.000,270.000,300.000,300.000);
	SetDynamicObjectMaterial(tmpobjid, 0, 3292, "cxrf_payspray", "newindow4", 0x00000000);
	tmpobjid = CreateDynamicObjectEx(19362,1742.972,-1931.857,2004.259,0.000,0.000,270.000,300.000,300.000);
	SetDynamicObjectMaterial(tmpobjid, 0, 3292, "cxrf_payspray", "newindow4", 0x00000000);
	tmpobjid = CreateDynamicObjectEx(19362,1738.159,-1931.864,2004.259,0.000,0.000,270.000,300.000,300.000);
	SetDynamicObjectMaterial(tmpobjid, 0, 3292, "cxrf_payspray", "newindow4", 0x00000000);
	tmpobjid = CreateDynamicObjectEx(19371,1753.496,-1899.826,2005.906,0.000,90.000,0.000,300.000,300.000);
	SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "white", 0x00000000);
	tmpobjid = CreateDynamicObjectEx(19371,1753.496,-1904.644,2005.906,0.000,90.000,0.000,300.000,300.000);
	SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "white", 0x00000000);
	tmpobjid = CreateDynamicObjectEx(19371,1753.496,-1909.467,2005.906,0.000,90.000,0.000,300.000,300.000);
	SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "white", 0x00000000);
	tmpobjid = CreateDynamicObjectEx(19371,1753.496,-1914.032,2005.906,0.000,90.000,0.000,300.000,300.000);
	SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "white", 0x00000000);
	tmpobjid = CreateDynamicObjectEx(19371,1753.496,-1918.651,2005.906,0.000,90.000,0.000,300.000,300.000);
	SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "white", 0x00000000);
	tmpobjid = CreateDynamicObjectEx(19371,1753.496,-1923.473,2005.906,0.000,90.000,0.000,300.000,300.000);
	SetDynamicObjectMaterial(tmpobjid, 0, 10765, "airportgnd_sfse", "white", 0x00000000);
	tmpobjid = CreateDynamicObjectEx(19371,1753.496,-1928.300,2005.906,0.000,90.000,0.000,300.000,300.000);

Код с ошибкой выше

Короче добавил мапинг  и в нем ошибки исправить не могу! Что пишет при компиляцие:

D:\ñåðâåð\ìîä\ìîä\pawno\include\object.inc(3) : warning 219: local variable "tmpobjid" shadows a variable at a preceding level
D:\ñåðâåð\ìîä\ìîä\pawno\include\object.inc(3) : error 010: invalid function or declaration
D:\ñåðâåð\ìîä\ìîä\pawno\include\object.inc(4) : error 010: invalid function or declaration
D:\ñåðâåð\ìîä\ìîä\pawno\include\object.inc(6) : error 010: invalid function or declaration
D:\ñåðâåð\ìîä\ìîä\pawno\include\object.inc(9) : error 010: invalid function or declaration
D:\ñåðâåð\ìîä\ìîä\pawno\include\object.inc(11) : error 010: invalid function or declaration
D:\ñåðâåð\ìîä\ìîä\pawno\include\object.inc(13) : error 010: invalid function or declaration
D:\ñåðâåð\ìîä\ìîä\pawno\include\object.inc(15) : error 010: invalid function or declaration
D:\ñåðâåð\ìîä\ìîä\pawno\include\object.inc(17) : error 010: invalid function or declaration
D:\ñåðâåð\ìîä\ìîä\pawno\include\object.inc(19) : error 010: invalid function or declaration
D:\ñåðâåð\ìîä\ìîä\pawno\include\object.inc(21) : error 010: invalid function or declaration
D:\ñåðâåð\ìîä\ìîä\pawno\include\object.inc(23) : error 010: invalid function or declaration
D:\ñåðâåð\ìîä\ìîä\pawno\include\object.inc(25) : error 010: invalid function or declaration
D:\ñåðâåð\ìîä\ìîä\pawno\include\object.inc(27) : error 010: invalid function or declaration
D:\ñåðâåð\ìîä\ìîä\pawno\include\object.inc(29) : error 010: invalid function or declaration
D:\ñåðâåð\ìîä\ìîä\pawno\include\object.inc(31) : error 010: invalid function or declaration
D:\ñåðâåð\ìîä\ìîä\pawno\include\object.inc(33) : error 010: invalid function or declaration
D:\ñåðâåð\ìîä\ìîä\pawno\include\object.inc(35) : error 010: invalid function or declaration
D:\ñåðâåð\ìîä\ìîä\pawno\include\object.inc(37) : error 010: invalid function or declaration
D:\ñåðâåð\ìîä\ìîä\pawno\include\object.inc(39) : error 010: invalid function or declaration
D:\ñåðâåð\ìîä\ìîä\pawno\include\object.inc(41) : error 010: invalid function or declaration
D:\ñåðâåð\ìîä\ìîä\pawno\include\object.inc(43) : error 010: invalid function or declaration
D:\ñåðâåð\ìîä\ìîä\pawno\include\object.inc(45) : error 010: invalid function or declaration
D:\ñåðâåð\ìîä\ìîä\pawno\include\object.inc(47) : error 010: invalid function or declaration
D:\ñåðâåð\ìîä\ìîä\pawno\include\object.inc(49) : error 010: invalid function or declaration
D:\ñåðâåð\ìîä\ìîä\pawno\include\object.inc(51) : error 010: invalid function or declaration
D:\ñåðâåð\ìîä\ìîä\pawno\include\object.inc(53) : error 010: invalid function or declaration

Compilation aborted.

Pawn compiler 3.10.20160702	 	 	Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

Помогите пж

Share this post


Link to post
Share on other sites

0 answers to this question

There have been no answers to this question yet

Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • NirmanaYT
      By NirmanaYT
      Здравствуйте! Хотел бы попросить помощи! Как добавить текст допустим ,
      Чтоб ну примерно каждые 30 минут в чате отображался определённый текст который я задам!
       
      Всем игрокам
    • Danya_Melfov
      By Danya_Melfov
      Я закинул мод на хостинг, бд, все настроил, но при запуске пишет - Mode: Unknown
      Вот логи:
       
      Видел где-то совет, что нужно вставить какой-то айпи адрес в LauncherAddon.so, но я не знаю как, у меня OC - Windows 10. Мод брал с этого сайта: Arizona RP Blubeury. Но дело, вряд ли в моде, перепробовал модов - 5-6, везде одно и тоже. Прошу помочь! Заранее благодарен.