Рекомендованные сообщения



19 posts in this topic

Доброе утро уже, у меня такая проблема, был интерьер и я решил его заретекстурить, все сделал, добавил инту обратно начал компилировать, и тут пошло, почему не признает функцию ретекстура? прошу помочь, вот ошибки.

../N_Includes/n_interiors.inc(7) : warning 202: number of arguments does not match definition
../N_Includes/n_interiors.inc(8) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(9) : warning 202: number of arguments does not match definition
../N_Includes/n_interiors.inc(10) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(11) : warning 202: number of arguments does not match definition
../N_Includes/n_interiors.inc(12) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(13) : warning 202: number of arguments does not match definition
../N_Includes/n_interiors.inc(14) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(15) : warning 202: number of arguments does not match definition
../N_Includes/n_interiors.inc(16) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(17) : warning 202: number of arguments does not match definition
../N_Includes/n_interiors.inc(18) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(19) : warning 202: number of arguments does not match definition
../N_Includes/n_interiors.inc(20) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(21) : warning 202: number of arguments does not match definition
../N_Includes/n_interiors.inc(22) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(23) : warning 202: number of arguments does not match definition
../N_Includes/n_interiors.inc(24) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(25) : warning 202: number of arguments does not match definition
../N_Includes/n_interiors.inc(26) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(27) : warning 202: number of arguments does not match definition
../N_Includes/n_interiors.inc(28) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(29) : warning 202: number of arguments does not match definition
../N_Includes/n_interiors.inc(30) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(31) : warning 202: number of arguments does not match definition
../N_Includes/n_interiors.inc(32) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(33) : warning 202: number of arguments does not match definition
../N_Includes/n_interiors.inc(34) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(35) : warning 202: number of arguments does not match definition
../N_Includes/n_interiors.inc(36) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(37) : warning 202: number of arguments does not match definition
../N_Includes/n_interiors.inc(38) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(39) : warning 202: number of arguments does not match definition
../N_Includes/n_interiors.inc(40) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(41) : warning 202: number of arguments does not match definition
../N_Includes/n_interiors.inc(42) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(43) : warning 202: number of arguments does not match definition
../N_Includes/n_interiors.inc(44) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(45) : warning 202: number of arguments does not match definition
../N_Includes/n_interiors.inc(46) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(47) : warning 202: number of arguments does not match definition
../N_Includes/n_interiors.inc(48) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(49) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(50) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(51) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(52) : warning 202: number of arguments does not match definition
../N_Includes/n_interiors.inc(53) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(54) : error 017: undefined symbol "SetDynamicObjectMaterial"

С такой проблемой впервые столкнулся.

Заметка от Guest , создано

Берете код еще под спойлер! Как это делать вы можете посмотреть в разделе: "Дополнительно -> FAQ".

Share this post


Link to post
Share on other sites
n_interiors.inc подключи после #include streamer

Share this post


Link to post
Share on other sites

@MuhammadPawn подключено все, если бы не было подключено до ретекстура у меня бы не работало.

Share this post


Link to post
Share on other sites

@DENIS.P. покажите список подключенных инклудов (именно подключенных, а не скрин папки с инклудами). 

Share this post


Link to post
Share on other sites

@DEST Вот 

Y97_eVfkA6c.jpg

Share this post


Link to post
Share on other sites

@DENIS.P. стример инклуд нужно добавить после a_samp. 

Share this post


Link to post
Share on other sites

@DEST 

C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(113) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_ATTACHED_PLAYER")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(114) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_ATTACHED_VEHICLE")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(124) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_COLOR")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(125) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_DRAW_DISTANCE")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(126) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_EXTRA_ID")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(127) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_INTERIOR_ID")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(128) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_MAX_X")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(129) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_MAX_Y")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(130) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_MAX_Z")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(131) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_MIN_X")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(132) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_MIN_Y")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(133) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_MIN_Z")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(134) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_MODEL_ID")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(138) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_MOVE_SPEED")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(139) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_MOVE_X")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(140) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_MOVE_Y")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(141) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_MOVE_Z")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(142) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_NEXT_X")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(143) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_NEXT_Y")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(144) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_NEXT_Z")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(145) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_PLAYER_ID")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(146) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_R_X")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(147) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_R_Y")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(148) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_R_Z")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(149) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_SIZE")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(151) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_STYLE")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(153) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_TEST_LOS")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(154) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_TYPE")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(155) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_WORLD_ID")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(156) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_X")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(157) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_Y")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(159) : warning 201: redefinition of constant/macro (symbol "E_STREAMER_Z")
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(187) : error 021: symbol already defined: "Streamer_Update"
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(188) : error 021: symbol already defined: "Streamer_UpdateEx"
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(192) : error 021: symbol already defined: "Streamer_GetFloatData"
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(193) : error 021: symbol already defined: "Streamer_SetFloatData"
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(194) : error 021: symbol already defined: "Streamer_GetIntData"
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(195) : error 021: symbol already defined: "Streamer_SetIntData"
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(198) : error 021: symbol already defined: "Streamer_IsInArrayData"
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(199) : error 021: symbol already defined: "Streamer_AppendArrayData"
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(200) : error 021: symbol already defined: "Streamer_RemoveArrayData"
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(201) : error 021: symbol already defined: "Streamer_GetUpperBound"
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(210) : error 021: symbol already defined: "Streamer_IsItemVisible"
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(211) : error 021: symbol already defined: "Streamer_DestroyAllVisibleItems"
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(212) : error 021: symbol already defined: "Streamer_CountVisibleItems"
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(218) : error 021: symbol already defined: "CreateDynamicObject"
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(219) : error 021: symbol already defined: "DestroyDynamicObject"
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(220) : error 021: symbol already defined: "IsValidDynamicObject"
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(221) : error 021: symbol already defined: "SetDynamicObjectPos"
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(222) : error 021: symbol already defined: "GetDynamicObjectPos"
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(223) : error 021: symbol already defined: "SetDynamicObjectRot"
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(224) : error 021: symbol already defined: "GetDynamicObjectRot"
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(227) : error 021: symbol already defined: "MoveDynamicObject"
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(228) : error 021: symbol already defined: "StopDynamicObject"
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(244) : error 021: symbol already defined: "CreateDynamicPickup"
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(245) : error 021: symbol already defined: "DestroyDynamicPickup"
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(246) : error 021: symbol already defined: "IsValidDynamicPickup"
C:\Users\Äåíèñ\Desktop\GREAT RP\pawno\include\streamer.inc(250) : error 021: symbol already defined: "CreateDynamicCP"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

