SA-MP Forums Archive
error 017: undefined symbol "udb_setAccState" - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: error 017: undefined symbol "udb_setAccState" (/showthread.php?tid=382683)



error 017: undefined symbol "udb_setAccState" - duuuwh - 04.10.2012

Linha do erro: udb_setAccState(PlayerName(i),GetPlayerMoney(i));

Cуdigo:

pawn Код:
public OnGameModeExit()
{
    for(new i=0; i<MAX_PLAYERS; i++){
        if(IsPlayerConnected(i)){
            if (PLAYERLIST_authed[i] == 1) {
            // Was loggedin, so save the data!
                udb_setAccState(PlayerName(i),GetPlayerMoney(i));
                new Float:health;
                GetPlayerHealth(i, health);
                udb_setHealth(PlayerName(i), health);
                udb_setGasoline(PlayerName(i), Petrol[i]);
                udb_setProf(PlayerName(i), Profissao[i]);
                printf("Dados de %s (ID: %d) salvos com sucesso\n",PlayerName(i),i);
            }
        }
    }
    print("Saindo do GameMode Caminhoneiros");
    return 1;
}
Erro: error 017: undefined symbol "udb_setAccState"

oq pode ser? ajudem..


Re: error 017: undefined symbol "udb_setAccState" - duuuwh - 04.10.2012

alguem arruma?

por favor..