Beiträge von Sigi.

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


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


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


    [21:07:47] Loaded.
    [21:07:47] Loading plugin: mysql.dll
    [21:07:47] SA:MP MySQL Plugin 1.2.1 Loaded.
    [21:07:47] Loaded.
    [21:07:47] MySQL: Query thread running. Thread safe: Yes.
    [21:07:47] Loading plugin: sscanf.dll
    [21:07:47]


    [21:07:47] ===============================


    [21:07:47] sscanf plugin loaded.


    [21:07:47] (c) 2009 Alex "Y_Less" Cole


    [21:07:47] 0.3d-R2 500 Players "dnee"


    [21:07:47] ===============================


    [21:07:47] Loaded.
    [21:07:47] Loaded 3 plugins.


    [21:07:47]
    [21:07:47] Filterscripts
    [21:07:47] ---------------
    [21:07:47] Loaded 0 filterscripts.


    [21:07:47] Script[gamemodes/SelfMade-MySQL.amx]: Run time error 19: "File or function is not found"
    [21:07:47] Number of vehicle models: 0

    if(strcmp("/veh", cmdtext, true, 10) == 0)
    {
    new car3,string[100],idx;
    car3 = strval(tmp);
    if(car3 < 400 || car3 > 611) { SendClientMessage(playerid, COLOR_GREY, " Fahrzeug ID darf nicht weiniger asl 400 oder mehr als 611 sein !"); return 1; }
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GRAD2, "FEHLER: /veh [Vehicleid] [farbe1] [farbe2]");
    return 1;
    }
    new color1;
    color1 = strval(tmp);
    if(color1 < 0 || color1 > 255) { SendClientMessage(playerid, COLOR_GREY, "Fahrzeug Farbe kann nicht weniger als 0 oder mehr als 252 sein!"); return 1; }
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GRAD2, "FEHLER: /veh [Vehicleid] [farbe1] [farbe2]");
    return 1;
    }
    new color2;
    color2 = strval(tmp);
    if(color2 < 0 || color2 > 255) { SendClientMessage(playerid, COLOR_GREY, "Fahrzeug Farbe kann nicht weniger als 0 oder mehr als 255 sein!"); return 1; }
    new Float:X,Float:Y,Float:Z;
    GetPlayerPos(playerid, X,Y,Z);
    new carid = CreateVehicle(car3, X,Y,Z, 0.0, color1, color2, -1);
    CreatedCars[CreatedCar] = carid;
    CreatedCar ++;
    format(string, sizeof(string), "Du hast dir ein Fahrzeug gespawnt. ( Fahrzeug ID: %d )", carid);
    SendClientMessage(playerid, COLOR_WHITE, string);
    return 1;
    }
    return 0;
    }

    danke an euch alle hab danach diese errors :O


    C:\Users\Gta Server\Desktop\Neuer Ordner\SEHR WICHTIG\Selfmade\gamemodes\SelfMade.pwn(136) : error 017: undefined symbol "tmp"
    C:\Users\Gta Server\Desktop\Neuer Ordner\SEHR WICHTIG\Selfmade\gamemodes\SelfMade.pwn(138) : error 017: undefined symbol "tmp"
    C:\Users\Gta Server\Desktop\Neuer Ordner\SEHR WICHTIG\Selfmade\gamemodes\SelfMade.pwn(139) : error 017: undefined symbol "tmp"
    C:\Users\Gta Server\Desktop\Neuer Ordner\SEHR WICHTIG\Selfmade\gamemodes\SelfMade.pwn(145) : error 017: undefined symbol "tmp"
    C:\Users\Gta Server\Desktop\Neuer Ordner\SEHR WICHTIG\Selfmade\gamemodes\SelfMade.pwn(147) : error 017: undefined symbol "tmp"
    C:\Users\Gta Server\Desktop\Neuer Ordner\SEHR WICHTIG\Selfmade\gamemodes\SelfMade.pwn(148) : error 017: undefined symbol "tmp"
    C:\Users\Gta Server\Desktop\Neuer Ordner\SEHR WICHTIG\Selfmade\gamemodes\SelfMade.pwn(154) : error 017: undefined symbol "tmp"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    7 Errors.

    Moin Brotfishe...
    C:\Users\Gta Server\Desktop\Neuer Ordner\SEHR WICHTIG\Selfmade\gamemodes\SelfMade.pwn(133) : error 017: undefined symbol "string"
    C:\Users\Gta Server\Desktop\Neuer Ordner\SEHR WICHTIG\Selfmade\gamemodes\SelfMade.pwn(133) : warning 215: expression has no effect
    C:\Users\Gta Server\Desktop\Neuer Ordner\SEHR WICHTIG\Selfmade\gamemodes\SelfMade.pwn(133) : error 001: expected token: ";", but found "]"
    C:\Users\Gta Server\Desktop\Neuer Ordner\SEHR WICHTIG\Selfmade\gamemodes\SelfMade.pwn(133) : error 029: invalid expression, assumed zero
    C:\Users\Gta Server\Desktop\Neuer Ordner\SEHR WICHTIG\Selfmade\gamemodes\SelfMade.pwn(133) : 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.

    Zeile:
    new car3;string[100];

    Hallo Community.


    Ich habe eine Frage, ich habe bei BSN und bei BSS die selben Interiors benutzt nur mit unterschidlichen InteriorID´s, so mein problem ist nun, wenn ein Spieler bei BSN reinläuft und ein Andere Spieler bei BSS, und der User der in BSN etwas schreibt, dann sieht der User der im BSS ist was der Spieler geschrieben hat der in BSN ist,..wie kann ich sowas vermeiden?

    Hallo Brotfische
    Ich muss bis 17:20 dieses bug gefixxt haben.
    könnt ihr mir helfen?? bitte
    ich habe ein großes problem ...


    C:\Users\Gta Server\Desktop\Neuer Ordner\SEHR WICHTIG\NewServer\gamemodes\EYDGW.pwn(11964 -- 11984) : fatal error 102: table overflow: "staging buffer"


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



    1 Error.




    //EXIT
    if(IsPlayerInRangeOfPoint(playerid,3.0,HouseInfo[i][hExitx], HouseInfo[i][hExity], HouseInfo[i][hExitz]) && PlayerInfo[playerid][pLocal] == i) || IsPlayerInRangeOfPoint(playerid,3.0,BizzInfo[i][bExitX], BizzInfo[i][bExitY], BizzInfo[i][bExitZ])
    || IsPlayerInRangeOfPoint(playerid,6.0,-1404.5299,-259.0602,1043.6563) || IsPlayerInRangeOfPoint(playerid,3.0,2467.5925,-1698.3706,1013.5078 || IsPlayerInRangeOfPoint(playerid,3.0,1261.5485,-785.3905,1091.9063) || IsPlayerInRangeOfPoint(playerid,3.0,2807.619873,-1171.899902,1025.570312)
    || IsPlayerInRangeOfPoint(playerid,3.0,2496.4170,-1692.6714,1014.7422) || IsPlayerInRangeOfPoint(playerid,3.0,2265.2380,1675.7649,1090.4453) || IsPlayerInRangeOfPoint(playerid,3.0,2519.1589,-1281.3270,1054.6406) || IsPlayerInRangeOfPoint(playerid,3.0,1701.4133,-1667.4558,20.2188)
    || IsPlayerInRangeOfPoint(playerid,3.0,502.0985,-68.5371,998.7578) || IsPlayerInRangeOfPoint(playerid,4.0,315.5999,-143.2446,999.6016) || IsPlayerInRangeOfPoint(playerid,2.0,1497.6327,-675.1120,94.8159) || IsPlayerInRangeOfPoint(playerid,3.0,1517.2124,-678.7004,102.4137)
    || IsPlayerInRangeOfPoint(playerid,8.0,-1443.0554,-581.1879,1055.0472) || IsPlayerInRangeOfPoint(playerid,5.0,198.1085,1780.7993,7.5693) || IsPlayerInRangeOfPoint(playerid,3.0, -2240.468505,137.060440,1035.414062) || IsPlayerInRangeOfPoint(playerid,3.0,2144.3340,1607.1628,993.6882)
    || IsPlayerInRangeOfPoint(playerid,3,-189.2877,-85.9249,1004.2260) || IsPlayerInRangeOfPoint(playerid,2.0,203.8058,-46.9118,1001.8047) || IsPlayerInRangeOfPoint(playerid,5.0,-2158.8528,642.6458,1052.3750) || IsPlayerInRangeOfPoint(playerid,8.0,-1464.7732,1557.5533,1052.5313)
    || IsPlayerInRangeOfPoint(playerid,8.0,-1464.7732,1557.5533,1052.5313) || IsPlayerInRangeOfPoint(playerid,5.0,207.0899,-139.3603,1003.5078) || IsPlayerInRangeOfPoint(playerid,5.0, 234.199996,1064.900024,1084.199951) || IsPlayerInRangeOfPoint(playerid,3.0,833.269775,10.588416,1004.179687)
    || IsPlayerInRangeOfPoint(playerid,5.0,-26.5209,-57.5670,1003.5469) || IsPlayerInRangeOfPoint(playerid,5.0,-30.7473,-91.1202,1003.5469) || IsPlayerInRangeOfPoint(playerid, 3.0,1825.5352,-1305.2288,120.3046) || IsPlayerInRangeOfPoint(playerid,3,1459.3881,-1009.9203,26.8438)
    || IsPlayerInRangeOfPoint(playerid,3, -182.2097,-85.9433,1004.2260) || IsPlayerInRangeOfPoint(playerid, 3.0, -2636.8772,1402.6116,906.4609) || IsPlayerInRangeOfPoint(playerid,3.0,HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez])
    || IsPlayerInRangeOfPoint(playerid,3.0,BizzInfo[i][bEntranceX], BizzInfo[i][bEntranceY], BizzInfo[i][bEntranceZ]) || IsPlayerInRangeOfPoint(playerid,3.0,SBizzInfo[i][sbEntranceX], SBizzInfo[i][sbEntranceY], SBizzInfo[i][sbEntranceZ]) || IsPlayerInRangeOfPoint(playerid,3.0,1073.0619,-344.5148,73.9922)
    || IsPlayerInRangeOfPoint(playerid,3.0,1123.2803,-2037.1238,69.8875) || IsPlayerInRangeOfPoint(playerid,3.0,2919.8220,2117.9207,17.8955) || IsPlayerInRangeOfPoint(playerid,3,1465.1143,-1009.9203,26.8438) || IsPlayerInRangeOfPoint(playerid,3.0,-2172.7261,679.7591,55.1621)
    || IsPlayerInRangeOfPoint(playerid,2.0,928.9148,-1353.0074,13.3438) || IsPlayerInRangeOfPoint(playerid,2.0,364.8613,-11.6826,1001.8516) || IsPlayerInRangeOfPoint(playerid,2.0,-2336.8669,-166.8007,35.5547) || IsPlayerInRangeOfPoint(playerid,2.0,2229.9106,-1721.2783,13.5615)
    || IsPlayerInRangeOfPoint(playerid,2.0,772.2358,-5.1442,1000.7285) || IsPlayerInRangeOfPoint(playerid,2.0,372.2803,-133.5221,1001.4922) || IsPlayerInRangeOfPoint(playerid,2.0,-2356.3796,1008.1703,50.8984) || IsPlayerInRangeOfPoint(playerid,2.0,-1912.2693,827.9393,35.2169)
    || IsPlayerInRangeOfPoint(playerid,2.0,377.1213,-193.3057,1000.6328) || IsPlayerInRangeOfPoint(playerid,2.0,461.4200,-1500.8936,31.0594) || IsPlayerInRangeOfPoint(playerid,2.0,1497.7198,-679.3317,94.7500) || IsPlayerInRangeOfPoint(playerid,3.0,1522.6440,-677.5024,103.6159)
    || IsPlayerInRangeOfPoint(playerid,3.0,1368.3273,-1279.2957,13.5469) || IsPlayerInRangeOfPoint(playerid,3.0,2695.6235,-1704.6960,11.8438) || IsPlayerInRangeOfPoint(playerid,8.0,-2111.5686,-443.9720,38.7344) || IsPlayerInRangeOfPoint(playerid,8.0,-2080.3079,-406.0309,38.7344)
    || IsPlayerInRangeOfPoint(playerid,5.0,254.8123,1802.1803,7.4448) || IsPlayerInRangeOfPoint(playerid,5.0,21.2708,-5.8263,3.1172) || IsPlayerInRangeOfPoint(playerid,2.0,15.0589,4.0301,11.6809) || IsPlayerInRangeOfPoint(playerid, 3.0, -2624.6477,1412.7295,7.0938)
    || IsPlayerInRangeOfPoint(playerid,2.0,15.0589,4.0301,11.6809) || IsPlayerInRangeOfPoint(playerid,5.0,278.0632,114.2558,1008.8130) || IsPlayerInRangeOfPoint(playerid,5.0,-14.7645,7.0996,27.7117) || IsPlayerInRangeOfPoint(playerid,3.0,1026.4578,-1230.4182,16.9375)
    || IsPlayerInRangeOfPoint(playerid,5.0,15.0589,4.0301,11.6809) || IsPlayerInRangeOfPoint(playerid,3.0,1315.3405,-898.1992,39.5781) || IsPlayerInRangeOfPoint(playerid,3.0,2244.4551,-1665.3081,15.4766) || IsPlayerInRangeOfPoint(playerid,5.0,1352.5164,-1758.8462,13.5078)
    || IsPlayerInRangeOfPoint(playerid,3.0,1492.6293,748.0984,11.0234) || IsPlayerInRangeOfPoint(playerid,3.0,2000.0546,-1114.0532,27.1250) || IsPlayerInRangeOfPoint(playerid,3.0,681.6036,-473.3460,16.5363) || IsPlayerInRangeOfPoint(playerid,3.0,2495.4214,-1690.2887,14.7656)
    || IsPlayerInRangeOfPoint(playerid,3.0,2259.8020,-1019.7081,59.2925) || IsPlayerInRangeOfPoint(playerid,3.0,2629.6941,2379.7688,10.8203) || IsPlayerInRangeOfPoint(playerid,3.0,1481.0360,-1771.7915,18.7958) || IsPlayerInRangeOfPoint(playerid,3.0,1134.3796,-1318.2131,14.9465)
    || IsPlayerInRangeOfPoint(playerid,3.0,161.4086, -96.8364, 1001.2707)|| IsPlayerInRangeOfPoint(playerid,3.0,2541.5439,-1304.0005,1025.0703) || IsPlayerInRangeOfPoint(playerid,3.0,-1606.2843,672.0655,-4.9063) || IsPlayerInRangeOfPoint(playerid,3.0,322.1601,302.3694,999.1484)
    || IsPlayerInRangeOfPoint(playerid,3.0,1568.6414,-1689.9703,6.2188) || IsPlayerInRangeOfPoint(playerid,3.0,1252.4211,-1736.6511,17.3269) || IsPlayerInRangeOfPoint(playerid,4.0,288.4489,167.7567,1007.1719) || IsPlayerInRangeOfPoint(playerid,3.0,1202.0470,-917.6340,43.1083)
    || IsPlayerInRangeOfPoint(playerid,3.0,810.4847,-1616.2047,13.5469) || IsPlayerInRangeOfPoint(playerid,3.0,362.9329,-75.1116,1001.5078) || IsPlayerInRangeOfPoint(playerid,3.0,937.5865,1733.1909,8.8516) || IsPlayerInRangeOfPoint(playerid,3.0,1257.8639,-1779.4191,13.5288)
    || IsPlayerInRangeOfPoint(playerid,3.0,1251.1685,-1800.5946,41.4152) || IsPlayerInRangeOfPoint(playerid,3.0,1240.6941,-1779.3195,13.5288) || IsPlayerInRangeOfPoint(playerid,3.0,238.6274,139.0333,1003.0234) || IsPlayerInRangeOfPoint(playerid, 3.0, 1837.0039,-1682.4351,13.3243)
    || IsPlayerInRangeOfPoint(playerid, 3.0, 493.4175,-24.8937,1000.6719) || IsPlayerInRangeOfPoint(playerid,3.0,246.8075,63.2147,1003.6406)
    {
    PlayerInfo[playerid][pEnterSperre] = 1;
    SetTimerEx("EnterSperre",5000,0,"i",playerid);
    }




    weis jemand was ich falsch gemacht habe? ich brauche dringend hilfe.

    Hallo Brotfische


    ich habe ein Headshot system von "ctac" runtergeladen, alles funktioniert super nur wie kann ich dies für die Hitmans machen also ich meine
    wenn die Hitmans einen Spieler töten der /contract war, bekommen die kein geld und da kommt auch keine nachricht "Hitman hat den aufrag erfüllt und bekommt $20.000"
    Kann mir einer helfen?



    diesen Headshot system habe ich


    [ FILTERSCRIPT ] HeadShot Script (Version 1.2)
    Ein Lob ist natürlich dabei. wenn mir jemand hilft und es auch funktioniert

    Abend ihr Fische.


    Ich habe ein kleines problem, unzwar funktioniert mein /carsell system nicht.
    Also das auto wird verkauft, auch entfernt. nur der Spieler bekommt kein Geld der sollte die hälfte bekommen
    aber der Spieler bekommt garnichts, kann mir einer helfen bitte?


    Danke im Vorraus.



    if(strcmp("/carsell", cmdtext, true, 10) == 0)
    {
    if(Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]])
    {
    GivePlayerMoney(playerid, floatround(PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarPreis] / 2));
    Dtc_Carlock[PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarId]] = 0;
    Dtc_UnLockCar(PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarId]);
    DestroyVehicle(PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarId]);
    new string3[32];
    new playername3[MAX_PLAYER_NAME];
    GetPlayerName(playerid, playername3, sizeof(playername3));
    format(string3, sizeof(string3), "/Autos/%s%d.dtcar", playername3,Dtc_PlayerKey[playerid]);
    fremove(string3);
    Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]] = 0;
    SendClientMessage(playerid, COLOR_YELLOW, "Du hast dein Fahrzeug verkauft, und bekommst Hälfte des Preises wieder.");
    }
    else{SendClientMessage(playerid, COLOR_GREY, " Du besitzt Kein Fahrzeug!");return 1;}
    return 1;
    }

    Hmm, dann muss ich ja in jeden account rein und das geld bei jedem auf 200k setten -.-
    das ist mies bei mir sind über 3K accs regestriert ......

    Hallo Brotfische


    Wie kann ich mit einem befehl so machen das bei jedem Spieler das geld auf 200K gesetzt wird auch bei denen die Offliene sind.

    Hier ist der Code:


    if(newstate == PLAYER_STATE_WASTED)
    {
    if(WantedLevel[playerid] >= 1)
    {
    new price = WantedLevel[playerid] * 2000;
    new count;
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i))
    {
    if(IsACop(i) && CrimInRange(70.0, playerid,i))
    {
    count = 1;
    format(string, sizeof(string), "~w~Verbrecher getötet ~g~$%d", price);
    GameTextForPlayer(i, string, 5000, 1);
    ConsumingMoney[i] = 1;
    FraktionsKasse[0] += price/2;
    FraktionsKasse[1] += price/2;
    FraktionsKasse[2] += price/2;
    PlayerPlaySound(i, 1058, 0.0, 0.0, 0.0);
    }
    }
    }
    if(count == 1)
    {
    if(WantedLevel[playerid] >= 6)
    {
    GivePlayerMoney(playerid, -price);
    PlayerInfo[playerid][pWantedDeaths] += 1;
    PlayerInfo[playerid][pJailed] = 2;
    PlayerInfo[playerid][pJailTime] = (WantedLevel[playerid] * 240);
    format(string, sizeof(string), "Du bist für %d Sekunden im Gefängnis und musst $%d bezahlen.", PlayerInfo[playerid][pJailTime], price);
    SendClientMessage(playerid, COLOR_LIGHTRED, string);
    WantedPoints[playerid] = 0;
    WantedLevel[playerid] = 0;
    SetPlayerVirtualWorld(playerid, 60);
    }
    else
    {
    GivePlayerMoney(playerid, -price);
    PlayerInfo[playerid][pWantedDeaths] += 1;
    PlayerInfo[playerid][pJailed] = 1;
    PlayerInfo[playerid][pJailTime] = (WantedLevel[playerid] * 240);
    format(string, sizeof(string), "Du bist für %d Sekunden im Gefängnis und musst $%d bezahlen.", PlayerInfo[playerid][pJailTime], price);
    SendClientMessage(playerid, COLOR_LIGHTRED, string);
    WantedPoints[playerid] = 0;
    WantedLevel[playerid] = 0;
    }
    }
    }
    }


    if(KnastTime[playerid] > 0)
    {
    SetPlayerToKnast(playerid,Knast[playerid]);
    SendClientMessage(playerid, COLOR_LIGHTRED, "Deine Strafe ist noch nicht vorbei, zurück in den Knast.");
    SetPlayerInterior(playerid,3);
    return 1;
    }
    if(PlayerInfo[playerid][pJailed] == 1)
    {
    SetPlayerInterior(playerid,3);
    SetPlayerPos(playerid,197.8290,161.8141,1003.0300);
    SetPlayerSkin(playerid, 62);
    SetCameraBehindPlayer(playerid);
    TogglePlayerControllable(playerid, 1);
    DestroyPickup(TotenKopf[playerid]);
    return 1;
    }
    if(PlayerInfo[playerid][pJailed] == 2)
    {
    SetPlayerInterior(playerid,0);
    SetPlayerSkin(playerid, 62);
    SetPlayerVirtualWorld(playerid, 0);
    SetCameraBehindPlayer(playerid);
    TogglePlayerControllable(playerid, 1);
    DestroyPickup(TotenKopf[playerid]);
    //SetPlayerPos(playerid,-2228.7432,1792.6576,5.0996);
    SetPlayerPos(playerid,-3208.0989,2552.2048,8.0815);
    return 1;
    }


    if(PlayerInfo[i][pJailed] > 0)
    {
    if(PlayerInfo[i][pJailTime] > 0)
    {
    PlayerInfo[i][pJailTime]--;
    }
    if(PlayerInfo[i][pJailTime] <= 0)
    {
    PlayerInfo[i][pJailTime] = 0;
    if(PlayerInfo[i][pJailed] == 1)
    {
    SetPlayerInterior(i,3);
    SetPlayerSkin(i, PlayerInfo[i][pChar]);
    SetPlayerPos(i,238.8609,177.9241,1003.0300);
    SetPlayerFacingAngle(i,-1587.2474);
    }
    else if(PlayerInfo[i][pJailed] == 2)
    {
    SetPlayerInterior(i, 0);
    SetPlayerSkin(i, PlayerInfo[i][pChar]);
    SetPlayerVirtualWorld(i, 0);
    SetPlayerPos(i, 1808.6899,-1569.0588,13.4676);
    }
    PlayerInfo[i][pJailed] = 0;
    SendClientMessage(i, COLOR_GRAD1,"Deine Gefängniszeit ist um.");
    SendClientMessage(i, COLOR_RED, "Benimm dich in Zukunft, sonst landest du wieder hier!");
    if(gTeam[i] == 4) { gTeam[i] = 3; }
    ClearCrime(i);
    }
    }



    if(IsACop(killerid))
    {
    if(GetPlayerWantedLevel(playerid) != 0)
    {
    new killername[MAX_PLAYER_NAME],sendername[MAX_PLAYER_NAME];
    GetPlayerName(playerid,sendername,MAX_PLAYER_NAME);
    GetPlayerName(killerid,killername,MAX_PLAYER_NAME);
    new todString[200];
    PlayerInfo[playerid][pJailed] = 1;
    format(todString,200,"* Officer %s hat den Verbrecher %s getötet!",killername,sendername);
    SendClientMessageToAll(COLOR_LIGHTRED,todString);
    }
    if(Maske[playerid] == 1)
    {
    new sendername[MAX_PLAYER_NAME];
    GetPlayerName(playerid,sendername,MAX_PLAYER_NAME);
    new todString[200];
    PlayerInfo[playerid][pJailed] = 1;
    format(todString,200," Maskierter hat den Verbrecher %s getötet!",sendername);
    SendClientMessageToAll(COLOR_LIGHTRED,todString);
    printf("%s", string);
    return 1;
    }
    }

    Hallo Brotfische.


    Ich habe ein Knast System gemacht, alles funktioniert ja, nur wenn der Spieler relog ist der dann nicht mehr im Knast
    bzw. wenn der spieler relogt dann wird der spieler entlassen, auch die nachricht kommt "Du wurdest entlassen benimm dich in der Zukunft."
    usw. kann mir einer diesen bug fixxen oder sagen wie das geht?


    Danke im vorraus