new file[50], aname[MAX_PLAYER_NAME], string[250]; GetPlayerName(playerid, aname,sizeof(aname)); format(file, sizeof(file), "Contas/%s.ini", aname); if(DOF2_FileExists(file)) { // se exitir format(string, sizeof(string), "Ola %s seja bem vindo novamente \n Digite sua senha abaixo para Logar", aname); ShowPlayerDialog(playerid, DIALOG_LOGIN DIALOG_STYLE_PASSWORD, "Digite sua senha", string, "Login", "Sair"); } else { // se nao exisitr format(string, sizeof(string), "Ola %s seja bem vindo pela primeira vez \n Digite sua senha abaixo para se resgistrar", aname); ShowPlayerDialog(playerid, DIALOG_REGISTRO DIALOG_STYLE_PASSWORD, "Digite sua senha", string, "Registrar", "Cancelar"); return 1; }
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Digite sua senha", string, "Login", "Sair");//ERRO 1 SEM VIRGULA MAS JБ COLOQUEI ShowPlayerDialog(playerid, DIALOG_REGISTRO, DIALOG_STYLE_PASSWORD, "Digite sua senha", string, "Registrar", "Cancelar"); ERRO 1 SEM VIRGULA MAS JБ COLOQUEI
C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(41) : warning 225: unreachable code C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(327) : warning 216: nested comment C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(356) : warning 217: loose indentation C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(357) : warning 217: loose indentation C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(360) : warning 217: loose indentation C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(360) : error 029: invalid expression, assumed zero C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(360) : error 004: function "ALSS_OnPlayerConnect" is not implemented C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(436) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(444) : warning 225: unreachable code C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(444) : warning 217: loose indentation C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(447) : warning 225: unreachable code C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(447) : error 029: invalid expression, assumed zero C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(447) : error 004: function "OnPlayerDisconnect" is not implemented C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(452) : warning 225: unreachable code C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(452) : error 029: invalid expression, assumed zero C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(452) : error 004: function "ALSS_OnPlayerSpawn" is not implemented C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(457) : warning 225: unreachable code C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(457) : error 029: invalid expression, assumed zero C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(457) : error 004: function "ALSS_OnPlayerDeath" is not implemented C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(459) : error 017: undefined symbol "killerid" C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(463) : warning 225: unreachable code C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(463) : error 029: invalid expression, assumed zero C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(463) : error 004: function "OnVehicleSpawn" is not implemented C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(46 : warning 225: unreachable code C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(46 : error 029: invalid expression, assumed zero C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(46 : error 004: function "OnVehicleDeath" is not implemented C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(473) : warning 225: unreachable code C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(473) : error 029: invalid expression, assumed zero C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(473) : error 004: function "OnPlayerText" is not implemented C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(47 : warning 225: unreachable code C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(47 : error 029: invalid expression, assumed zero C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(47 : error 004: function "zcmd_OnPlayerCommandText" is not implemented C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(480) : error 017: undefined symbol "cmdtext" C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(486) : warning 225: unreachable code C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(486) : error 029: invalid expression, assumed zero C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(486) : error 004: function "OnPlayerEnterVehicle" is not implemented C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(491) : warning 225: unreachable code C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(491) : error 029: invalid expression, assumed zero C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(491) : error 004: function "OnPlayerExitVehicle" is not implemented C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(496) : warning 225: unreachable code C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(496) : error 029: invalid expression, assumed zero C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(496) : error 004: function "OnPlayerStateChange" is not implemented C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(501) : warning 225: unreachable code C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(501) : error 029: invalid expression, assumed zero C:\Users\Breno\Desktop\Meu gm\gamemodes\Snart.pwn(501) : error 004: function "OnPlayerEnterCheckpoint" is not implemented |
new file[50], aname[MAX_PLAYER_NAME], string[250];
GetPlayerName(playerid, aname, 23);
format(file, sizeof(file), "Contas/%s.ini", aname);
if(DOF2_FileExists(file))
{
// se exitir
format(string, sizeof(string), "Ola %s seja bem vindo novamente \n Digite sua senha abaixo para Logar", aname);
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Digite sua senha", string, "Login", "Sair");
}
else
{
// se nao exisitr
format(string, sizeof(string), "Ola %s seja bem vindo pela primeira vez \n Digite sua senha abaixo para se resgistrar", aname);
ShowPlayerDialog(playerid, DIALOG_REGISTRO, DIALOG_STYLE_PASSWORD, "Digite sua senha", string, "Registrar", "Cancelar");
return 1;