Script Error
#3

I added it with the rest of the command which are like at the top of the script

here is the first command for an example...

//================================================== ============================
//-------------------------------------------------
// COMMANDS
//-------------------------------------------------
//================================================== ============================

Код:
#if USE_DIALOGS == true
dcmd_CMD_REGISTER(playerid,params[])
{
    #pragma unused params
    
	if (AccInfo[playerid][LoggedIn] == 1)
	return SendClientMessage(playerid,red,"ERROR: You are already registered and logged in.");
	
	if (udb_Exists(PlayerName2(playerid)))
	return SendClientMessage(playerid,red,"ERROR: This account already exists") &&
    SendClientMessage(playerid,orange,"Login to access your account ('/"#LoginCommand"').");
    
	new rs2tring[256];
	format(rs2tring,256,"Register new Account: '%s'\n\nEnter the password to Register your Account:",pName(playerid));
	ShowPlayerDialog(playerid,DIALOGID+66,DIALOG_STYLE_INPUT,"Register Account",rs2tring,"Register","Quit");
	return 1;
}
Reply


Messages In This Thread
Script Error - by Goldino - 30.11.2012, 18:55
Re: Script Error - by Windrush - 30.11.2012, 18:58
Re: Script Error - by Goldino - 30.11.2012, 19:01
Re: Script Error - by Windrush - 30.11.2012, 19:04
Re: Script Error - by Goldino - 30.11.2012, 19:05
Re: Script Error - by Windrush - 30.11.2012, 19:07
Re: Script Error - by Goldino - 30.11.2012, 19:09
Re: Script Error - by Windrush - 30.11.2012, 19:10
Re: Script Error - by Goldino - 30.11.2012, 19:11
Re: Script Error - by Windrush - 30.11.2012, 19:13

Forum Jump:


Users browsing this thread: 1 Guest(s)