Beiträge von |SLoD|galer09

    so jetzt sind es noch 4 errors


    C:\Users\Marco\Desktop\Backup2.pwn(5007) : error 004: function "OOCOff" is not implemented
    C:\Users\Marco\Desktop\Backup2.pwn(5007) : error 029: invalid expression, assumed zero
    C:\Users\Marco\Desktop\Backup2.pwn(5007) : error 029: invalid expression, assumed zero
    C:\Users\Marco\Desktop\Backup2.pwn(5007) : fatal error 107: too many error messages on one line


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    4 Errors.


    public Lotto(number)
    {
    new JackpotFallen = 0;
    new string[128];
    new winner[MAX_PLAYER_NAME];
    format(string, sizeof(string), "Lotterie News: Die heutige Gewinnnummer: %d.", number);
    format(string, sizeof(string), "Lotterie News: ~n~ Heutige Nummer: ~p~ %d", number);
    GameTextForAll(string, 4000, 6);
    for(new i = 0; i < MAX_PLAYERS; i++)
    OOCOff(COLOR_WHITE,const string[]);
    {



    so und jetzt ??? ?( ?( ?( ?(


    BRAUCHE BITTE DRINGEND HILFE!!!!


    kann denn keiner helfen!!??
    wie schön das keiner hilft egal //closed


    //edit text
    //edit² text
    //edit³ text


    vote for //closed
    MFG galer09

    so das sind die errors


    C:\Users\Marco\Desktop\SAMP\0.3c\pawno\include\streamer.inc(449) : warning 202: number of arguments does not match definition
    C:\Users\Marco\Desktop\Backup2.pwn(5007) : error 017: undefined symbol "OOCOff"
    C:\Users\Marco\Desktop\Backup2.pwn(5021) : error 017: undefined symbol "OOCOff"
    C:\Users\Marco\Desktop\Backup2.pwn(5041) : error 004: function "SaveStuff" is not implemented
    C:\Users\Marco\Desktop\Backup2.pwn(5043) : warning 217: loose indentation
    C:\Users\Marco\Desktop\Backup2.pwn(5043) : error 017: undefined symbol "OOCOff"
    C:\Users\Marco\Desktop\Backup2.pwn(5049) : error 004: function "SaveStuff" is not implemented
    C:\Users\Marco\Desktop\Backup2.pwn(5051) : warning 217: loose indentation
    C:\Users\Marco\Desktop\Backup2.pwn(5051) : error 017: undefined symbol "OOCOff"
    C:\Users\Marco\Desktop\Backup2.pwn(5074) : error 012: invalid function call, not a valid address
    C:\Users\Marco\Desktop\Backup2.pwn(5074) : error 029: invalid expression, assumed zero
    C:\Users\Marco\Desktop\Backup2.pwn(5074) : error 029: invalid expression, assumed zero
    C:\Users\Marco\Desktop\Backup2.pwn(5074) : fatal error 107: too many error messages on one line


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    10 Errors.


    so und die zeilen


    public Lotto(number)
    {
    new JackpotFallen = 0;
    new string[128];
    new winner[MAX_PLAYER_NAME];
    format(string, sizeof(string), "Lotterie News: Die heutige Gewinnnummer: %d.", number);
    OOCOff(COLOR_WHITE, string);
    format(string, sizeof(string), "Lotterie News: ~n~ Heutige Nummer: ~p~ %d", number);
    GameTextForAll(string, 4000, 6);
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i))
    {
    if(PlayerInfo[i][pLottoNr] > 0)
    {
    if(PlayerInfo[i][pLottoNr] == number)
    {
    JackpotFallen = 1;
    GetPlayerName(i, winner, sizeof(winner));
    format(string, sizeof(string), "Lotterie News: %s hat den Jackpot von $%d gewonnen!", winner, Jackpot);
    OOCOff(TEAM_CYAN_COLOR, string);
    format(string, sizeof(string), "* Du gewinnst $%d mit Deinem Lottolos!", Jackpot);
    SendClientMessage(i, COLOR_WHITE, string);
    format(string, sizeof(string), "~g~~h~~h~Gewinnt die Lotterie!!! ~n~~g~$%d !! ~n~~n~~n~~p~Glueckwunsch!!!!", Jackpot);
    GameTextForPlayer(i, string, 5000, 3);
    //ConsumingMoney[i] = 1;
    GivePlayerMoney(i, Jackpot);
    }
    else
    {
    SendClientMessage(i, COLOR_WHITE, "Leider hast Du diesmal nichts gewonnen!");
    }
    }
    PlayerInfo[i][pLottoNr] = 0;
    }
    }
    if(JackpotFallen)
    {
    new rand = random(10000); rand += 5789;
    Jackpot = rand;
    SaveStuff();
    format(string, sizeof(string), "Lotterie News: Der neue Jackpot startet mit $%d.", Jackpot);
    OOCOff(COLOR_WHITE, string);
    }
    else
    {
    new rand = random(5000); rand += 2158;
    Jackpot += rand;
    SaveStuff();
    format(string, sizeof(string), "Lotterie News: Der Jackpot wurde auf $%d erhöht.", Jackpot);
    OOCOff(COLOR_WHITE, string);
    }
    return 1;
    }


    //------------------------------------------------------------------------------------------------------
    public OnPlayerDisconnect(playerid, reason)
    {
    new textreason[64];
    new plname[24];
    GetPlayerName(playerid, plname, sizeof(plname));
    new playersip[24];
    GetPlayerIp(playerid, playersip, sizeof(playersip));
    new string2[128];
    if(PlayerInfo[playerid][pAdminDuty] == 1)
    {
    ResetPlayerWeapons(playerid);
    }
    if(Searching[playerid] == 1)
    {
    RemovePlayerMapIcon(playerid, 500 + playerid);
    Searching[playerid] = 0;
    }
    if(Tazer[playerid] == 1) (GivePlayerWeapon(playerid, 24, PreTazerAmmo(playerid));
    {
    Delete3DTextLabel(DutyLabel(playerid));
    gActivePlayers[playerid]--;
    numplayers--;
    RemovePlayerMapIcon(playerid, 37 + playerid);
    TextDrawDestroy(Textdraw54[playerid]);
    TextDrawDestroy(Textdraw53[playerid]);
    TextDrawDestroy(Textdraw52[playerid]);
    TextDrawDestroy(Textdraw51[playerid]);
    TextDrawDestroy(Textdraw49[playerid]);
    TextDrawDestroy(Textdraw42[playerid]);
    TextDrawDestroy(Textdraw41[playerid]);
    TextDrawDestroy(Textdraw40[playerid]);
    TextDrawDestroy(Textdraw39[playerid]);
    TextDrawDestroy(Textdraw1[playerid]);
    KillTimer(TrainTimer[playerid]);
    KillTimer(MoneyTimer[playerid]);
    if(IsPlayerInEVehicle[playerid] != 9999)
    }
    {
    new i = IsPlayerInEVehicle[playerid];
    Seats[i] --;
    }
    new string[24];
    new d,m,y,h,mi,s;
    getdate(y,m,d);


    bitte helft mir



    MFG galer09


    //edit text
    //edit pwn text

    C:\Users\Marco\Desktop\SAMP\0.3c\pawno\include\streamer.inc(449) : warning 202: number of arguments does not match definition
    C:\Users\Marco\Desktop\Backup2.pwn(5050) : error 004: function "OOCOFF" is not implemented
    C:\Users\Marco\Desktop\Backup2.pwn(5051) : warning 217: loose indentation
    C:\Users\Marco\Desktop\Backup2.pwn(5051) : error 079: inconsistent return types (array & non-array)
    C:\Users\Marco\Desktop\Backup2.pwn(5055) : warning 217: loose indentation
    C:\Users\Marco\Desktop\Backup2.pwn(5055) : error 029: invalid expression, assumed zero
    C:\Users\Marco\Desktop\Backup2.pwn(5055) : error 004: function "Streamer_OnPlayerDisconnect" is not implemented
    C:\Users\Marco\Desktop\Backup2.pwn(5059) : error 017: undefined symbol "playerid"
    C:\Users\Marco\Desktop\Backup2.pwn(5061) : error 017: undefined symbol "playerid"
    C:\Users\Marco\Desktop\Backup2.pwn(5063) : error 017: undefined symbol "playerid"
    C:\Users\Marco\Desktop\Backup2.pwn(5065) : error 004: function "SafeResetPlayerWeapons" is not implemented
    C:\Users\Marco\Desktop\Backup2.pwn(5067) : error 017: undefined symbol "playerid"
    C:\Users\Marco\Desktop\Backup2.pwn(5069) : error 017: undefined symbol "playerid"
    C:\Users\Marco\Desktop\Backup2.pwn(5070) : error 017: undefined symbol "playerid"
    C:\Users\Marco\Desktop\Backup2.pwn(5072) : error 017: undefined symbol "playerid"
    C:\Users\Marco\Desktop\Backup2.pwn(5072) : error 004: function "SafeGivePlayerWeapon" is not implemented
    C:\Users\Marco\Desktop\Backup2.pwn(5072) : error 001: expected token: ")", but found ";"
    C:\Users\Marco\Desktop\Backup2.pwn(5072) : fatal error 107: too many error messages on one line


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    15 Errors.



    public Lotto(number)
    {
    new JackpotFallen = 0;
    new string[128];
    new winner[MAX_PLAYER_NAME];
    format(string, sizeof(string), "Lotterie News: Die heutige Gewinnnummer: %d.", number);
    format(string, sizeof(string), "Lotterie News: ~n~ Heutige Nummer: ~p~ %d", number);
    GameTextForAll(string, 4000, 6);
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i))
    {
    if(PlayerInfo[i][pLottoNr] > 0)
    {
    if(PlayerInfo[i][pLottoNr] == number)
    {
    JackpotFallen = 1;
    GetPlayerName(i, winner, sizeof(winner));
    format(string, sizeof(string), "Lotterie News: %s hat den Jackpot von $%d gewonnen!", winner, Jackpot);

    format(string, sizeof(string), "* Du gewinnst $%d mit deinem Ticket!", Jackpot);
    SendClientMessage(i, COLOR_WHITE, string);
    format(string, sizeof(string), "~g~~h~~h~Gewinnt die Lotterie!!! ~n~~g~$%d !! ~n~~n~~n~~p~Glueckwunsch!!!!", Jackpot);
    GameTextForPlayer(i, string, 5000, 3);
    //ConsumingMoney[i] = 1;

    }
    else
    {
    SendClientMessage(i, COLOR_WHITE, "Leider hast du diesmal nichts gewonnen, viel Glück weiterhin!");
    }
    }
    PlayerInfo[i][pLottoNr] = 0;
    }
    }
    if(JackpotFallen)
    {
    new rand = random(10000); rand += 5789;
    Jackpot = rand;

    format(string, sizeof(string), "Lotterie News: Der neue Jackpot startet mit $%d.", Jackpot);

    }
    else
    {
    new rand = random(5000); rand += 2158;
    Jackpot += rand;

    format(string, sizeof(string), "Lotterie News: Der Jackpot wurde auf $%d erhöht.", Jackpot);
    OOCOFF(COLOR_WHITE, string);
    return 1;
    }


    //------------------------------------------------------------------------------------------------------
    public OnPlayerDisconnect(playerid, reason)
    {
    new textreason[64];
    new plname[24];
    GetPlayerName(playerid, plname, sizeof(plname));
    new playersip[24];
    GetPlayerIp(playerid, playersip, sizeof(playersip));
    new string2[128];
    if(PlayerInfo[playerid][pAdminDuty] == 1)
    {
    SafeResetPlayerWeapons(playerid);
    }
    if(Searching[playerid] == 1)
    {
    RemovePlayerMapIcon(playerid, 500 + playerid);
    Searching[playerid] = 0;
    }
    if(Tazer[playerid] == 1) { (SafeGivePlayerWeapon(playerid, 24, PreTazerAmmo[playerid]); }
    Delete3DTextLabel(DutyLabel(playerid));
    gActivePlayers[playerid]--;
    numplayers--;


    //edit text

    allso ich habe 10 errors und weiß nicht weiter bitte helft mir




    C:\Users\Marco\Desktop\SAMP\0.3c\pawno\include\streamer.inc(449) : warning 202: number of arguments does not match definition
    C:\Users\Marco\Desktop\Backup2.pwn(5050) : error 004: function "OOCOFF" is not implemented
    C:\Users\Marco\Desktop\Backup2.pwn(5051) : warning 217: loose indentation
    C:\Users\Marco\Desktop\Backup2.pwn(5051) : error 079: inconsistent return types (array & non-array)
    C:\Users\Marco\Desktop\Backup2.pwn(5055) : warning 217: loose indentation
    C:\Users\Marco\Desktop\Backup2.pwn(5055) : error 029: invalid expression, assumed zero
    C:\Users\Marco\Desktop\Backup2.pwn(5055) : error 004: function "Streamer_OnPlayerDisconnect" is not implemented
    C:\Users\Marco\Desktop\Backup2.pwn(5059) : error 017: undefined symbol "playerid"
    C:\Users\Marco\Desktop\Backup2.pwn(5061) : error 017: undefined symbol "playerid"
    C:\Users\Marco\Desktop\Backup2.pwn(5063) : error 012: invalid function call, not a valid address
    C:\Users\Marco\Desktop\Backup2.pwn(5063) : error 017: undefined symbol "playerid"
    C:\Users\Marco\Desktop\Backup2.pwn(5063) : error 029: invalid expression, assumed zero
    C:\Users\Marco\Desktop\Backup2.pwn(5063) : fatal error 107: too many error messages on one line


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    10 Errors.




    das steht in den zeilen



    if(JackpotFallen)
    {
    new rand = random(10000); rand += 5789;
    Jackpot = rand;

    format(string, sizeof(string), "Lotterie News: Der neue Jackpot startet mit $%d.", Jackpot);

    }
    else
    {
    new rand = random(5000); rand += 2158;
    Jackpot += rand;

    format(string, sizeof(string), "Lotterie News: Der Jackpot wurde auf $%d erhöht.", Jackpot);
    OOCOFF(COLOR_WHITE, string);
    return 1;
    }


    //------------------------------------------------------------------------------------------------------
    public OnPlayerDisconnect(playerid, reason)
    {
    new textreason[64];
    new plname[24];
    GetPlayerName(playerid, plname, sizeof(plname));
    new playersip[24];
    GetPlayerIp(playerid, playersip, sizeof(playersip));
    new string2[128];
    if(PlayerInfo(playerid)(pAdminDuty) == 1)
    {


    MFG galer09


    //edit Text 4x
    //edit PWN Text

    und zwar


    ich habe bei meinen script stehen


    #include <stremer>


    dann kommt


    C:\Users\Marco\Desktop\Backup2.pwn(9) : fatal error 100: cannot read from file: "stremer"


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.


    aber wenn ich rein schreibe


    #include <streamer>


    hängt sich pawno compiler auf und beendet sich automatsich!!


    WAS soll ich tun!!??



    //edit: text