Wenik01 0 Odesláno: 3. Únor, 2012 Share Odesláno: 3. Únor, 2012 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; } Link to comment Share on other sites More sharing options...
LYRIcS 88 Odesláno: 14. Únor, 2012 Share Odesláno: 14. Únor, 2012 Ktory je riadok 239 Link to comment Share on other sites More sharing options...
Jorg 0 Odesláno: 14. Únor, 2012 Share Odesláno: 14. Únor, 2012 Asi sa mu nepaci funkcia udb_Exists skus ju sem hodit. Link to comment Share on other sites More sharing options...
Majitel ffredyk 168 Odesláno: 14. Únor, 2012 Majitel Share Odesláno: 14. Únor, 2012 Asi sa mu nepaci funkcia udb_Exists skus ju sem hodit. udb_Exists je součástí includu DUDB pokud vím.. Neraď pokud se v tom nevyznáš.. Já bych to viděl spíš na funkci PlayerName... Link to comment Share on other sites More sharing options...
Jorg 0 Odesláno: 14. Únor, 2012 Share Odesláno: 14. Únor, 2012 Stym PlayerName mas pravdu. A pojeb sa... ffredyk Link to comment Share on other sites More sharing options...
hospoda96 31 Odesláno: 14. Únor, 2012 Share Odesláno: 14. Únor, 2012 Lock + Var! Link to comment Share on other sites More sharing options...
Recommended Posts