help register
#1

Error
PHP код:
C:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(134) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(134) : warning 215: expression has no effect
C
:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(134) : error 001: expected token: ";", but found "-string-"
C:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(134) : warning 215: expression has no effect
C
:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(134) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(134) : fatal error 107: too many error messages on one line 
Script (134)
PHP код:
ShowPlayerDialog(playerid,D_LOGIN,DIALOG_STYLE_PASSWORD,""0xFFFFFFAA"Log In!",""0xFFFFFFAA"Bentornato!\nInserisci la password del tuo account per effettuare il Log in!","Log In","Esci"); 
Reply
#2

Hi!

PHP код:
ShowPlayerDialog(playerid,D_LOGIN,DIALOG_STYLE_PASSWORD,"{FFFFFF}Log In!","{FFFFFF}Bentornato!\nInserisci la password del tuo account per effettuare il Log in!","Log In","Esci"); 
Reply
#3

Now this error [136]
PHP код:
C:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(136) : error 029: invalid expression, assumed zero 
And error [138]
PHP код:
C:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(138) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(138) : warning 215: expression has no effect
C
:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(138) : error 001: expected token: ";", but found "-string-"
C:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(138) : warning 215: expression has no effect
C
:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(138) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(138) : fatal error 107: too many error messages on one line 
Script 136-138
PHP код:
{
    else
    }
    
ShowPlayerDialog(playerid,D_REGISTRAZIONE,DIALOG_STYLE_PASSWORD,""0xFFFFFFAA"Registrazione",""0xFFFFFFAA"Benvenuto!\nInserisci la password per creare il tuo nuovo account","Registrati","Esci");
    } 
Reply
#4

Change it to
PHP код:
{
    else
    }
    
ShowPlayerDialog(playerid,D_REGISTRAZIONE,DIALOG_STYLE_PASSWORD,"{FF0000}Registrazione","{FF0000}Benvenuto!\nInserisci la password per creare il tuo nuovo account","Registrati","Esci");
    } 
Reply
#5

Error
PHP код:
C:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(146) : error 001: expected token: ",", but found "-string-"
C:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(146) : warning 215: expression has no effect
C
:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(146) : warning 215: expression has no effect
C
:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(146) : error 001: expected token: ";", but found ")"
C:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(146) : error 029: invalid expression, assumed zero
C
:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(146) : fatal error 107: too many error messages on one line

Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


7 Errors
. 
Script:
PHP код:
INI_WriteInt(File",Livello_Admin",statistiche[playerid][sAdmin]); 
Reply
#6

pawn Код:
INI_WriteInt(File",Livello_Admin",statistiche[playerid][sAdmin]);
pawn Код:
INI_WriteInt(File,"Livello_Admin",statistiche[playerid][sAdmin]);
Reply
#7

Now this error:
PHP код:
C:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(309) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(309) : error 017: undefined symbol "Registrazione"
C:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(309) : warning 215: expression has no effect
C
:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(309) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(309) : fatal error 107: too many error messages on one line 
script:
PHP код:
ShowPlayerDialog(playerid,D_REGISTRAZIONE,DIALOG_STYLE_PASSWORD,"0xFFFFFFAA"Registrazione",""0xAA3333AA"La tua password deve essere compresa tra i 3 ed i 12 caratteri\n"0xFFFFFFAA"Inserisci la tua password per creare il tuo nuovo account!","Registrati","Esci"); 
Reply
#8

The answer to that is above you. Or here;
pawn Код:
ShowPlayerDialog(playerid,D_REGISTRAZIONE,DIALOG_STYLE_PASSWORD,"{FF0000}Registrazione","{FF0000}Benvenuto!\nInserisci la password per creare il tuo nuovo account","Registrati","Esci");
Reply
#9

I HAVE ON THIS SCRIPT ERROR:
PHP код:
ShowPlayerDialog(playerid,D_NOME,DIALOG_STYLE_INPUT,""0xFFFFFFAA"Nome",""0xFFFFFFAA"Inserisci il nome del tuo personaggio:","Procedi",""); 
Error
PHP код:
C:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(314) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(314) : warning 215: expression has no effect
C
:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(314) : error 001: expected token: ";", but found "-string-"
C:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(314) : warning 215: expression has no effect
C
:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(314) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(314) : fatal error 107: too many error messages on one line

Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


7 Errors
. 
Reply
#10

Quote:
Originally Posted by kevi11
Посмотреть сообщение
I HAVE ON THIS SCRIPT ERROR:
PHP код:
ShowPlayerDialog(playerid,D_NOME,DIALOG_STYLE_INPUT,""0xFFFFFFAA"Nome",""0xFFFFFFAA"Inserisci il nome del tuo personaggio:","Procedi",""); 
Error
PHP код:
C:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(314) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(314) : warning 215: expression has no effect
C
:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(314) : error 001: expected token: ";", but found "-string-"
C:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(314) : warning 215: expression has no effect
C
:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(314) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Kevin11\Desktop\Server1.0\gamemodes\samprp.pwn(314) : fatal error 107: too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase
7 Errors
. 
Omg use common sense this error happened in another line too and i posted the solution comparing the wrong and correct you can get the solution for this errors

Change it

PHP код:
ShowPlayerDialog(playerid,D_NOME,DIALOG_STYLE_INPUT,""0xFFFFFFAA"Nome",""0xFFFFFFAA"Inserisci il nome del tuo personaggio:","Procedi",""); 
To

PHP код:
ShowPlayerDialog(playerid,D_NOME,DIALOG_STYLE_INPUT,"{FF0080}Nome","{FF0080}Inserisci il nome del tuo personaggio:","Procedi",""); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)