29.01.2017, 23:36
Sou novo por aqui, porйm estou tentando fazer depois procurar soluзхes mas nesse caso nгo estou conseguindo.
C:\Users\KewinSch\Desktop\GM\gamemodes\BRP.pwn(80) : error 035: argument type mismatch (argument 1)
C:\Users\KewinSch\Desktop\GM\gamemodes\BRP.pwn(80) : error 020: invalid symbol name ""
C:\Users\KewinSch\Desktop\GM\gamemodes\BRP.pwn(80) : fatal error 107: too many error messages on one line
#define DIALOG_REGISTRAR 1
#define DIALOG_LOGAR 2
#define string
line 73 - public OnPlayerConnect(playerid)Erros
C:\Users\KewinSch\Desktop\GM\gamemodes\BRP.pwn(80) : error 029: invalid expression, assumed zeroC:\Users\KewinSch\Desktop\GM\gamemodes\BRP.pwn(80) : error 035: argument type mismatch (argument 1)
C:\Users\KewinSch\Desktop\GM\gamemodes\BRP.pwn(80) : error 020: invalid symbol name ""
C:\Users\KewinSch\Desktop\GM\gamemodes\BRP.pwn(80) : fatal error 107: too many error messages on one line
Defines
#define DIALOG_REGISTRAR 1
#define DIALOG_LOGAR 2
#define string
Code
line 74 - {
line 75 - new file[40], name[MAX_PLAYER_NAME];
line 76 - GetPlayerName(playerid, name, 32);
line 77 - format(file, 40, "Contas/%s.ini", name);
line 78 - if(DOF2_FileExists(file))
line 79 - {
line 80 - format(string, sizeof(string),"\n{4682B4}Status da conta:{00FF7F}Registrada\n","\n Para acessar digite sua senha!\n");
ShowPlayerDialog(playerid, DIALOG_LOGAR, DIALOG_STYLE_PASSWORD,"[Brasil Real Play] Login\n", string, "Confirmar", "Cancelar");
SendClientMessage(playerid, -1, "{FFD700}Bem vindo(a) ao [BRP], sua conta estб cadastrada digite sua senha para logar!");
}
else
{
format(string, sizeof(string),"\n{4682B4}Status da conta:{B22222}Nгo Registrada\n","\nPara registrar-se digite uma senha!\n");
ShowPlayerDialog(playerid, DIALOG_REGISTRAR, DIALOG_STYLE_PASSWORD,"[Brasil Real Play] Registrar\n", string, "Confirmar", "Cancelar");
SendClientMessage(playerid, -1, "{FFD700}Bem vindo(a) ao [BRP], sua conta nгo estб cadastrada digite uma senha para cadastrar!");
}
return 1;
}