Jump to content
  • 0

Problema Dialog register


Otiy

Question

C:\Documents and Settings\DexTer\Desktop\server\filterscripts\ladmin4v2.pwn(2) : fatal error 100: cannot read from file: "lethaldudb2"

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


1 Error.
am bagat aceasta comanda :
    if(!udb_Exists(PlayerName2(playerid)))
    {
    GetPlayerName(playerid,name,MAX_PLAYER_NAME);
    format(Registre,sizeof(Registre),"Welcome %s!\n\nPlease register to continue!",name);
    ShowPlayerDialog(playerid,RegisterName,DIALOG_STYLE_INPUT,"Register",Registre,"Register","Ban");
	}
	else
	{
	    PlayerInfo[playerid][Registered] = 1;
		format(file,sizeof(file),"/ladmin/users/%s.sav",udb_encode(PlayerName));
		new tmp2[256]; tmp2 = dini_Get(file,"ip");
		if( (!strcmp(tmp3,tmp2,true)) && (ServerInfo[AutoLogin] == 1) )
		{
			LoginPlayer(playerid);
			if(PlayerInfo[playerid][Level] > 0)
			{
				format(string,sizeof(string),"[Account]***: You have automatically logged. (Level %d)", PlayerInfo[playerid][Level] );
				SendClientMessage(playerid,green,string);
       		}
	   		else SendClientMessage(playerid,green,"[Account]***: You have automatically logged.");
  	    }
        else
        SendClientMessage(playerid,green,"Welcome back !!! Please login to continue! /login password [ /LOGIN 292rnda2nn2 ]");

	}
    return 1;
}

in ladmin4v2 si imi da erroarea aceea:| ce tr sa fac?? al 2 script este un dialog register

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

C:\Documents and Settings\DexTer\Desktop\server\filterscripts\ladmin4v2.pwn(2) : fatal error 100: cannot read from file: "lethaldudb2"

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


1 Error.

Nu ai fisierul lethaldudb2 in INCLUDES!! :wink:

Fara reclama in semnatura!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.