[Ajuda] Erro pawn '-'
#1

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.

Reply
#2

Sem codigo a gente nao consegue ajudar..
Reply
#3

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");

Reply
#4

Atualize suas includes !
Reply
#5

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");

Reply
#6

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

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");

Reply
#8

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

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)