server crash!!! hilfe :/

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
  • #0 00319b54 in IsPlayerInFrac (playerid=65535, fracid=8) at


    stock IsPlayerInFrac(playerid,fracid)
    {
    if (PlayerInfo[playerid][pMember] == fracid || PlayerInfo[playerid][pLeader] == fracid)
    return 1;
    return 0;
    }



    #1 0000cdc0 in public OnPlayerTakeDamage (playerid=0, issuerid=65535, Float:amount=3.30000, weaponid=54, ... <1 argument>) at
    public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)
    {
    PlayerPlaySound(issuerid,17802,0.0,0.0,0.0);
    if(IsPlayerInFrac(issuerid, 8))
    {
    if(weaponid == 34 && PlayerInfo[playerid][pHeadValue] > 0)
    {
    PlayerPlaySound(issuerid,17802,0.0,0.0,0.0);
    SetPlayerArmour(playerid, 0);
    SetPlayerHealth(playerid, 0);
    }
    }
    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
    if(weaponid == 41 && IsAGang(issuerid))
    {
    PlayerPlaySound(issuerid,17802,0.0,0.0,0.0);
    SendClientMessage(issuerid, COLOR_GREY, "< < < Das Spray ist nicht zum Angriff gestattet, -200$ > > >");
    ConsumingMoney[issuerid] = 1;
    GivePlayerMoney(issuerid, -200);
    PlayerInfo[issuerid][pCash] -= 100;
    }
    if(issuerid != INVALID_PLAYER_ID)
    {
    if(PlayerInfo[issuerid][pLevel] <= 3)
    {
    new aname[MAX_PLAYER_NAME], string[100];
    GetPlayerName(issuerid, aname, sizeof(aname));
    format(string, sizeof(string), "{F3FF02}[{FFFFFF}ServerSystem{F3FF02}]: %s wurde vom System gekickt. Grund: SDM als Neuling", aname);
    SendClientMessageToAll(COLOR_RED, string);
    Kick(issuerid);
    }
    }
    return 1;
    }
    public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
    {
    if(PlayerInfo[playerid][pJailed] != 0)
    {
    GameTextForPlayer(playerid, "~r~KNAST DM verboten!", 1000, 5);
    PlayerInfo[playerid][pKnastDM] += 1;
    if(PlayerInfo[playerid][pKnastDM] >= 5)
    {
    new aname[MAX_PLAYER_NAME], string[100];
    GetPlayerName(playerid, aname, sizeof(aname));
    format(string, sizeof(string), "{F3FF02}[{FFFFFF}ServerSystem{F3FF02}]: %s wurde vom Anti-DM System gekickt. Grund: KnastDM", aname);
    SendClientMessageToAll(COLOR_RED, string);
    Kick(playerid);
    }
    }

    Einmal editiert, zuletzt von xMrStreamx ()