SA-MP Forums Archive
[Ajuda] Pobrema nas include ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Pobrema nas include ? (/showthread.php?tid=528429)



Pobrema nas include ? - Holl - 27.07.2014

Este Sao os Novos Erros apos Usar as Includes Postadas pelo amigo ae.

C:\X\X\X\X\pawno\include\SIF/extensions/ContainerDialog.inc(429) : error 017: undefined symbol "DisplayPlayerInventory"
C:\X\X\X\X\pawno\include\SIF/extensions/ContainerDialog.inc(52 : warning 235: public function lacks forward declaration (symbol "OnPlayerViewInventoryOpt")
C:\X\X\X\X\pawno\include\SIF/extensions/ContainerDialog.inc(535) : error 017: undefined symbol "AddInventoryOption"
C:\X\X\X\X\pawno\include\SIF/extensions/ContainerDialog.inc(552) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectInventoryOpt")
C:\X\X\X\X\pawno\include\SIF/extensions/ContainerDialog.inc(562) : error 017: undefined symbol "GetPlayerSelectedInventorySlot"
C:\X\X\X\X\pawno\include\SIF/extensions/ContainerDialog.inc(567) : error 017: undefined symbol "DisplayPlayerInventory"
C:\X\X\X\X\pawno\include\SIF/extensions/ContainerDialog.inc(576) : error 017: undefined symbol "DisplayPlayerInventory"
C:\X\X\X\X\pawno\include\SIF/extensions/ContainerDialog.inc(59 : warning 235: public function lacks forward declaration (symbol "OnPlayerOpenInventory")
C:\X\X\X\X\pawno\include\SIF/extensions/ContainerDialog.inc(605) : error 017: undefined symbol "AddInventoryListItem"
C:\X\X\X\X\pawno\include\SIF/extensions/ContainerDialog.inc(622) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectExtraItem")
C:\X\X\X\X\pawno\include\Zipline.inc(209) : warning 209: function "UpdateLineSegment" should return a value
C:\X\X\X\X\pawno\include\Line.inc(19) : warning 201: redefinition of constant/macro (symbol "MAX_LINE")
C:\X\X\X\X\pawno\include\Line.inc(25) : warning 201: redefinition of constant/macro (symbol "E_LINE_DATA")
C:\X\X\X\X\pawno\include\Line.inc(26) : error 021: symbol already defined: "lin_model"
C:\X\X\X\X\pawno\include\Line.inc(32) : error 021: symbol already defined: "lin_posX"
C:\X\X\X\X\pawno\include\Line.inc(36) : error 021: symbol already defined: "lin_dstX"
C:\X\X\X\X\pawno\include\Line.inc(40) : error 021: symbol already defined: "lin_rotX"
C:\X\X\X\X\pawno\include\Line.inc(44) : error 021: symbol already defined: "lin_world"
C:\X\X\X\X\pawno\include\Line.inc(50) : error 021: symbol already defined: "lin_Data"
C:\X\X\X\X\pawno\include\Line.inc(66) : error 025: function heading differs from prototype
C:\X\X\X\X\pawno\include\Line.inc(67) : error 021: symbol already defined: "CreateLineSegment"
C:\X\X\X\X\pawno\include\Line.inc(103) : error 025: function heading differs from prototype
C:\X\X\X\X\pawno\include\Line.inc(104) : error 021: symbol already defined: "DestroyLineSegment"
C:\X\X\X\X\pawno\include\Line.inc(130) : error 025: function heading differs from prototype
C:\X\X\X\X\pawno\include\Line.inc(131) : error 021: symbol already defined: "UpdateLineSegment"
C:\X\X\X\X\pawno\include\Line.inc(236) : error 025: function heading differs from prototype
C:\X\X\X\X\pawno\include\Line.inc(237) : error 021: symbol already defined: "SetLineSegmentModel"
C:\X\X\X\X\pawno\include\Line.inc(304) : error 025: function heading differs from prototype
C:\X\X\X\X\pawno\include\Line.inc(305) : error 021: symbol already defined: "GetLineSegmentMaxLength"
C:\X\X\X\X\pawno\include\Line.inc(341) : error 025: function heading differs from prototype
C:\X\X\X\X\pawno\include\Line.inc(342) : error 021: symbol already defined: "SetLineSegmentPoint"
C:\X\X\X\X\pawno\include\Line.inc(372) : error 025: function heading differs from prototype
C:\X\X\X\X\pawno\include\Line.inc(373) : error 021: symbol already defined: "SetLineSegmentDest"
__________________________________________________ ____________________________________
Abaixo , Axo que esta Resolvido oque Conto agora e Acima.
Abaixo Segue a GM de Teste .

Estou Com Pobrema nestas Includes , quando a GM chega nelas elas Casha o Pawno , fazendo ele Fechar ...
Aqui Esta o Site do criador das Include , Link Aqui
Aqui Esta o LInk Direto do Dowload das includes.

a Zipline que descobri hoje esta neste Link

pawn Код:
#include <a_samp>

#include <SIF\extensions\Craft>
#include <SIF\extensions\InventoryKeys>
#include <SIF\extensions\InventoryDialog>
#include <Zipline>




/* Es o pobrema*/

main()
{

}

public OnPlayerSpawn(playerid)
{
    SetPlayerPos(playerid, 0.0, 0.0, 3.0);
}



Re: Pobrema nas include ? - ViniBorn - 27.07.2014

A barra й desse lado mesmo? \, ou seria / ?


Re: Pobrema nas include ? - Holl - 28.07.2014

Quote:
Originally Posted by ViniBorn
Посмотреть сообщение
A barra й desse lado mesmo? \, ou seria / ?
tanto faz , da na mesma nenhuma conta como erro , remova para tu ver se faz difenca ,


Re: Pobrema nas include ? - RebeloX - 28.07.2014

Jб tentas-te adicionar uma a uma?
Assim podes saber qual й que crasha o pawno.


Re: Pobrema nas include ? - Holl - 28.07.2014

Quote:
Originally Posted by BlueX
Посмотреть сообщение
Jб tentas-te adicionar uma a uma?
Assim podes saber qual й que crasha o pawno.
Foi oq fiz. e descobri todas essas que casha.


Re: Pobrema nas include ? - RebeloX - 28.07.2014

Quote:
Originally Posted by Holl
Посмотреть сообщение
Foi oq fiz. e descobri todas essas que casha.
Entгo sгo as includes que tem algo de mal lб, nгo existe nenhum tipo de atualizaзгo? Onde й que as obteste?


Re: Pobrema nas include ? - zSuYaNw - 28.07.2014

Pretйrito? LOL.


--

O Campeгo, re-baixa as includes, use da seguinte forma:

pawn Код:
#include "blabla/blabla/"
Se o erro persistir, poste aqui.


Re: Pobrema nas include ? - Holl - 28.07.2014

Quote:
Originally Posted by BlueX
Посмотреть сообщение
Entгo sгo as includes que tem algo de mal lб, nгo existe nenhum tipo de atualizaзгo? Onde й que as obteste?
Sei desde o incio que o pobrema esta na incluedes.. mas..



Quote:
Originally Posted by zSuYaNw
Посмотреть сообщение
Pretйrito? LOL.


--

O Campeгo, re-baixa as includes, use da seguinte forma:

pawn Код:
#include "blabla/blabla/"
Se o erro persistir, poste aqui.
A unica Versao disponivel esta com Link no topico , coloquei como voзe disse nao vi nenhuma direnзa.


Re: Pobrema nas include ? - GM_KoDi - 28.07.2014

define nessa ordem

pawn Код:
#include <a_samp>
#include <SIF>
#include <SIF\extensions\InventoryDialog>
#include <SIF\extensions\ContainerDialog>
#include <SIF\extensions\Craft>
#include <SIF\extensions\InventoryKeys>
#include <Zipline>
baixa os arquivos abaixo descompacte, copia as pastas pawno e plugins no seu servidor e substitui todos arquivos
http://www.4shared.com/rar/HNwyGIwEce/Arquivos.html

e define no server cfg se nгo estiver definido
Код:
plugins streamer



Re: Pobrema nas include ? - zSuYaNw - 29.07.2014

Assim, olhando o tуpico (https://sampforum.blast.hk/showthread.php?pid=3049894#pid3049894) notei que as includes streamer e YSI e SIF/Button ґterгo que estar ativos.


Procure no tуpico por "Dependencies".


--

Aqui funcionou:

pawn Код:
#include a_samp


#include <SIF>
#include <SIF\Button.pwn>



main()
{
    printf("Hello World");
}