SA-MP Forums Archive
[Ajuda] Muitos erros ao incluir FS no GM - 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] Muitos erros ao incluir FS no GM (/showthread.php?tid=480352)



Muitos erros ao incluir FS no GM - Agamaster - 10.12.2013

Eu jб consegui incluir 4 FS no meu GM, quando vou tentar botar +1 ele dб uns erros q n sei oq fazer olhe:
Quote:

C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(1122) : warning 225: unreachable code
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\pawno\include\ZCMD.inc(18 ) : warning 201: redefinition of constant/macro (symbol "COMMAND:%1(%2)")
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\pawno\include\ZCMD.inc(21) : warning 201: redefinition of constant/macro (symbol "CMD:%1(%2)")
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\pawno\include\ZCMD.inc(63) : error 021: symbol already defined: "S@@_OnGameModeInit"
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(1392) : error 021: symbol already defined: "S@@_OnFilterScriptInit"
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(1404) : error 021: symbol already defined: "S@@_OnFilterScriptExit"
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(2307) : error 021: symbol already defined: "S@@_OnPlayerEnterCheckpoint"
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(2548 ) : error 021: symbol already defined: "S@@_OnDialogResponse"
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(3015) : warning 203: symbol is never used: "BreakLine"
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(3015) : warning 203: symbol is never used: "gArmySpawns"
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(3015) : warning 203: symbol is never used: "gMedicalSpawns"
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(3015) : warning 203: symbol is never used: "gPoliceSpawns"
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(3015) : warning 203: symbol is never used: "lastanimid"
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(3015) : warning 203: symbol is never used: "thisanimid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Errors.

O meu GM
http://pastebin.com/dSyyMky6


Re: Muitos erros ao incluir FS no GM - Agamaster - 10.12.2013

Alguйm ajuda ??


Re: Muitos erros ao incluir FS no GM - Kuddy - 10.12.2013

Sem spam amiguinho, posta uma vez e espera alguem te ajudar. Nгo precisa ficar dando up a cada tуpico que sobe acima do teu, vc vai acabar levando um ban se continuar a fazer isso.

@Topic
Isso nгo й um GM, vocк estб enfiando um monte de FS num script sу, ta uma bagunзa.

Enfim, o erro й dado por incluir 2 vezes a include y_commands. Apague a linha 875 que os erros desaparecerгo.

@Dica
Se quer fazer o gamemode, aprenda a fazer um, nгo fique tacando um monte de babozeira em um script sу, pq isso sу vai te trazer problema mais pra frente.


Re: Muitos erros ao incluir FS no GM - Don_Speed - 10.12.2013

PHP код:
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(3015) : warning 203symbol is never used"BreakLine"
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(3015) : warning 203symbol is never used"gArmySpawns"
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(3015) : warning 203symbol is never used"gMedicalSpawns"
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(3015) : warning 203symbol is never used"gPoliceSpawns"
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(3015) : warning 203symbol is never used"lastanimid"
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(3015) : warning 203symbol is never used"thisanimid" 
Isso sгo variaveis nunca utilizadas , depois de remover isso poste os erros e as linhas para ver-mos.

Usando [PHP]Code[*/PHP]
Onde ta CODE coloque os avisos/code e sem o *.



Re: Muitos erros ao incluir FS no GM - Agamaster - 10.12.2013

Para Kuddy, eu fiz o q vc disse e apareceu os seguintes erros:
Quote:

C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(1121) : warning 225: unreachable code
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\pawno\include\ZCMD.inc(18 ) : warning 201: redefinition of constant/macro (symbol "COMMAND:%1(%2)")
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\pawno\include\ZCMD.inc(21) : warning 201: redefinition of constant/macro (symbol "CMD:%1(%2)")
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\pawno\include\ZCMD.inc(63) : error 021: symbol already defined: "S@@_OnGameModeInit"
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(1391) : error 021: symbol already defined: "S@@_OnFilterScriptInit"
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(1403) : error 021: symbol already defined: "S@@_OnFilterScriptExit"
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(2306) : error 021: symbol already defined: "S@@_OnPlayerEnterCheckpoint"
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(2547) : error 021: symbol already defined: "S@@_OnDialogResponse"
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(3014) : warning 203: symbol is never used: "BreakLine"
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(3014) : warning 203: symbol is never used: "gArmySpawns"
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(3014) : warning 203: symbol is never used: "gMedicalSpawns"
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(3014) : warning 203: symbol is never used: "gPoliceSpawns"
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(3014) : warning 203: symbol is never used: "lastanimid"
C:\Users\User\Desktop\Etc\Mъsicas\Samp Server\gamemodes\grandlarc+loginmm+dinheirosave+sa vearms+spawn+empsystem.pwn(3014) : warning 203: symbol is never used: "thisanimid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Errors.

Para Don_Speed, й para eu tirar a linha 3015 ?? se for essa linha nгo existe :/


Re: Muitos erros ao incluir FS no GM - Agamaster - 10.12.2013

Esqueci,
Eu peguei um GM e fui literalmente "enfiando" FS dentro dele