SA-MP Forums Archive
[Ajuda] Erro pawn '-' - 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] Erro pawn '-' (/showthread.php?tid=588552)



Erro pawn '-' - MCBAIDU - 09.09.2015

Do nada brotou esses erros quando fui compilar
Manodicas de como resolver pf
<3
Nгo liguem pra GM,й spinoff que uso pra testes
Quote:

C:\Users\Lucas\Desktop\ConnectionBrasil RPG\pawno\include\a_samp.inc(104) : error 021: symbol already defined: "PlayAudioStreamForPlayer"
C:\Users\Lucas\Desktop\ConnectionBrasil RPG\pawno\include\a_samp.inc(105) : error 021: symbol already defined: "StopAudioStreamForPlayer"
C:\Users\Lucas\Desktop\ConnectionBrasil RPG\gamemodes\BPS.pwn(3716) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\Lucas\Desktop\ConnectionBrasil RPG\gamemodes\BPS.pwn(4123) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\Lucas\Desktop\ConnectionBrasil RPG\gamemodes\BPS.pwn(12131) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\Lucas\Desktop\ConnectionBrasil RPG\gamemodes\BPS.pwn(12140) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\Lucas\Desktop\ConnectionBrasil RPG\gamemodes\BPS.pwn(1675 : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\Lucas\Desktop\ConnectionBrasil RPG\gamemodes\BPS.pwn(16902) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\Lucas\Desktop\ConnectionBrasil RPG\gamemodes\BPS.pwn(23949) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\Lucas\Desktop\ConnectionBrasil RPG\gamemodes\BPS.pwn(23973) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\Lucas\Desktop\ConnectionBrasil RPG\gamemodes\BPS.pwn(23982) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\Lucas\Desktop\ConnectionBrasil RPG\gamemodes\BPS.pwn(56167) : warning 235: public function lacks forward declaration (symbol "OnPlayerGiveDamage")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


11 Errors.




Re: Erro pawn '-' - Andre02 - 09.09.2015

Sem codigo a gente nao consegue ajudar..


Re: Erro pawn '-' - MCBAIDU - 09.09.2015

Todos os erros se baseiam nisso
Em todos codigos que tem o textdraw de registro/login ta dando o erro
Quote:

ShowPlayerDialog(playerid, 1, DIALOG_STYLE_PASSWORD, "{FFFF00}Connection Brasil RPG",loginstring,"Logar","Esperar");




Re: Erro pawn '-' - [BOPE]Seu._.Madruga - 09.09.2015

Atualize suas includes !


Re: Erro pawn '-' - MCBAIDU - 09.09.2015

Ja consegui amenizar os erros agora sу restou esses
Apenas 1 linha

Quote:

C:\Users\Lucas\Desktop\ConnectionBrasil RPG\gamemodes\BPS.pwn(3716) : error: 029: invalid expression, assumed zero
C:\Users\Lucas\Desktop\ConnectionBrasil RPG\gamemodes\BPS.pwn(3716) : error: 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\Lucas\Desktop\ConnectionBrasil RPG\gamemodes\BPS.pwn(3716) : error: 029: invalid expression, assumed zero
C:\Users\Lucas\Desktop\ConnectionBrasil RPG\gamemodes\BPS.pwn(3716) : error fatal: 107: too many error messages on one line

Novo cуdigo que botei que amenizou os erros
Quote:

ShowPlayerDialog(playerid, 1,#define DIALOG_STYLE_PASSWORD, "Fazendo Seu Login:", "{FFFFFF}Seja Bem Vindo(a)\n {00EE00}Connection {FFD700}Brasil {00B2EE}RPG{FFFFFF}.\n\n{FFFFFF}Conta: {00FF00}Registrada\n\n{FFFFFF}Use: {00FF00}Nome_Sobrenome\n\n{FFFFFF}Exemplo: {ffff00}Guru_Josh{FFFFFF}\n\n\n www.{FFD700}brasilmn{FFFFFF}.forumeiros.com\n\n\nP or Favor Digite Sua Senha Para Logar !", "Logar", "Esperar");




Re: Erro pawn '-' - iTakelot - 09.09.2015

Amigo vocк estб com as includes do samp atualizadas?


Re: Erro pawn '-' - DiegoLabel - 09.09.2015

Quote:

ShowPlayerDialog(playerid, 1,#define DIALOG_STYLE_PASSWORD, "Fazendo Seu Login:", "{FFFFFF}Seja Bem Vindo(a)\n {00EE00}Connection {FFD700}Brasil {00B2EE}RPG{FFFFFF}.\n\n{FFFFFF}Conta: {00FF00}Registrada\n\n{FFFFFF}Use: {00FF00}Nome_Sobrenome\n\n{FFFFFF}Exemplo: {ffff00}Guru_Josh{FFFFFF}\n\n\n www.{FFD700}brasilmn{FFFFFF}.forumeiros.com\n\n\nP or Favor Digite Sua Senha Para Logar !", "Logar", "Esperar");

Tenta assim:

Quote:

ShowPlayerDialog(playerid, 1,DIALOG_STYLE_PASSWORD, "Fazendo Seu Login:", "{FFFFFF}Seja Bem Vindo(a)\n {00EE00}Connection {FFD700}Brasil {00B2EE}RPG{FFFFFF}.\n\n{FFFFFF}Conta: {00FF00}Registrada\n\n{FFFFFF}Use: {00FF00}Nome_Sobrenome\n\n{FFFFFF}Exemplo: {ffff00}Guru_Josh{FFFFFF}\n\n\n www.{FFD700}brasilmn{FFFFFF}.forumeiros.com\n\n\nP or Favor Digite Sua Senha Para Logar !", "Logar", "Esperar");




Re: Erro pawn '-' - [BOPE]Seu._.Madruga - 10.09.2015

Quote:
Originally Posted by DiegoLabel
Посмотреть сообщение
Tenta assim:
HSAUHSAUHSA sai dai loco, Antes de querer ajudar esteja ciente de que vocк jб aprendeu!


Re: Erro pawn '-' - matheusspohr - 10.09.2015

Utilizando #define dentro da funзгo ShowPlayerDialog?, infelizmente, concordo com o DiegoLabel, pois nunca vi utilizar #define dentro de uma funзгo, nem mesmo em scripts que abro e vejo nada que eu possa entender.