[Ajuda] Meu sistema registo
#1

ShowPlayerDialog(playerid, DIALOG_SUCCESS_2, DIALOG_STYLE_MSGBOX,""COL_WHITE"Successo!",""COL_G REEN"Logaste com sucesso!","Ok","");

C:\Users\User\Desktop\DMteste.pwn(513) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\User\Desktop\DMteste.pwn(513) : warning 215: expression has no effect
C:\Users\User\Desktop\DMteste.pwn(513) : error 001: expected token: ";", but found "-string-"
C:\Users\User\Desktop\DMteste.pwn(513) : warning 215: expression has no effect
C:\Users\User\Desktop\DMteste.pwn(513) : warning 215: expression has no effect
C:\Users\User\Desktop\DMteste.pwn(513) : warning 215: expression has no effect
C:\Users\User\Desktop\DMteste.pwn(513) : error 001: expected token: ";", but found ")"
C:\Users\User\Desktop\DMteste.pwn(513) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply
#2

Jб edito.


Tente:

pawn Код:
ShowPlayerDialog(playerid, DIALOG_SUCCESS_2, DIALOG_STYLE_MSGBOX,-1,"Successo!","Logaste com sucesso!","Ok");
Reply
#3

Posta a Linha Anterior a Essa.
Reply
#4

SpawnPlayer(playerid);
ShowPlayerDialog(playerid, DIALOG_SUCCESS_1, DIALOG_STYLE_MSGBOX,""COL_WHITE"Success!",""COL_GR EEN"Great! Your Y_INI system works perfectly. Relog to save your stats!","Ok","");

O cуdigo que voce me deu, adiciona erros a linhas posteriores
Reply
#5

Pхe o script entre [*pawn] Script Aqui [/*pawn] sem os *.
Reply
#6

Mas o Gm todo ou so a parte que esta a dar erro?
Reply
#7

Quote:
Originally Posted by Rocha12
Посмотреть сообщение
Mas o Gm todo ou so a parte que esta a dar erro?
Sу do erro
Reply
#8

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
        //REGISTO
        switch( dialogid )
        {
        case DIALOG_REGISTER:
        {
            if (!response) return Kick(playerid);
            if(response)
            {
                if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, ""COL_WHITE"Registando...",""COL_RED"Digitaste uma senha invбlida.\n"COL_WHITE"Escreve a tua password em baixo para te registares.","Registar","Sair");
                new INI:File = INI_Open(UserPath(playerid));
                INI_SetTag(File,"data");
                INI_WriteInt(File,"Password",udb_hash(inputtext));
                INI_WriteInt(File,"Cash",0);
                INI_WriteInt(File,"Admin",0);
                INI_WriteInt(File,"Kills",0);
                INI_WriteInt(File,"Deaths",0);
                INI_Close(File);

                SetSpawnInfo(playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0);
                SpawnPlayer(playerid);
                ShowPlayerDialog(playerid, DIALOG_SUCCESS_1, DIALOG_STYLE_MSGBOX,""COL_WHITE"Success!",""COL_GREEN"Great! Your Y_INI system works perfectly. Relog to save your stats!","Ok","");
            }
        }
Reply
#9

Tente:

pawn Код:
ShowPlayerDialog(playerid, DIALOG_SUCCESS_1, DIALOG_STYLE_MSGBOX,"{FFFFFF}Success!","{00FF00}Great! Your Y_INI system works perfectly. Relog to save your stats!","Ok","");
Reply
#10

hardwar exprimentei isso e deu me erro nisto agora.

pawn Код:
ShowPlayerDialog(playerid, DIALOG_SUCCESS_2, DIALOG_STYLE_MSGBOX,""COL_WHITE"Successo!",""COL_GREEN"Logaste com sucesso!","Ok","");
C:\Users\User\Desktop\DMteste.pwn(522) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\User\Desktop\DMteste.pwn(522) : warning 215: expression has no effect
C:\Users\User\Desktop\DMteste.pwn(522) : error 001: expected token: ";", but found "-string-"
C:\Users\User\Desktop\DMteste.pwn(522) : warning 215: expression has no effect
C:\Users\User\Desktop\DMteste.pwn(522) : warning 215: expression has no effect
C:\Users\User\Desktop\DMteste.pwn(522) : warning 215: expression has no effect
C:\Users\User\Desktop\DMteste.pwn(522) : error 001: expected token: ";", but found ")"
C:\Users\User\Desktop\DMteste.pwn(522) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)