Beiträge von DerCooper

    Hi Leute,
    hab ein Problem. Ich habe heute mein Laptop gestartet und wollte auf ein SA:MP Server. Im SA:MP Server wollte ich los laufen, aber nach ca. 3 Sekunden lauf ist das Bild eingehangen.
    Was soll ich tun? Ich habe am Vortag NICHTS umgestellt oder Tastenkombinationen benutzt!


    Was hab ich bis jetzt versucht?:
    -Relogg
    -Laptop heruterfahren und hochfahren
    -Laptop neustarten
    -Laptop ausschalten, Akku raus, Einschaltknopf 2-3 Sek halten, alles einbauen und anschalten (stand bei google)
    -Treiber aktualisieren
    //EDIT: -GTA Neuinstallation


    Betriebssystem:


    Windows 7 Home Premium
    Hersteller: Acer
    Modell: Aspire 7560G
    Prozessor: AMD A4-3300MP APU with Radeon(tm) HD Graphics 1.90 GHz
    RAM: 4,00 GB (3,48 GB verwendbar)
    Systemtyp: 64 Bit



    //EDIT: Auf dem Desktop geht alles ohne Problem!

    ----------
    Loaded log file: "server_log.txt".
    ----------


    SA-MP Dedicated Server
    ----------------------
    v0.3x, (C)2005-2013 SA-MP Team


    [21:47:24] filterscripts = "" (string)
    [21:47:24]
    [21:47:24] Server Plugins
    [21:47:24] --------------
    [21:47:24] Loading plugin: streamer
    [21:47:24]


    *** Streamer Plugin v2.6.1 by Incognito loaded ***


    [21:47:24] Loaded.
    [21:47:24] Loaded 1 plugins.


    [21:47:25] I couldn't load any gamemode scripts. Please verify your server.cfg
    [21:47:25] It needs a gamemode0 line at the very least.


    Ich habe den Streamer von dem Link: https://code.google.com/p/samp…mer-plugin/downloads/list Den Ersten, ist der richtig?

    Wie oben genannt startet der Server nicht, woran kann das liegen? Hier der Serverlog:



    Serverlog:
    ----------
    Loaded log file: "server_log.txt".
    ----------


    SA-MP Dedicated Server
    ----------------------
    v0.3x, (C)2005-2013 SA-MP Team


    [21:25:16] filterscripts = "" (string)
    [21:25:16]
    [21:25:16] Server Plugins
    [21:25:16] --------------
    [21:25:16] Loading plugin: streamer
    [21:25:16]


    *** Streamer Plugin v2.6.1 by Incognito loaded ***


    [21:25:16] Loaded.
    [21:25:16] Loaded 1 plugins.


    [21:25:16]
    [21:25:16] Filterscripts
    [21:25:16] ---------------
    [21:25:16] Loaded 0 filterscripts.


    [21:25:16] *** Streamer Plugin: Warning: Obsolete or invalid native "Streamer_RegisterInterface" found (script might need to be recompiled with the latest include file)
    [21:25:16] *** Streamer Plugin: Warning: Obsolete or invalid native "Streamer_AddPlayer" found (script might need to be recompiled with the latest include file)
    [21:25:16] *** Streamer Plugin: Warning: Obsolete or invalid native "Streamer_RemovePlayer" found (script might need to be recompiled with the latest include file)
    [21:25:16] *** Streamer Plugin: Warning: Obsolete or invalid native "Streamer_VerifyPickup" found (script might need to be recompiled with the latest include file)
    [21:25:16] *** Streamer Plugin: Warning: Obsolete or invalid native "Streamer_VerifyCheckpoint" found (script might need to be recompiled with the latest include file)
    [21:25:16] *** Streamer Plugin: Warning: Include file version (unknown version) does not match plugin version (0x26105) (script might need to be recompiled with the latest include file)
    [21:25:16] Script[gamemodes/serious.amx]: Run time error 19: "File or function is not found"
    [21:25:16] Number of vehicle models: 0



    DAS WAR ZU ERST, NACH DEM ICH DEN STREAMER (DEN SELBEN) NEU INSTALIERT HABE, KAM DAS UNTER DEM WORT: "HIER:"




    ----------
    Loaded log file: "server_log.txt".
    ----------


    SA-MP Dedicated Server
    ----------------------
    v0.3x, (C)2005-2013 SA-MP Team


    [21:31:05] filterscripts = "" (string)
    [21:31:05]
    [21:31:05] Server Plugins
    [21:31:05] --------------
    [21:31:05] Loading plugin: streamer
    [21:31:05]


    *** Streamer Plugin v2.6.1 by Incognito loaded ***


    [21:31:05] Loaded.
    [21:31:05] Loaded 1 plugins.


    [21:31:05] I couldn't load any gamemode scripts. Please verify your server.cfg
    [21:31:05] It needs a gamemode0 line at the very least.




    In der server.cfg steht aber dies:


    echo Executing Server Config...
    lanmode 0
    rcon_password ///
    maxplayers 25
    port 7777
    hostname [0.3x] /// [GER]
    gamemode0 serious1
    filterscripts
    announce 0
    query 1
    chatlogging 0
    weburl ///
    onfoot_rate 40
    incar_rate 40
    weapon_rate 40
    stream_distance 300.0
    stream_rate 1000
    maxnpc 0
    logtimeformat [%H:%M:%S]
    plugins streamer


    DIE "///" STEHEN DORT NICHT WIRKLICH! :D


    Was ist falsch? Was machen?




    Die Errors im Script sind diese:


    C:\Users\ziegler\Desktop\SA-MP Server\pawno\include\streamer.inc(155) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
    C:\Users\ziegler\Desktop\SA-MP Server\pawno\include\streamer.inc(236) : error 017: undefined symbol "MAPICON_LOCAL"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase




    2 Errors.

    Hi, also ich habe den /createcar Befehl gemacht:



    ocmd:createcar(playerid, params[])
    {
    if(Spieler[playerid][sAdmin] < 1)return NoAdmin(playerid, 1);
    new model, Float:X, Float:Y, Float:Z, Float:A;
    if(sscanf(params, "d", model))return ERROR(playerid, "Benutzung: /createcar [Model]");
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, A);
    CreateVehicle(model, X, Y, Z, A, -1, -1, -1);
    return 1;
    }
    Aber wenn ich das mache, spawnt das Car AUF mir. Wie kann ich das machen, damit man IM Car spawnt???

    strmid(Blacklist[mafid][user10],"Niemand",0,strlen("Niemand"),255);



    if(strcmp(cmd, "/clearblacklist", true) == 0 || strcmp(cmd, "/clearbl", true) == 0)
    {
    new mafid = GetPlayerMafia(playerid);
    if(PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pLeader] == 6 ||PlayerInfo[playerid][pLeader] == 12|| PlayerInfo[playerid][pLeader] == 13 ||PlayerInfo[playerid][pLeader] == 14|| PlayerInfo[playerid][pLeader] == 15 ||PlayerInfo[playerid][pLeader] == 16|| PlayerInfo[playerid][pLeader] == 17 ||PlayerInfo[playerid][pLeader] == 18||PlayerInfo[playerid][pLeader] == 19||PlayerInfo[playerid][pLeader] == 23)
    {
    strmid(Blacklist[mafid][user10],"Niemand",0,strlen("Niemand"),255);
    strmid(Blacklist[mafid][user9],"Niemand",0,strlen("Niemand"),255);
    strmid(Blacklist[mafid][user8],"Niemand",0,strlen("Niemand"),255);
    strmid(Blacklist[mafid][user7],"Niemand",0,strlen("Niemand"),255);
    strmid(Blacklist[mafid][user6],"Niemand",0,strlen("Niemand"),255);
    strmid(Blacklist[mafid][user5],"Niemand",0,strlen("Niemand"),255);
    strmid(Blacklist[mafid][user4],"Niemand",0,strlen("Niemand"),255);
    strmid(Blacklist[mafid][user3],"Niemand",0,strlen("Niemand"),255);
    strmid(Blacklist[mafid][user2],"Niemand",0,strlen("Niemand"),255);
    strmid(Blacklist[mafid][user1],"Niemand",0,strlen("Niemand"),255);
    SendClientMessage(playerid,COLOR_YELLOW,"Blacklist gecleart");
    }
    }



    Danke Music4You, jetzt sind immernoch paar (naja, 26 errors) da.


    Errors:


    C:\Users\ziegler\Desktop\Samp Server\pawno\include\JunkBuster.inc(3250) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
    C:\Users\ziegler\Desktop\Samp Server\pawno\include\ocmd.inc(36) : warning 201: redefinition of constant/macro (symbol "OnPlayerCommandText")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16246) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16251) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16256) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16261) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16266) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16271) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16276) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16281) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16286) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16291) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16296) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16301) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16305) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29276) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29277) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29278) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29279) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29280) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29281) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29282) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29283) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29284) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29310) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29311) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29312) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29313) : error 032: array index out of bounds (variable "Blacklist")


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



    26 Errors.




    Wegen den mysql_query:



    stock SpielerSpeichern(playerid)
    {
    if(IsPlayerConnected(playerid) && !IsPlayerNPC(playerid))
    {
    if(gPlayerLogged[playerid] == 1)
    {
    new query[2048];

    format(query, sizeof(query), "UPDATE `accounts` SET `Level` = '%d',`AdminLevel` = '%d',`Supporter` = '%d',`DonateRank` = '%d',`UpgradePoints` = '%d',`ConnectedTime` = '%d',`Registered` = '%d',`Sex` = '%d',`Alter` = '%d',`Origin` = '%d' WHERE `Name` = '%s'",
    PlayerInfo[playerid][pLevel],PlayerInfo[playerid][pAdmin],PlayerInfo[playerid][pSupporter],PlayerInfo[playerid][pVIP],PlayerInfo[playerid][gPupgrade],
    PlayerInfo[playerid][pConnectTime],PlayerInfo[playerid][pReg],PlayerInfo[playerid][pSex],PlayerInfo[playerid][pAge],PlayerInfo[playerid][pOrigin],PlayerInfo[playerid][pName]);
    mysql_query(query);

    format(query, sizeof(query), "UPDATE `accounts` SET `CK` = '%d',`Muted` = '%d',`Respekt` = '%d',`Geld` = '%d',`Bank` = '%d',`Kredit` = '%d',`KreditDauer` = '%d',`Verbrechen` = '%d',`Kills` = '%d',`Deaths` = '%d' WHERE `Name` = '%s'",
    PlayerInfo[playerid][pCK],PlayerInfo[playerid][pMuted],PlayerInfo[playerid][pExp],GetPlayerMoney(playerid),PlayerInfo[playerid][pAccount],
    PlayerInfo[playerid][pPlayerKredit],PlayerInfo[playerid][pPlayerKreditDauer],PlayerInfo[playerid][pCrimes],PlayerInfo[playerid][pKills],PlayerInfo[playerid][pDeaths],PlayerInfo[playerid][pName]);
    mysql_query(query);

    format(query, sizeof(query), "UPDATE `accounts` SET `WantedDeaths` = '%d',`Telefonbuch` = '%d',`LottoNr` = '%d',`Fische` = '%d',`BiggestFish` = '%d',`Job` = '%d',`PayCheck` = '%d',`Jailed` = '%d',`GangJailed` = '%d',`Mauled` = '%d' WHERE `Name` = '%s'",
    PlayerInfo[playerid][pWantedDeaths],PlayerInfo[playerid][pPhoneBook],PlayerInfo[playerid][pLottoNr],PlayerInfo[playerid][pFishes],PlayerInfo[playerid][pBiggestFish],
    PlayerInfo[playerid][pJob],PlayerInfo[playerid][pPayCheck],PlayerInfo[playerid][pJailed],PlayerInfo[playerid][pGangJailed],PlayerInfo[playerid][pMauled],PlayerInfo[playerid][pName]);
    mysql_query(query);

    format(query, sizeof(query), "UPDATE `accounts` SET `JailTime` = '%d',`Material` = '%d',`Drogen` = '%d',`BMaterial` = '%d',`BDrogen` = '%d',`Leader` = '%d',`Member` = '%d',`FMember` = '%d',`Rank` = '%d',`Char` = '%d' WHERE `Name` = '%s'",
    PlayerInfo[playerid][pJailTime],PlayerInfo[playerid][pMats],PlayerInfo[playerid][pDrugs],PlayerInfo[playerid][pBoxMats],PlayerInfo[playerid][pBoxDrugs],
    PlayerInfo[playerid][pLeader],PlayerInfo[playerid][pMember],PlayerInfo[playerid][pFMember],PlayerInfo[playerid][pRank],PlayerInfo[playerid][pChar],PlayerInfo[playerid][pName]);
    mysql_query(query);

    format(query, sizeof(query), "UPDATE `accounts` SET `ContractTime` = '%d',`Contract` = '%d',`DetSkill` = '%d',`LawSkill` = '%d',`PilotSkill` = '%d',`BusSkill` = '%d',`MechSkill` = '%d',`JackSkill` = '%d',`CarSkill` = '%d',`DrugsSkill` = '%d' WHERE `Name` = '%s'",
    PlayerInfo[playerid][pContractTime],PlayerInfo[playerid][pContract],PlayerInfo[playerid][pDetSkill],PlayerInfo[playerid][pLawSkill],PlayerInfo[playerid][pPilotSkill],
    PlayerInfo[playerid][pBusSkill],PlayerInfo[playerid][pMechSkill],PlayerInfo[playerid][pJackSkill],PlayerInfo[playerid][pCarSkill],PlayerInfo[playerid][pDrugsSkill],PlayerInfo[playerid][pName]);
    mysql_query(query);


    format(query, sizeof(query), "UPDATE `accounts` SET `CookSkill` = '%d',`SHealth` = '%d',`Health` = '%d',`Interior` = '%d',`Local` = '%d',`Team` = '%d',`Model` = '%d',`pPNumber` = '%d',`House` = '%d',`Bizz` = '%d' WHERE `Name` = '%s'",
    PlayerInfo[playerid][pCookSkill],PlayerInfo[playerid][pSHealth],PlayerInfo[playerid][pHealth],PlayerInfo[playerid][pInt],PlayerInfo[playerid][pLocal],
    PlayerInfo[playerid][pTeam],PlayerInfo[playerid][pModel],PlayerInfo[playerid][pPnumber],PlayerInfo[playerid][pPhousekey],PlayerInfo[playerid][pPbiskey],PlayerInfo[playerid][pName]);
    mysql_query(query);


    format(query, sizeof(query), "UPDATE `accounts` SET `HandyGeld` = '%d',`HandyVer` = '%d',`pPos_x` = '%d',`pPos_y` = '%d',`pPos_z` = '%d',`CarLic` = '%d',`NewLic` = '%d',`FlyLic` = '%d',`BoatLic` = '%d',`FishLic` = '%d' WHERE `Name` = '%s'",
    PlayerInfo[playerid][pHandyGeld],PlayerInfo[playerid][pHandyVer],PlayerInfo[playerid][pPos_x],PlayerInfo[playerid][pPos_y],PlayerInfo[playerid][pPos_z],
    PlayerInfo[playerid][pCarLic],PlayerInfo[playerid][pNewLic],PlayerInfo[playerid][pFlyLic],PlayerInfo[playerid][pBoatLic],PlayerInfo[playerid][pFishLic],PlayerInfo[playerid][pName]);
    mysql_query(query);


    format(query, sizeof(query), "UPDATE `accounts` SET `GunLic` = '%d',`LKWLic` = '%d',`RollerLic` = '%d',`MotoLic` = '%d',`Zig` = '%d',`Kekse` = '%d',`ZigSucht` = '%d',`CarTime` = '%d',`MullTime` = '%d',`PayDay` = '%d' WHERE `Name` = '%s'",
    PlayerInfo[playerid][pGunLic],PlayerInfo[playerid][pLKWLic],PlayerInfo[playerid][pRollerLic],PlayerInfo[playerid][pMotoLic],PlayerInfo[playerid][pZig],
    PlayerInfo[playerid][pKekse],PlayerInfo[playerid][pZigSucht],PlayerInfo[playerid][pCarTime],PlayerInfo[playerid][pMulltime],PlayerInfo[playerid][pPayDay],PlayerInfo[playerid][pName]);
    mysql_query(query);

    format(query, sizeof(query), "UPDATE `accounts` SET `PayDayHad` = '%d',`CDPlayer` = '%d',`Wins` = '%d',`Loses` = '%d',`AlcoholPerk` = '%d',`DrugPerk` = '%d',`MiserPerk` = '%d',`PainPerk` = '%d',`TraderPerk` = '%d',`Tutorial` = '%d' WHERE `Name` = '%s'",
    PlayerInfo[playerid][pPayDayHad],PlayerInfo[playerid][pCDPlayer],PlayerInfo[playerid][pWins],PlayerInfo[playerid][pLoses],PlayerInfo[playerid][pAlcoholPerk],
    PlayerInfo[playerid][pDrugPerk],PlayerInfo[playerid][pPainPerk],PlayerInfo[playerid][pMiserPerk],PlayerInfo[playerid][pTraderPerk],PlayerInfo[playerid][pTut],PlayerInfo[playerid][pName]);
    mysql_query(query);


    format(query, sizeof(query), "UPDATE `accounts` SET `Warns` = '%d',`Adjustable` = '%d',`Fuel` = '%d',`Married` = '%d',`MarriedTo` = '%d',`SpawnChange` = '%d',`WantedLevel` = '%d',`WantedPoints` = '%d',`PlayMinutes` = '%d',`GesamtMinutes` = '%d' WHERE `Name` = '%s'",
    PlayerInfo[playerid][pWarns],PlayerInfo[playerid][pAdjustable],PlayerInfo[playerid][pFuel],PlayerInfo[playerid][pMarried],PlayerInfo[playerid][pMarriedTo],
    SpawnChange[playerid],WantedLevel[playerid],WantedPoints[playerid],PlayerInfo[playerid][pPlayMinutes],PlayerInfo[playerid][pGesamtMinutes],PlayerInfo[playerid][pName]);
    mysql_query(query);

    format(query, sizeof(query), "UPDATE `accounts` SET `MinutesSinceAn` = '%d',`SFPass` = '%d',`LVPASS`= '%d',`OffFlucht` = '%d',`Knast` = '%d',`KnastTime`= '%d',`Handy` = '%d',`Uhr` = '%d',`Perso` = '%d',`FrakSperre` = '%d' WHERE `Name` = '%s'",
    PlayerInfo[playerid][pMinutesSinceAn],PlayerInfo[playerid][pSFPASS],PlayerInfo[playerid][pLVPASS],OfflineFlucht[playerid],Knast[playerid],
    KnastTime[playerid],PlayerInfo[playerid][pHandyID],PlayerInfo[playerid][pUhrID],PlayerInfo[playerid][pOwnPerso],PlayerInfo[playerid][pFrakSperre],PlayerInfo[playerid][pName]);
    mysql_query(query);

    format(query, sizeof(query), "UPDATE `accounts` SET `Gehalt` = '%d',`InvWeapon` = '%d',`InvAmmo` = '%d',`InvWeapon2` = '%d',`InvAmmo2` = '%d',`InvMats` = '%d',`InvDrugs` = '%d',`gDeaths` = '%d',`gKills` = '%d',`Meldung` = '%d' WHERE `Name` = '%s'",
    PlayerInfo[playerid][pGehalt],PlayerInfo[playerid][pInvWeapon],PlayerInfo[playerid][pInvAmmo],PlayerInfo[playerid][pInvWeapon2],PlayerInfo[playerid][pInvAmmo2],
    PlayerInfo[playerid][pInvMats],PlayerInfo[playerid][pInvDrugs],PlayerInfo[playerid][pGDeaths],PlayerInfo[playerid][pGKills],PlayerInfo[playerid][pMeldung],PlayerInfo[playerid][pName]);
    mysql_query(query);


    format(query, sizeof(query), "UPDATE `accounts` SET `Tanke` = '%d',`Zollpass` = '%d',`Zollpasstime` = '%d',`Banned` = '%d',`Paket` = '%d',`LPunkte` = '%d' WHERE `Name` = '%s'",
    PlayerInfo[playerid][pGehalt],PlayerInfo[playerid][pPtankekey],PlayerInfo[playerid][pZollPass],PlayerInfo[playerid][pZollPassTime],PlayerInfo[playerid][pGesperrt],PlayerInfo[playerid][pPaket],PlayerInfo[playerid][pLPunkte],PlayerInfo[playerid][pName]);
    mysql_query(query);

    printf("Spielerdaten vom Spieler %s erfolgreich in der Datenbank gespeichert.",SpielerName(playerid));
    }
    }
    return 1;
    }

    Ja, danke, aber jetzt sind andere gekommen, ich habe sie sicher außerhalb eines publics gemacht.


    Errors:
    C:\Users\ziegler\Desktop\Samp Server\pawno\include\JunkBuster.inc(3250) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
    C:\Users\ziegler\Desktop\Samp Server\pawno\include\ocmd.inc(36) : warning 201: redefinition of constant/macro (symbol "OnPlayerCommandText")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(482) : warning 201: redefinition of constant/macro (symbol "GREEN")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(488) : warning 201: redefinition of constant/macro (symbol "RED")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16246) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16251) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16256) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16261) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16266) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16271) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16276) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16281) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16286) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16291) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16296) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16301) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16305) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29276) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29277) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29278) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29279) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29280) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29281) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29282) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29283) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29284) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29310) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29311) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29312) : error 032: array index out of bounds (variable "Blacklist")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(29313) : error 032: array index out of bounds (variable "Blacklist")


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



    26 Errors.

    Das weiß ich selber nicht genau...
    Ich wollte das Script von hier testen: [ GAMEMODE ] NaMe oF LiFe || Reupload || + Control Panel (seit 21.7.13)
    Doch als ich es comilte kann dieser Error.
    Wenn ich die Zeile 44: #include <Desk> lösche, kommen diese Errors:
    C:\Users\ziegler\Desktop\Samp Server\pawno\include\JunkBuster.inc(3250) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
    C:\Users\ziegler\Desktop\Samp Server\pawno\include\ocmd.inc(36) : warning 201: redefinition of constant/macro (symbol "OnPlayerCommandText")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(482) : warning 201: redefinition of constant/macro (symbol "GREEN")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(488) : warning 201: redefinition of constant/macro (symbol "RED")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(955) : error 021: symbol already defined: "Blacklist"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16247) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16252) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16257) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16262) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16267) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16272) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16277) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16282) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16287) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16292) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16297) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16302) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(16306) : error 017: undefined symbol "mysql_query"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(17254) : error 017: undefined symbol "strtok"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(17254) : error 033: array must be indexed (variable "cmd")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(17559) : error 017: undefined symbol "strtok"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(17559) : error 033: array must be indexed (variable "tmp")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(17722) : error 017: undefined symbol "strtok"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(17722) : error 033: array must be indexed (variable "tmp")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(17869) : error 017: undefined symbol "strtok"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(17869) : error 033: array must be indexed (variable "x_job")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(18077) : error 017: undefined symbol "strtok"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(18077) : error 033: array must be indexed (variable "tmp")
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(18089) : error 017: undefined symbol "strtok"
    C:\Users\ziegler\Desktop\Server\gamemodes\Nol.pwn(18089) : error 033: array must be indexed (variable "tmp")


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



    26 Errors.




    Und ein danke an: Andezejxy'! Alle meine Links die ich hatte waren nicht mehr aktuell, sry.

    Also ich komme am Autohaus nicht weiter... Ich habe ein Tutorial befolgt und nun habe ich Errors und weiß nicht wie ich sie beheben soll.


    Hier ist das was mit dem Autohaus zutun hat:



    Oben im Script:

    enum Autohausinfo
    {
    Float:X,
    Float:Y,
    Float:Z,
    Float: SpawnX,
    Float: SpawnY,
    Float: SpawnZ,
    Float: SpawnA,
    Inhaber[MAX_PLAYER_NAME],
    Kasse
    }


    enum Autokauf
    {
    modelid,
    Name[40],
    Autohausname[60],
    Prei,
    Float: PosX,
    Float: PosY,
    Float: PosZ,
    Float: PosA,
    };


    new Autohaus[1][Autohausinfo] = {
    ("Serious-Autohaus",755.9205,-1361.6007,13.5138,750.7912,-1333.5479,13.5425,"Los Santos",0)
    };


    new AutosZumVerkauf[1][Autokauf] = {
    {560, "Sultan","Serious-Autohaus",12500,749.1084,-1333.6691,13.2648,182.2400
    }};


    new kaufauto[2];


    Unter "OnGameModeInit":




    //Autohäuser Pickups
    for(new i = 0; i < sizeof Autohaus; i++)
    {
    CreatePickup(pickupid,1,Autohaus[PosX],Autohaus[PosY],Autohaus[PosZ],-1);
    }

    //Autohäuser Autos
    for(new i = 0; i < sizeof AutosZumVerkauf; i++)
    {
    kaufauto = CreateVehicle[AutosZumVerkauf[modelid],AutosZumVerkauf[PosX],AutosZumVerkauf[PosY],AutosZumVerkauf[PosZ],-1,-1);
    }


    //Autohäuser

    for(new i =0; i < sizeof Autohaus; i++)
    {
    new Fahrzeugdatei[60];
    format(Fahrzeugdatei,sizeof(Fahrzeugdatei),"Autohaus/%s.ubu",Autohaus[Autohausname]);
    if(!dini_Exists(Fahrzeugdatei))
    {
    dini_Create(Fahrzeugdatei);
    dini_Set(Fahrzeugdatei,"Besitzer","Los Santos");
    dini_IntSet(Fahrzeugdatei,"Kasse",Autohaus[Kasse]);
    }
    Autohaus[Kasse] = dini_Int(Fahrzeugdatei,"Kasse");
    format(Autohaus[Besitzer],MAX_PLAYERNAME_NAME,dini_get(Fahrzeugdatei,"Besitzer");
    return 1;
    }



    Unter "OnGameModeExit":



    public OnGameModeExit()
    {
    for(new i =0; i < sizeof Autohaus; i++
    {
    new Fahrzeugdatei[60];
    format (Fahrzeugdatei,sizeof(Fahrzeugdateu),"Autohaus/%s.ini,Autohaus[Autohausname];
    dini_Set(Fahrzeugdatei,"Besitzer",Autohaus[Besitzer]);
    dini_Set(Fahrzeugdatei,"Kasse",Autohaus[Kasse]);
    }
    for(new i = 0; i < sizeof AutosZumVerkauf; i++)
    {
    DestroyVehicle(kaufauto;
    }
    return 1;
    }


    Unter OnPlayerConnect:



    for(new i = 0; i < 3; i++)
    {
    new Autodatei[80];
    format{Autodatei,sizeof(Autodatei,"/Autos/%sAuto%d.ini",GetName(playerid),i);
    if(dini_Exists(Autodatei))
    {
    Autos[playerid][modelid] = dini_Int(Autodatei,"modelid");
    Autos[playerid][Farbe1] = dini_Int(Autodatei,"Farbe1");
    Autos[playerid][Farbe2] = dini_Int(Autodatei,"Farbe2");
    Autos[playerid][HP] = dini_Int(Autodatei,"HP");
    Autos[playerid][Paintjob] = dini_Int(Autodatei,"Paintjob");
    Autos[playerid][Nummernschild] = dini_Int(Autodatei,"Nummernschild");
    Autos[playerid][PosX] = dini_Int(Autodatei,"PosX");
    Autos[playerid][PosY] = dini_Int(Autodatei,"PosY");
    Autos[playerid][PosZ] = dini_Int(Autodatei,"PosZ");
    Autos[playerid][PosA] = dini_Int(Autodatei,"PosA");
    Autos[playerid][Spoiler] = dini_Int(Autodatei,"Spoiler");
    Autos[playerid][Wheels] = dini_Int(Autodatei,"Wheels");
    Autos[playerid][Nitro] = dini_Int(Autodatei,"Nitro");
    Autos[playerid][Stereo] = dini_Int(Autodatei,"Stereo");
    Autos[playerid][Hydraulics] = dini_Int(Autodatei,"Hydraulics");
    Autos[playerid][FrontBumber] = dini_Int(Autodatei,"FrontBumber");
    Autos[playerid][RearBumber] = dini_Int(Autodatei,"RearBumber");
    Autos[playerid][VentRight] = dini_Int(Autodatei,"VentRight");
    Autos[playerid][Roof] = dini_Int(Autodatei,"Roof");
    Autos[playerid][Hood] = dini_Int(Autodatei,"Hood");
    Autos[playerid][Sideskirt] = dini_Int(Autodatei,"Sideskirt");
    Autos[playerid][Lamps] = dini_Int(Autodatei,"Lamps");
    Autos[playerid][Exhaust] = dini_Int(Autodatei,"Exhaust");
    Spielercar[playerid] = CreateVehicle(Autois[playerid][modelid],Autos[playerid][PosX],Autos[playerid][PosY],Autos[playerid][PosZ],Autos[playerid][PosA],Autos[playerid][Farbe1],Autos[playerid][Farbe2]);
    SetVehicleNumberPlate(Spielercar[playerid]dini_Int(Autodatei,"Nummernschild"));
    SetVehicleParamsForPlayer[Spielercar[playerid],playerid,0,0);


    if(Autos[playerid][Paintjob] > 0)
    {
    ChangeVehiclePaintjob(Spielercar[playerid][Paintjob]);
    }
    if(Autos[playerid][Spoiler] >= 1000)
    {
    AddVehicleComponent(Spielercar[playerid][Spoiler]);
    }


    if(Autos[playerid][Roof] >= 1000)
    {
    AddVehicleComponent(Spielercar[playerid][Roof]);
    }


    if(Autos[playerid][Sideskirt] >= 1000)
    {
    AddVehicleComponent(Spielercar[playerid][Sideskirt]);
    }


    if(Autos[playerid][Lamps] >= 1000)
    {
    AddVehicleComponent(Spielercar[playerid][Lamps]);
    }


    if(Autos[playerid][Nitro] >= 1000)
    {
    AddVehicleComponent(Spielercar[playerid][Nitro]);
    }


    if(Autos[playerid][Wheels] >= 1000)
    {
    AddVehicleComponent(Spielercar[playerid][Wheels]);
    }


    if(Autos[playerid][Exhaust] >= 1000)
    {
    AddVehicleComponent(Spielercar[playerid][Exhaust]);
    }


    if(Autos[playerid][Stereo] >= 1000)
    {
    AddVehicleComponent(Spielercar[playerid][Stereo]);
    }


    }
    }

    Die Errors: DIE [ i ]'s GEHÖREN NICHT DAZU!!! ALSO DIE HIER DRÜBER SIND!!!! DIE KOMMEN IRGENDWIE!



    Code
    C:\Users\ziegler\Desktop\SA-MP Server\gamemodes\serious.pwn(522) : error 017: undefined symbol "pickupid"C:\Users\ziegler\Desktop\SA-MP Server\gamemodes\serious.pwn(528) : error 028: invalid subscript (not an array or too many subscripts): "CreateVehicle"C:\Users\ziegler\Desktop\SA-MP Server\gamemodes\serious.pwn(528) : warning 215: expression has no effectC:\Users\ziegler\Desktop\SA-MP Server\gamemodes\serious.pwn(528) : warning 215: expression has no effectC:\Users\ziegler\Desktop\SA-MP Server\gamemodes\serious.pwn(528) : warning 215: expression has no effectC:\Users\ziegler\Desktop\SA-MP Server\gamemodes\serious.pwn(528) : warning 215: expression has no effectC:\Users\ziegler\Desktop\SA-MP Server\gamemodes\serious.pwn(528) : warning 215: expression has no effectC:\Users\ziegler\Desktop\SA-MP Server\gamemodes\serious.pwn(528) : warning 215: expression has no effectC:\Users\ziegler\Desktop\SA-MP Server\gamemodes\serious.pwn(528) : error 001: expected token: ";", but found ")"C:\Users\ziegler\Desktop\SA-MP Server\gamemodes\serious.pwn(528) : error 029: invalid expression, assumed zeroC:\Users\ziegler\Desktop\SA-MP Server\gamemodes\serious.pwn(528) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase5 Errors.




    Jetzt sieht man nicht in welchen Zeilen die Errors sind...
    Hier sind die Zeilen



    Zeile 519//Autohäuser

    bis

    Zeile 529//Autohäuser Autos

    Also die 2 da oben und das hier: lspdtor = CreateDynamicObject(971, 1588.69995, -1638, 14.8, 0, 0, 0);//Tor


    Das oben hab ich noch IsPlayerRangeOf... eingefügt. Das funzt aber komm immernoch net nach oben :D

    Also ich habe nach einem YouTubeTutorial Tore gemappt die sich auf Befehl bewegen sollen, aber wenn ich den Befehl eingebe (in meinem falle /pd1 /pd2 /pdtür) bewegen sie sich alle, kommen aber nicht zurück. Der Timer sollte soweit ich weiß auf 5 Sekunden liegen, aber auch nach 20 Sekunden ist nichts da...



    if(strcmp("/pd1", cmdtext, true, 10) == 0)
    {
    if(IstSpielerInFraktion(playerid, 1))
    {
    if(IsPlayerInRangeOfPoint(playerid,5,1544.69995, -1630.80005, 13.3))
    {
    SendClientMessage(playerid,COLOR_WHITE,"Das Tor schließt in 5 Sekunden!");
    MoveDynamicObject(lspdschranke,1544.69995, -1630.80005, 9.3,5.0);
    SetTimer("lspdschranke",5,false);
    return 1;
    }
    else
    {
    SendClientMessage(playerid,COLOR_RED,"Du darfst das nicht!");
    return 1;
    }
    }
    }
    Ganz unten im Script:



    forward torlspd();
    public torlspd()
    {
    MoveDynamicObject(lspdtor,1588.69995, -1638, 14.8,5.0);
    }

    OnPlayerSpawn:


    Ich checks net so mit den PWN Codes :/



    if(IstSpielerInFraktion(playerid, 1)) //LSPD
    {
    SetPlayerInterior(playerid,6);
    SetPlayerPos(playerid,246.6101,67.6655,1003.6406);
    SetPlayerColor(playerid,COLOR_BLUE);
    SendClientMessage(playerid,COLOR_YELLOW,"Du wurdest als LSPD-Mitglied gespawnt!");
    }
    return 1;


    LSPD-Car:


    lspdcars[0] = CreateVehicle(427,1558.5807,-1694.2631,6.0272,180.7860,135,138,-1);