Pls poraďte
C:\Documents and Settings\Administrator\Plocha\Untitled23.pwn(239) : error 012: invalid function call, not a valid address
C:\Documents and Settings\Administrator\Plocha\Untitled23.pwn(239) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Plocha\Untitled23.pwn(239) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Administrator\Plocha\Untitled23.pwn(239) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Plocha\Untitled23.pwn(239) : fatal error 107: too many error messages on one line
Řádek:
if(udb_Exists(PlayerName(playerid)))
Celé to vypadá takhle
{
new novyhrac[100];
GetPlayerName(playerid, novyhrac, 24);
format(novyhrac, 100, "Hráč %s se připojil.", novyhrac);
SendClientMessageToAll(COLOR_GREY, novyhrac);
PLAYERLIST_authed[playerid] = false;
if (!PLAYERLIST_authed[playerid])
{
if(udb_Exists(PlayerName(playerid))) // Když jeho ucet existuje
{
ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,"Registrace","Vítej zpět !\nNapiš heslo !","Použít","Odpojit"); // Když existuje zobrazíme dialog
} else {
ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"Registrace","Vítej !\nZaregistruj se, napiš heslo","Použít","Odpojit"); // Když neexistuje zobrazíme dialog
}
}
return 1;
}