C:\Users\Administrátor\Desktop\ \server\gamemodes\testgm.pwn(73) : error 017: undefined symbol "PlayerName"
public OnPlayerConnect(playerid)
{
PLAYERLIST_authed[playerid] = false;
if (!PLAYERLIST_authed[playerid])
{
if(udb_Exists(PlayerName(playerid))) <--- u tohoto to haže co s tím
{
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;
}