Beiträge von XFire-GermanReallife

    C:\Users\MaX\Desktop\GTA-SaMp\General\Server\Server\gamemodes\GTR.pwn(3795) : error 017: undefined symbol "PlayAudioStreamForPlayer"
    C:\Users\MaX\Desktop\GTA-SaMp\General\Server\Server\gamemodes\GTR.pwn(4501) : error 033: array must be indexed (variable "MoneySpam")
    C:\Users\MaX\Desktop\GTA-SaMp\General\Server\Server\gamemodes\GTR.pwn(5728) : error 017: undefined symbol "StopAudioStreamForPlayer"
    C:\Users\MaX\Desktop\GTA-SaMp\General\Server\Server\gamemodes\GTR.pwn(8833) : error 017: undefined symbol "StopAudioStreamForPlayer"
    C:\Users\MaX\Desktop\GTA-SaMp\General\Server\Server\gamemodes\GTR.pwn(49128) : error 017: undefined symbol "PlayAudioStreamForPlayer"
    C:\Users\MaX\Desktop\GTA-SaMp\General\Server\Server\gamemodes\GTR.pwn(49133) : error 017: undefined symbol "PlayAudioStreamForPlayer"
    C:\Users\MaX\Desktop\GTA-SaMp\General\Server\Server\gamemodes\GTR.pwn(49138) : error 017: undefined symbol "PlayAudioStreamForPlayer"
    C:\Users\MaX\Desktop\GTA-SaMp\General\Server\Server\gamemodes\GTR.pwn(49143) : error 017: undefined symbol "PlayAudioStreamForPlayer"
    C:\Users\MaX\Desktop\GTA-SaMp\General\Server\Server\gamemodes\GTR.pwn(49148) : error 017: undefined symbol "PlayAudioStreamForPlayer"
    C:\Users\MaX\Desktop\GTA-SaMp\General\Server\Server\gamemodes\GTR.pwn(49153) : error 017: undefined symbol "PlayAudioStreamForPlayer"
    C:\Users\MaX\Desktop\GTA-SaMp\General\Server\Server\gamemodes\GTR.pwn(49158) : error 017: undefined symbol "PlayAudioStreamForPlayer"
    C:\Users\MaX\Desktop\GTA-SaMp\General\Server\Server\gamemodes\GTR.pwn(49163) : error 017: undefined symbol "PlayAudioStreamForPlayer"
    C:\Users\MaX\Desktop\GTA-SaMp\General\Server\Server\gamemodes\GTR.pwn(49168) : error 017: undefined symbol "PlayAudioStreamForPlayer"
    C:\Users\MaX\Desktop\GTA-SaMp\General\Server\Server\gamemodes\GTR.pwn(49173) : error 017: undefined symbol "PlayAudioStreamForPlayer"
    C:\Users\MaX\Desktop\GTA-SaMp\General\Server\Server\gamemodes\GTR.pwn(49178) : error 017: undefined symbol "PlayAudioStreamForPlayer"
    C:\Users\MaX\Desktop\GTA-SaMp\General\Server\Server\gamemodes\GTR.pwn(49183) : error 017: undefined symbol "PlayAudioStreamForPlayer"
    C:\Users\MaX\Desktop\GTA-SaMp\General\Server\Server\gamemodes\GTR.pwn(49188) : error 017: undefined symbol "StopAudioStreamForPlayer"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    17 Errors.


    Diese Errors bekomme ich raus, wenn ich mein Script compile... kann mir jemand helfen?
    wäre sehr nett.
    Danke

    Wenn ich compelliere bekomme ich das hier:



    C:\gamemodes\LosAngelesReallife.pwn(9337) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
    C:\gamemodes\LosAngelesReallife.pwn(12760) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
    C:\gamemodes\LosAngelesReallife.pwn(12915) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
    C:\gamemodes\LosAngelesReallife.pwn(34403) : warning 203: symbol is never used: "M_OnPlayerCommandText"
    C:\gamemodes\LosAngelesReallife.pwn(34403) : warning 203: symbol is never used: "M_OnPlayerDeath"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    3 Errors.

    Hi,
    Ich habe zwar ein Script, aber das Login register Sys funktioniert nicht richtig.
    hier die Zeilen:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    enum pInfo
    {
    pKey[128],
    pLevel,
    pHarndrang,
    pTabbak,
    pTsucht,
    pNeedT,
    [...]


    public PlayerUpdate(playerid)
    {
    if(IsPlayerConnected(playerid))
    {
    if(gPlayerLogged[playerid])
    {
    M_OnPlayerUpdate(playerid);
    new string3[64];
    new playername3[MAX_PLAYER_NAME];
    GetPlayerName(playerid, playername3, sizeof(playername3));
    format(string3, sizeof(string3), "/Accounts/%s.ini", playername3);
    new File: hFile = fopen(string3, io_write);
    if (hFile)
    {
    new var[32];
    PlayerInfo[playerid][pCash] = GetPlayerMoney(playerid);
    format(var, 32, "Key=%s\n", PlayerInfo[playerid][pKey]);fwrite(hFile, var);
    format(var, 32, "Hunger=%d\n", PlayerInfo[playerid][pHunger]);fwrite(hFile, var);
    format(var, 32, "Level=%d\n",PlayerInfo[playerid][pLevel]);fwrite(hFile, var);
    format(var, 32, "Harndrang=%d\n",PlayerInfo[playerid][pHarndrang]);fwrite(hFile, var);
    format(var, 32, "AdminLevel=%d\n",PlayerInfo[playerid][pAdmin]);fwrite(hFile, var);
    format(var, 32, "DonateRank=%d\n",PlayerInfo[playerid][pDonateRank]);fwrite(hFile, var);
    format(var, 32, "ConnectedTime=%d\n",PlayerInfo[playerid][pConnectTime]);fwrite(hFile, var);
    format(var, 32, "Registered=%d\n",PlayerInfo[playerid][pReg]);fwrite(hFile, var);
    format(var, 32, "Sex=%d\n",PlayerInfo[playerid][pSex]);fwrite(hFile, var);
    format(var, 32, "Age=%d\n",PlayerInfo[playerid][pAge]);fwrite(hFile, var);
    format(var, 32, "Origin=%d\n",PlayerInfo[playerid][pOrigin]);fwrite(hFile, var);
    format(var, 32, "CK=%d\n",PlayerInfo[playerid][pCK]);fwrite(hFile, var);



    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


    public OnPlayerRegister(playerid, password[])
    {
    if(IsPlayerConnected(playerid))
    {
    new string3[64];
    new playername3[MAX_PLAYER_NAME];
    GetPlayerName(playerid, playername3, sizeof(playername3));
    format(string3, sizeof(string3), "/Accounts/%s.ini", playername3);
    new File: hFile = fopen(string3, io_write);
    if (hFile)
    {
    strmid(PlayerInfo[playerid][pKey], password, 0, strlen(password), 255);
    new var[32];
    format(var, 32, "Key=%s\n", PlayerInfo[playerid][pKey]);fwrite(hFile, var);
    PlayerInfo[playerid][pCash] = GetPlayerMoney(playerid);
    format(var, 32, "NeedSex=%d\n",PlayerInfo[playerid][pNeedSex]);fwrite(hFile, var);
    format(var, 32, "Durst=%d\n",PlayerInfo[playerid][pDurst]);fwrite(hFile, var);
    format(var, 32, "Ban=%d\n",PlayerInfo[playerid][pBan]);fwrite(hFile, var);
    format(var, 32, "Level=%d\n",PlayerInfo[playerid][pLevel]);fwrite(hFile, var);
    format(var, 32, "Harndrang=%d\n",PlayerInfo[playerid][pHarndrang]);fwrite(hFile, var);
    format(var, 32, "AdminLevel=%d\n",PlayerInfo[playerid][pAdmin]);fwrite(hFile, var);
    format(var, 32, "DonateRank=%d\n",PlayerInfo[playerid][pDonateRank]);fwrite(hFile, var);
    format(var, 32, "ConnectedTime=%d\n",PlayerInfo[playerid][pConnectTime]);fwrite(hFile, var);
    format(var, 32, "Registered=%d\n",PlayerInfo[playerid][pReg]);fwrite(hFile, var);
    format(var, 32, "Sex=%d\n",PlayerInfo[playerid][pSex]);fwrite(hFile, var);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



    public OnPlayerLogin(playerid,password[])
    {
    new tmp2[256];
    new string2[128];
    new playername2[MAX_PLAYER_NAME];
    GetPlayerName(playerid, playername2, sizeof(playername2));
    format(string2, sizeof(string2), "/Accounts/%s.ini", playername2);
    new File: UserFile = fopen(string2, io_read);
    if ( UserFile )
    {
    new PassData[256];
    new keytmp[256], valtmp[256];
    fread( UserFile , PassData , sizeof( PassData ) );
    keytmp = ini_GetKey( PassData );
    if( strcmp( keytmp , "Key" , true ) == 0 )
    {
    valtmp = ini_GetValue( PassData );
    strmid(PlayerInfo[playerid][pKey], valtmp, 0, strlen(valtmp)-1, 255);
    }
    if(strcmp(PlayerInfo[playerid][pKey],password, true ) == 0 )
    {
    new key[ 256 ] , val[ 256 ];
    new Data[ 256 ];
    while ( fread( UserFile , Data , sizeof( Data ) ) )
    {
    key = ini_GetKey( Data );


    if( strcmp( key , "Level" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLevel] = strval( val ); }
    if( strcmp( key , "AdminLevel" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAdmin] = strval( val ); }
    if( strcmp( key , "DonateRank" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDonateRank] = strval( val ); }
    if( strcmp( key , "ConnectedTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pConnectTime] = strval( val ); }
    if( strcmp( key , "Registered" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pReg] = strval( val ); }
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Habe mal alles wo der Key drinnen ist gepostet.
    Das Problem ist das Password.
    Es wird richtig gespeichert aber nach nem Restart oder nach nem neuconnect ist es weg und man kommt mit allem oder nix rein...
    Hoffe mir kann jemand helfen.