Подключил 

Share this post


Link to post
Share on other sites

@DENIS.P. значит, он где-то уже подключен в моде до этого. Найдите где, и перенесите после a_samp. 

Share this post


Link to post
Share on other sites

@DENIS.P. вопрос решен или вы случайно тему закрыли? 

Share this post


Link to post
Share on other sites

@DEST случайно, просто тут не привычно, вопрос еще актуален. 

Share this post


Link to post
Share on other sites

@DENIS.P. если случайно закрыли тему нужно было либо мне в ЛС написать, либо нажать на галочку возле сообщения, и тема опять бы открылась.

Ну а если по теме, то streamer у вас в моде дважды не подключен? Скиньте опять список подключенных инклудов и список ошибок, если есть. 

Share this post


Link to post
Share on other sites

@DEST 

//##                               #INCLUDE                                   ##
//##############################################################################
#include <a_http>
#include <a_samp>
#include <Nexus>
#include <mxINI>
#include <a_mysql>
#include <sscanf2>
#include <zcmd>
#include <foreach>
#include <progress>
#include <md5>
#include "../N_Includes/n_objects.inc"
#include "../N_Includes/n_vehicles.inc"
#include "../N_Includes/n_perem.inc"
#include "../N_Includes/n_forwards.inc"
#include "../N_Includes/n_interiors.inc"
#pragma dynamic 15300

ошибки то что ему не известна функция замены текстуры, щас вот в pawno создал файл pawn cfg, там прописал -l  и скомпилили и ошибок нет, но как я знгаю это же не решение проблемы ? 

Share this post


Link to post
Share on other sites

@DENIS.P. нет, это один из режимов отладки. AMX-то файл не появился. Ошибка в том, что инклуд streamer не подключен перед инклудами с объектами. Возвращаемся к тому, откуда начинали. Попробуйте инклуд с объектами поставить самым последним, после строки #pragma dynamic 15300.

Share this post


Link to post
Share on other sites

@DEST подробней можно, что там со streamer, а так поставил ниже ничего не изменилосмь 

Share this post


Link to post
Share on other sites

@DENIS.P. куда уж подробней, нужно подключить streamer после a_samp. 

Share this post


Link to post
Share on other sites

@DEST я понял в чам соль, SetObjectMateria я могу сделать а вот он не принимает только SetDynamicObjectMateria, но почему он не принимает SetDynamicObjectMateria?

Share this post


Link to post
Share on other sites

@DEST ошибки, даже менял стример но чет ничего 

../N_Includes/n_interiors.inc(148) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(150) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(152) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(154) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(156) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(158) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(160) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(162) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(164) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(166) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(168) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(170) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(172) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(173) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(175) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(177) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(179) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(180) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(181) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(182) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(184) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(185) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(186) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(187) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(189) : error 017: undefined symbol "SetDynamicObjectMaterial"
../N_Includes/n_interiors.inc(190) : error 017: undefined symbol "SetDynamicObjectMaterial"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

 

Share this post


Link to post
Share on other sites

@DENIS.P. не найдена функция 

SetDynamicObjectMaterial (опять ж как сказали выше найди в моде streamer и перемести его под a_samp и тогда всё будет хорошо

Share this post


Link to post
Share on other sites

Вопрос решен, обновил стример, долго искал его но обновил, проблема в том. что стример просто в нем нет этой функции, мол мой мод старый все такое.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • Nikita_Kuznetsov
      By Nikita_Kuznetsov
      Нужен срочно человек который сможет разблокировать все файлы из сборки мода.
      Сборка от KING RP
    • Nikita_Kuznetsov
      By Nikita_Kuznetsov
      Ребят у меня возникла такая проблемка.
      Взял мод под основу KING RP.
      Скачал с ютуба.
       
      Проблема такова.
      Когда мы с другом находимся далеко друг от друга,
      у нас нечего не происходит.
      А когда мы сближаемся у меня просто выключается сам мод, а не сервер.
      Тупо сервер включён но в мультиплеере он не работает.
      И  это всё из за того что мы с другом близко находились в игре.
      а когда далеко друг от друга то всё спокойно.
      ПОЧЕМУ ТАК? Кто может помочь с данной проблемой?