[prob. mit server] Server stürzt ab

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • hab ein problem mit meinem samp test server, ich hab ein neues script das ist ein stunt script, ich connecte auf dem server und der server kackt ab
    meine log
    ---------
    Loaded log file: "server_log.txt".
    ----------


    SA:MP Dedicated Server
    ----------------------
    v0.2X, (C)2005-2008 SA:MP Team


    [13:31:09]
    [13:31:09] Server Plugins
    [13:31:09] --------------
    [13:31:09] Loaded 0 plugins.


    [13:31:09]
    [13:31:09] Filter Scripts
    [13:31:09] ---------------
    [13:31:09] Loading filter script 'adminspec.amx'...
    [13:31:09] Loading filter script 'vactions.amx'...
    [13:31:09] Loaded 2 filter scripts.


    [13:31:09] Gamemodes
    [13:31:09] ---------
    [13:31:09] Loading gamemode 'SU.amx'...
    [13:31:09] Loaded successful.
    [13:31:09] Loaded 1 gamemode.
    [13:31:09]
    [13:31:36] Incomming connection: 127.0.0.1:55046
    [13:31:36] [join] Nero has joined the server (0:127.0.0.1)

  • F_OnPlayerConnect(playerid);


    Textdraw0 = TextDrawCreate(3.000000,344.000000,"s t u n t u n i v e r s e v0.5");
    TextDrawUseBox(Textdraw0,1);
    TextDrawBoxColor(Textdraw0,0x000000ff);
    TextDrawTextSize(Textdraw0,-1.000000,146.000000);
    TextDrawAlignment(Textdraw0,0);
    TextDrawBackgroundColor(Textdraw0,0x0000ff33);
    TextDrawFont(Textdraw0,3);
    TextDrawLetterSize(Textdraw0,0.299999,0.700000);
    TextDrawColor(Textdraw0,0xffffffff);
    TextDrawSetOutline(Textdraw0,1);
    TextDrawSetProportional(Textdraw0,1);
    TextDrawShowForPlayer(playerid, Text:Textdraw0);


    Checkgate = SetTimer("CheckGate", 1000, 1);
    lvwz = SetTimer("LVWZ", 1000, 1);


    SetPlayerMapIcon( playerid, 1, -3535.9673,-66.2674,2.1839, 5, 0); //Airport Admincastle
    SetPlayerMapIcon( playerid, 2, -3357.6938,-69.7644,123.2506, 19, 0); //Flag AdminCastle
    SetPlayerMapIcon( playerid, 3, -3284.2493,-125.4545,2.5392, 9, 0); //Boats AdminCastle
    // SetPlayerMapIcon( playerid, 4, 2869.8384,-1749.3060,11.0444, 37, 0); //Secret Stuntzone
    SetPlayerMapIcon( playerid, 5, 1002.3448,-2291.4976,14.0816, 53, 0); //DragRace
    SetPlayerMapIcon( playerid, 6, 200.6568,2503.0281,16.4844, 5, 0); //AA
    SetPlayerMapIcon( playerid, 7, -468.6863,2207.8826,46.5093, 56, 0); //SpawnPoint
    SetPlayerMapIcon( playerid, 8, 314.3689,1906.3972,17.6406, 5, 0); //Airbattle (Area51)
    SetPlayerMapIcon( playerid, 9, 610.0776,1698.3099,6.9922, 51, 0); //Truck Stop
    SetPlayerMapIcon( playerid, 10, -1597.0704,-2727.6892,48.5391, 51, 0); //Truck Stop
    SetPlayerMapIcon( playerid, 11, -327.0811,1768.1223,42.7596, 51, 0); //Truck Stop
    SetPlayerMapIcon( playerid, 12, 1734.6804,-1944.9839,13.564, 48, 0); //Train Station
    SetPlayerMapIcon( playerid, 13, -1961.2306,138.1871,27.6875, 48, 0); //Train Station
    SetPlayerMapIcon( playerid, 14, 1433.2821,2651.9473,11.3926, 48, 0); //Train Station
    SetPlayerMapIcon( playerid, 15, 2841.9917,1290.7056,11.3906, 48, 0); //Train Station
    SetPlayerMapIcon( playerid, 16, -1433.4529,-956.0518,200.9836, 19, 0); //Flag Hideout


    new pName[MAX_PLAYER_NAME];
    new string[128];
    GetPlayerName(playerid, pName, sizeof(pName));
    format(string, sizeof(string), "%s has joined the server.", pName);
    SendClientMessageToAll(COLOR_GREY, string);


    if(!strcmp("[ViP]Labrik",pName,true) || !strcmp("netzeek",pName,true) || !strcmp("[MT]Lavis",pName,true))
    {
    new kstring[128];
    format(kstring, sizeof(kstring), "%s was auto kicked from the server (illegal name).", pName);
    SendClientMessageToAll(COLOR_GREY, kstring);
    print(kstring);
    Kick(playerid);
    }


    AllowPlayerTeleport(playerid, 0);


    BombArmed[playerid] = false;
    AntiFalloff[playerid] = false;
    DMZone[playerid] = 0;
    spawnplacechosen[playerid] = false;
    ReceiveInfo[playerid] = false;
    stupidjumpsfound[playerid] = 0;


    SendClientMessage(playerid, COLOR_BASIC, "Welcome to (¯`·._.·[Stunt Universe]·._.·´¯) - By: Fallout");
    SendClientMessage(playerid, COLOR_BASIC, "Play fair, don't spam/cheat, etc.");
    SendClientMessage(playerid, COLOR_RED, "For more info, type /help.");
    SendClientMessage(playerid, COLOR_BASIC, "Last update: /RCWar renewed, tuned vehicles, new self-healing system and new animations.");
    return 1;
    }

  • ne mom ich machs rein


    //edit
    dan bekomm ich ein error das new Textdraw0;
    schon definiert ist

  • Machs wieder raus


    Das
    TextDrawShowForPlayer(playerid, Text:Textdraw0);


    durch


    TextDrawShowForPlayer(playerid, Text:Textdraw0);


    ersetzen


    Nebenbei würde ich alles bis auf
    TextDrawShowForPlayer(playerid, Text:Textdraw0);


    in


    OnGameMoneInit erstellen

  • es geht, vielen dank an die die mir geholfen haben!!


    ADMINS/MODS pls closen oder löschen mir egal^^

    Einmal editiert, zuletzt von [GGR]SoNiC ()