[Ajuda] Erro Dialog
#1

Daando Erro Olha Issu
Код:
C:\Users\Marllon\Desktop\EMP.pwn(45) : warning 213: tag mismatch
C:\Users\Marllon\Desktop\EMP.pwn(73) : warning 217: loose indentation
C:\Users\Marllon\Desktop\EMP.pwn(254) : error 029: invalid expression, assumed zero
C:\Users\Marllon\Desktop\EMP.pwn(255) : warning 217: loose indentation
C:\Users\Marllon\Desktop\EMP.pwn(259) : error 029: invalid expression, assumed zero
C:\Users\Marllon\Desktop\EMP.pwn(260) : warning 217: loose indentation
C:\Users\Marllon\Desktop\EMP.pwn(262) : error 054: unmatched closing brace ("}")
C:\Users\Marllon\Desktop\EMP.pwn(263) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Agoora Olha AS LiinhaS Do Erro

Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid ==dialog2)
{
if(response)
}
	SendClientMessage(playerid,-1,"[x]Voce Clicou Em Concordo,Parabйns[x]");
	GameTextForPlayer(playerid,"[x]Concordou",3,3000);
}
else
}
	Kick(playerid);
}
}
return 1;
}
Код:
public OnPlayerConnect(playerid)
{
	if(regrasc[playerid] == false)
		{
			ShowPlayerDialog(playerid, regras, DIALOG_STYLE_MSGBOX,"Brasil The Real","Nunca Use Xiiter Nгo Cometa DB/DM Nгo Ser Ant RPG","Concordo","Discordo");
		}
			else
		{
		
		}
		return 1;
		}
Код:
#define regras 0
#define dialog 2

new bool:regrasc[MAX_PLAYERS];
new dialog2;
AJUUDEM POR FAAVOR !
Reply
#2

Substitui o cуdigo da public OnPlayerConnect, por este e ve se resulta:

PHP код:
if(regrasc[playerid] == false)
        {
            
ShowPlayerDialog(playeridregrasDIALOG_STYLE_MSGBOX,"Nunca Use Xiiter Nгo Cometa DB/DM Nгo Ser Ant RPG","Concordo","Discordo");
        }
            else
        {
        
        }
        return 
1;
        } 
Reply
#3

neem foii ;$
Reply
#4

pawn Код:
if(dialogid == regras)
Reply
#5

o erro contiinuaa ';$
Reply
#6

Ta usando algo nesse else?

Se nгo, por que usa-lo ali?
Reply
#7

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == regras)
    {
        if(!response)return Kick(playerid);
        SendClientMessage(playerid, -1, "[x]Voce Clicou Em Concordo,Parabйns[x]");
        GameTextForPlayer(playerid, "[x]Concordou", 3, 3000);
    }
    return 1;
}
Reply
#8

Quote:
Originally Posted by @Riichard
Посмотреть сообщение
Ta usando algo nesse else?

Se nгo, por que usa-lo ali?
comu assim usando algo nese else ?
Reply
#9

exclui o else se nгo tб usando nada mano..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)