Beiträge von [GNR]Google

    Das hab ich ja alles ja gemacht aber es wurden die tabbelen entstanden aber dies ist der Error


    --
    -- Daten für Tabelle `pRP_stuff`
    --
    ------------------------------------------------ --
    --
    -- Tabellenstruktur für Tabelle `pRP_xmasobjects`
    --
    CREATE TABLE IF NOT EXISTS `pRP_xmasobjects` (


    `id` INT( 10 ) NOT NULL ,
    `ObjectID` INT( 10 ) NOT NULL ,
    `sperreX` FLOAT( 10, 4 ) NOT NULL ,
    `sperreY` FLOAT( 10, 4 ) NOT NULL ,
    `sperreZ` FLOAT( 10, 4 ) NOT NULL ,
    PRIMARY KEY ( `id` )
    ) ENGINE = MYISAM DEFAULT CHARSET = latin1;


    MySQL meldet: Dokumentation


    #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '--------------------------------------------------


    --
    -- Tabellenstruktur für ' at line 4

    --
    -- Daten für Tabelle `pRP_stuff`
    --
    ------------------------------------------------ --
    --
    -- Tabellenstruktur für Tabelle `pRP_xmasobjects`
    --
    CREATE TABLE IF NOT EXISTS `pRP_xmasobjects` (


    `id` INT( 10 ) NOT NULL ,
    `ObjectID` INT( 10 ) NOT NULL ,
    `sperreX` FLOAT( 10, 4 ) NOT NULL ,
    `sperreY` FLOAT( 10, 4 ) NOT NULL ,
    `sperreZ` FLOAT( 10, 4 ) NOT NULL ,
    PRIMARY KEY ( `id` )
    ) ENGINE = MYISAM DEFAULT CHARSET = latin1;


    MySQL meldet: Dokumentation


    #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '--------------------------------------------------


    --
    -- Tabellenstruktur für ' at line 4


    Das kahm es wurden Tabellen gemacht aber wen ich es starte kommt ja Gamemode failed oder so

    Die datenbank geht net xd meinte ich. soll ich dir schicken ?



    --
    -- Daten für Tabelle `pRP_stuff`
    --
    ------------------------------------------------ --
    --
    -- Tabellenstruktur für Tabelle `pRP_xmasobjects`
    --
    CREATE TABLE IF NOT EXISTS `pRP_xmasobjects` (


    `id` INT( 10 ) NOT NULL ,
    `ObjectID` INT( 10 ) NOT NULL ,
    `sperreX` FLOAT( 10, 4 ) NOT NULL ,
    `sperreY` FLOAT( 10, 4 ) NOT NULL ,
    `sperreZ` FLOAT( 10, 4 ) NOT NULL ,
    PRIMARY KEY ( `id` )
    ) ENGINE = MYISAM DEFAULT CHARSET = latin1;


    MySQL meldet: Dokumentation


    #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '--------------------------------------------------


    --
    -- Tabellenstruktur für ' at line 4

    SA-MP Dedicated Server
    ----------------------
    v0.3z, (C)2005-2014 SA-MP Team


    [17:17:18] filterscripts = "" (string)
    [17:17:18] weburl = "www.sa-mp.com" (string)
    [17:17:18]
    [17:17:18] Server Plugins
    [17:17:18] --------------
    [17:17:18] Loading plugin: mysql.so
    [17:17:18]


    > MySQL plugin R7 successfully loaded.


    [17:17:18] Loaded.
    [17:17:18] Loading plugin: sscanf.so
    [17:17:18]


    [17:17:18] ===============================


    [17:17:18] sscanf plugin loaded.


    [17:17:18] (c) 2009 Alex "Y_Less" Cole


    [17:17:18] 0.3d-R2 500 Players "dnee"


    [17:17:18] ===============================


    [17:17:18] Loaded.
    [17:17:18] Loading plugin: streamer.so
    [17:17:18]


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


    [17:17:18] Loaded.
    [17:17:18] Loaded 3 plugins.


    [17:17:18]
    [17:17:18] Ban list
    [17:17:18] --------
    [17:17:18] Loaded: samp.ban
    [17:17:18]
    [17:17:18]
    [17:17:18] Filterscripts
    [17:17:18] ---------------
    [17:17:18] Loaded 0 filterscripts.


    [17:17:18] Script[gamemodes/GNR2.amx]: Run time error 19: "File or function is not found"
    [17:17:18] Number of vehicle models: 0

    Hallo ich habe das neue pRP script auf meinen Server wo ich drauf kam war alles normal mit dem skin ich hab den Server restartet da hatte ich den CJ Skin !
    Ich habe nur die 2 sachen onplayerspawn und Skin[playerid]


    Der jenige wo mir vieleicht hilft könnte ich ihn eine 5euro PSC geben
    PS nur wens klappt


    Skin[playerid] :
    http://pastebin.com/R52Gv2U3



    Und das bei onplayerspawn
    http://pastebin.com/HiNndW8N




    Was von dene soll ich da weg machen ?
    Ich will nur das der CJ skin weg ist das die den haben wo sie in der Skin auswahl bekommen haben wie bei der Fraktionen haben den CJ Skin

    Spieler[playerid][Skin] = i;
    SetPlayerSkin(playerid,BincoSystemFraktionsSkins[Skinid]);
    break;
    }





    ODER DAS WEG ?



    if(Spieler[playerid][pDuty] == 0)
    {
    if(ImTutorial[playerid] != 0)
    {
    Spieler[playerid][Skin] = 0;
    SetPlayerSkin(playerid,BincoSystemZiviSkins[Spieler[playerid][Skin]][Skinid]);
    format(query,sizeof(query),"SELECT * FROM "#DATENBANKTAG"_account_main WHERE SkinID='%d' OR FraktionSkinID='%d'",GetPlayerSkin(playerid),GetPlayerSkin(playerid));
    mysql_function_query(MySqlConnection,query,true,"OnQueryFinish","siii",query,_SQL_BINCOSKIN_COUNT,playerid,MySqlConnection);
    return 1;
    }
    else
    {
    Also mit der 0 weg , oder das i ?

    Check ich nicht mit Loadsystem bin grad beim pwn


    Der Code


    public OnPlayerSpawn(playerid)
    {
    new string[256];
    if(IsPlayerNPC(playerid))
    {
    if(!strcmp(SpielerName(playerid),"[BOT]PanzerBot",true))
    {
    Spieler[playerid][pGrundwehrdienst] = 1;
    Spieler[playerid][pPlaneLic] = 1;
    Spieler[playerid][pHeliLic] = 1;
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    SetPlayerSkin(playerid,287);
    PutPlayerInVehicleEx(playerid,BOTArmyPanzer,0);
    }
    if(!strcmp(SpielerName(playerid),"[BOT]ZugBot",true))
    {
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    SetPlayerSkin(playerid,98);
    PutPlayerInVehicleEx(playerid,BOTZug,0);
    }
    if(!strcmp(SpielerName(playerid),"[BOT]Shamal",true))
    {
    Spieler[playerid][pPlaneLic] = 1;
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    SetPlayerSkin(playerid,61);
    PutPlayerInVehicleEx(playerid,BOTshamal,0);
    }
    if(!strcmp(SpielerName(playerid),"[BOT]AT400",true))
    {
    Spieler[playerid][pPlaneLic] = 1;
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    SetPlayerSkin(playerid,61);
    PutPlayerInVehicleEx(playerid,BOTat400,0);
    }
    if(!strcmp(SpielerName(playerid),"[BOT]OpiumDealer",true))//opiumdealer
    {
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    SetPlayerSkin(playerid,29);
    SetPlayerPosEx(playerid,-1890.7620,-205.5517,14.3058);
    SetPlayerFacingAngle(playerid,272.1447);
    }
    if(!strcmp(SpielerName(playerid),"[BOT]DKDealer",true))//Ganjakokadealer
    {
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    SetPlayerSkin(playerid,28);
    SetPlayerPosEx(playerid,1299.7727,-854.0055,43.5333);
    SetPlayerFacingAngle(playerid,125.0721);
    }
    if(!strcmp(SpielerName(playerid),"[BOT]F.NinowBot",true))
    {
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    SetPlayerSkin(playerid,98);
    PutPlayerInVehicleEx(playerid,BOTtramsf,0);
    }
    if(!strcmp(SpielerName(playerid),"[BOT]C4Transport",true))
    {
    Spieler[playerid][pGrundwehrdienst] = 1;
    Spieler[playerid][pPlaneLic] = 1;
    Spieler[playerid][pHeliLic] = 1;
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    SetPlayerSkin(playerid,287);
    PutPlayerInVehicleEx(playerid,BOTarmytransport,0);
    }
    if(!strcmp(SpielerName(playerid),"[BOT]Bank",true))
    {
    SetPlayerSkin(playerid,11);
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,1);
    }
    if(!strcmp(SpielerName(playerid),"[BOT]Antibot",true))
    {
    new changeskin = random(11);
    switch(changeskin)
    {
    case 0: SetPlayerSkin(playerid,26);
    case 1: SetPlayerSkin(playerid,51);
    case 2: SetPlayerSkin(playerid,78);
    case 3: SetPlayerSkin(playerid,94);
    case 4: SetPlayerSkin(playerid,101);
    case 5: SetPlayerSkin(playerid,137);
    case 6: SetPlayerSkin(playerid,167);
    case 7: SetPlayerSkin(playerid,205);
    case 8: SetPlayerSkin(playerid,264);
    case 9: SetPlayerSkin(playerid,239);
    case 10: SetPlayerSkin(playerid,230);
    case 11: SetPlayerSkin(playerid,289);
    }
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,1);
    }
    if(!strcmp(SpielerName(playerid),"[BOT]StadthalleLS",true))
    {
    SetPlayerSkin(playerid,11);
    SetPlayerInterior(playerid,3);
    SetPlayerVirtualWorld(playerid,0);
    }
    if(!strcmp(SpielerName(playerid),"[BOT]StadthalleSF",true))
    {
    SetPlayerSkin(playerid,11);
    SetPlayerInterior(playerid,3);
    SetPlayerVirtualWorld(playerid,1);
    }
    if(!strcmp(SpielerName(playerid),"[BOT]Prister",true))
    {
    SetPlayerSkin(playerid,68);
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,1);
    }
    if(!strcmp(SpielerName(playerid),"[BOT]DruckereiBot",true))
    {
    SetPlayerSkin(playerid,112);
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    }
    if(!strcmp(SpielerName(playerid),"[BOT]TintenBot",true))
    {
    SetPlayerSkin(playerid,124);
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    }
    if(!strcmp(SpielerName(playerid),"[BOT]SchmugglerBS",true))//skin ändern
    {
    SetPlayerSkin(playerid,124);
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    }
    if(!strcmp(SpielerName(playerid),"[BOT]SchmugglerLV",true))
    {
    SetPlayerSkin(playerid,124);
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    }
    if(!strcmp(SpielerName(playerid),"[BOT]SchmugglerSF",true))
    {
    SetPlayerSkin(playerid,124);
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    }
    if(!strcmp(SpielerName(playerid),"[BOT]ShopManLV",true))
    {
    SetPlayerSkin(playerid,124);
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    }
    if(!strcmp(SpielerName(playerid),"[BOT]HackerHelper",true))
    {
    SetPlayerSkin(playerid,124);
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    }
    if(!strcmp(SpielerName(playerid),"[BOT]LuigiSF",true))
    {
    SetPlayerSkin(playerid,124);
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    }
    return 1;
    }