case DIALOG_REGISTER:
{
if (!response) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Zaregistrujte se prosim",""COL_WHITE"Zadej vaše heslo pro noví úcet.\n Při psaní hesla pouze při týto registracise vám bude heslo zobrazovat až se budete přihlašovat budou vidět při psaní puntíky","Registrovat","");
if(response)
{
if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, ""COL_WHITE"Zaregistruj se.",""COL_RED"Zadal jsi nesprávné heslo"COL_WHITE"Zadejte vaše heslo k novému účtu.","Registrovat","");
new INI:File = INI_Open(UserPath(playerid));
INI_SetTag(File,"data");
INI_WriteInt(File,"Password",udb_hash(inputtext));
INI_WriteInt(File,"Cash",0);
INI_WriteInt(File,"Admin",0);
INI_WriteInt(File,"Kills",0);
INI_WriteInt(File,"Deaths",0);
INI_WriteInt(File,"Bankapenize",0);
INI_WriteInt(File,"Wanted",0);
INI_WriteInt(File,"Jail",0);
INI_WriteInt(File,"Zamestnani",0);
INI_WriteInt(File,"Zprukaz",0);
INI_WriteInt(File,"DprukazA",0);
INI_WriteInt(File,"DprukazB",0);
INI_WriteInt(File,"DprukazCE",0);
INI_WriteInt(File,"DprukazD",0);
INI_WriteInt(File,"Lprukaz",0);
INI_WriteInt(File,"Policiebody",0);
INI_WriteInt(File,"Policielevel",0);
INI_WriteInt(File,"Pravidlaukaz",0);
INI_WriteInt(File,"Aktualnipozicezapnuta",0);
INI_WriteInt(File,"Skin",0);
INI_WriteInt(File,"Zenanebochlap",0);
INI_WriteInt(File,"BezdakneboBezdacka",0);
INI_Close(File);
ShowPlayerDialog(playerid, TYPY_BEZDOMOVCU_INFO, DIALOG_STYLE_MSGBOX, "Informace o výběru postavy", "Vyber si postavu\nPokud si v budoucnu budeš chtít zminit základní postavu na Bezdomovce nebo na Bezdomovkyni musíš si koupit VIP\nZákladní postava je ta kterou máš když nemáš žádnou práci a dum.\nPokud ale máš dum ale nemáš práci tak dostaneš chlapa nebo ženu záleží na tom jestli jsi byl bezdomovec nebo bezdomovkině.\nVýběr typu bezdomovce se ti zobrazí po kliknutí na tlačítko Pokračovat.", "Pokračovat", "");
PlayerInfo[playerid][pPravidlaukaz] = 1;
ShowPlayerDialog(playerid, DIALOG_SUCCESS_1, DIALOG_STYLE_MSGBOX,""COL_WHITE"Úspěšně!",""COL_GREEN"Skvěle! Tvoje registrace proběhla úspěšně!. Pro uložení statistik se musíš odpojit a znovu pripojit!","Ok","");
}
}
Dotaz
Dominik Rozporka 0
Popis problému:
Nechápu vůbec jak je to možný ale píše to nějakou chybu
Jde mi jen o tu první chybu zatím vkládám kód ve kterým ta chyba je
S ostatníma chybama si snad poradim doufám.
Ale nejdivnější je že ta první chyba v kompilátoru ukazuje na řádek na kterým nic není.
Chyby/varování kompilátoru a při běhu:
: warning 217: loose indentation
: warning 217: loose indentation
: warning 217: loose indentation
: warning 217: loose indentation
: warning 217: loose indentation
: warning 217: loose indentation
: warning 217: loose indentation
: warning 217: loose indentation
: warning 213: tag mismatch
: warning 213: tag mismatch
: warning 213: tag mismatch
: warning 213: tag mismatch
: warning 213: tag mismatch
: warning 213: tag mismatch
: warning 217: loose indentation
: warning 217: loose indentation
: warning 217: loose indentation
: error 075: input line too long (after substitutions)
: error 029: invalid expression, assumed zero
: warning 215: expression has no effect
: warning 215: expression has no effect
: warning 215: expression has no effect
: warning 215: expression has no effect
: error 037: invalid string (possibly non-terminated string)
: warning 215: expression has no effect
: error 001: expected token: ";", but found ")"
: error 029: invalid expression, assumed zero
: warning 215: expression has no effect
: error 029: invalid expression, assumed zero
: error 075: input line too long (after substitutions)
: error 029: invalid expression, assumed zero
: warning 215: expression has no effect
: warning 215: expression has no effect
: error 037: invalid string (possibly non-terminated string)
: error 017: undefined symbol "Vyber"
: fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
11 Errors.
Kód:
Dodatečné poznámky:
--
Link to comment
Share on other sites
22 odpovědí na tuto otázku
Recommended Posts