Beiträge von IntelCore.I7

    if(PlayerInfo[playerid][pJob] == 7)
    {
    ShowPlayerDialog(playerid,DIALOG_MECH, DIALOG_STYLE_LIST, "{FFFFFF}Mechaniker Befehle", "/refill (Um ein Auto aufzufüllen)\n/repair (Um ein Auto zu reparieren)\n/accept Mechaniker (Um einen Job anzunehmen)", "Zurück", "Beenden");
    }

    if(dialogid == MECHANIKER)
    {
    if(response == 0)
    {
    SendClientMessage(playerid, COLOR_GRAD1, "Abgebrochen.");
    }
    if(response == 1)
    {
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Herzlichen Glückwunsch du bist jetzt Mechaniker.");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Befehle zu deinem Job findest du unter /help.");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "*Du musst mindestens 1 Stunde als Mechaniker arbeiten.");
    GettingJob[playerid] = 7;
    }


    damit bekommt er den job


    if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "Um deine Stats zu betrachten Tipp /stats!"); return 1; }
    new jtext[20];
    if(PlayerInfo[giveplayerid][pJob] == 1) { jtext = "Dedektiv"; }
    else if(PlayerInfo[giveplayerid][pJob] == 2) { jtext = "Anwalt"; }
    else if(PlayerInfo[giveplayerid][pJob] == 3) { jtext = "Hure"; }
    else if(PlayerInfo[giveplayerid][pJob] == 4) { jtext = "Drogen Dealer"; }
    else if(PlayerInfo[giveplayerid][pJob] == 5) { jtext = "Autodieb"; }
    else if(PlayerInfo[giveplayerid][pJob] == 6) { jtext = "Farmer"; }
    else if(PlayerInfo[giveplayerid][pJob] == 7) { jtext = "Mechaniker"; }
    else if(PlayerInfo[giveplayerid][pJob] == 8) { jtext = "Bodyguard"; }
    else if(PlayerInfo[giveplayerid][pJob] == 9) { jtext = "Waffendealer"; }
    else if(PlayerInfo[giveplayerid][pJob] == 10) { jtext = "Autodealer"; }
    else if(PlayerInfo[giveplayerid][pJob] == 12) { jtext = "Boxer"; }
    else if(PlayerInfo[giveplayerid][pJob] == 14) { jtext = "Taxifahrer"; }
    else if(PlayerInfo[giveplayerid][pJob] == 15) { jtext = "Zeitungs Junge"; }
    else if(PlayerInfo[giveplayerid][pJob] == 16) { jtext = "Pilot"; }
    else if(PlayerInfo[giveplayerid][pJob] == 17) { jtext = "Muellmann"; }
    else if(PlayerInfo[giveplayerid][pJob] == 18) { jtext = "Farmer"; }



    so solls in den stats sein.

    Tagchen.


    Und zwar läuft irgendwas bei mir falsch. Ich kann den beruf Mechaniker im Job Center auswählen.


    Habe ich ihn ausgewählt wird er auch erfolgreich abgerufen. Heisst es kommt der text beim Akzeptieren.


    Doch wenn ich nun Jobhelp mache oder /stats steht dort das ich anwalt bin.


    Obwohl überall definiert ist das man den Job Mechaniker bekommt.


    Ich weiss nich genau welche zeilen ihr alles braucht. Kann alles raussuchen.

    Is ja auch egal :D FUnktioniert aufjedenfall.


    Ich habe hier noch ne Frage. Und zwar wie genau schreibe ich es jetzt hoierzu das der Medic eine Anim macht.


    Und das er sie so 3 sek macht also das er kniet drückt und wieder aufsteht :D


    Und vllt kann mir dabei einer helfen. Es ist zurzeit so das wenn man tot is eine Crack anim macht. Diese hebt sich aber nicht auf erst bei einmal springen. Obwohl ich doch Clearanims habe.


    if (strcmp(cmd, "/wiederbeleben", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if (PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
    {
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i) && PlayerInfo[i][pTot] == 1 && PlayerToPoint(5.0,playerid,PlayerInfo[i][pTx],PlayerInfo[i][pTy],PlayerInfo[i][pTz]))
    {
    new pname[256];
    GetPlayerName(i, pname, 256);
    format(string, 256, "Du hast %s, wiederbelebt! Du bekommst 150$",pname);
    SendClientMessage(playerid, COLOR_GREEN, string);
    GivePlayerMoney(playerid,150);
    GetPlayerName(playerid, pname, 256);
    format(string, 256, "Arzt %s hat dich wiederbelebt! Du zahlst 150$",pname);
    SendClientMessage(i, COLOR_RED, string);
    GivePlayerMoney(i,-150);
    PlayerInfo[i][pTot] = 0;
    pIstTot[i] = 0;
    SetPlayerPos(i,PlayerInfo[i][pTx],PlayerInfo[i][pTy],PlayerInfo[i][pTz]);
    SetCameraBehindPlayer(i);
    DestroyPickup(TotenKopf[i]);
    TogglePlayerControllable(i,1);
    UnFreezePlayer(i);
    ClearAnimations(playerid);
    PlayerInfo[i][pTx] = 0.0;
    PlayerInfo[i][pTy] = 0.0;
    PlayerInfo[i][pTz] = 0.0;
    new Float:tempheal;
    GetPlayerHealth(i,tempheal);
    SetPlayerHealth(i,15.0);
    }
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_GRAD1, " Du bist kein Arzt!");
    }
    }
    return 1;
    }

    Also zu deinem Mann kann nicht zu viel haben. Bei mir war es so das ich alle Ampeln entfernt hatte und diese eingefügt habe. Dann konnte ich mich nicht mehr anmelden also beim Login.


    Zu dem mit den Filterscript habe alle Removes in OnplayerConnect eingefügt.


    Und zum 3ten Danke dafür.

    Hey leute hab ne Kurze frage. Und zwar habe ich gemerkt das ich zu viele RemoveBuildingsForPlayer habe.


    Und meine Frage ist nun klappt es irgendwie das zu umgehen ?


    Also ich habe es mit einem Filterscript versucht.


    Aber dort werden die RemoveBuildings nicht geladen.


    Den ich wollte gerne Alle Ampeln Entfernen und dachte jemand weiss vielleicht rat.

    Die Errors wenn ich es so hab.


    C:\Users\Tjalf\Desktop\Play Your Life\Play Your Life\gamemodes\PYL.pwn(4020) : error 029: invalid expression, assumed zero
    C:\Users\Tjalf\Desktop\Play Your Life\Play Your Life\gamemodes\PYL.pwn(4020) : error 017: undefined symbol "RemoveObject"
    C:\Users\Tjalf\Desktop\Play Your Life\Play Your Life\gamemodes\PYL.pwn(4021) : error 029: invalid expression, assumed zero
    C:\Users\Tjalf\Desktop\Play Your Life\Play Your Life\gamemodes\PYL.pwn(4021) : error 017: undefined symbol "RemoveObject"
    C:\Users\Tjalf\Desktop\Play Your Life\Play Your Life\gamemodes\PYL.pwn(4023) : error 091: ambiguous constant; tag override is required (symbol "ID")


    new ObjectStatus[MAX_PLAYERS];


    SetTimerEx("RemoveObject",1000*5,1,"ii",playerid,ObjectStatus[playerid]);


    forward RemoveObject(playerid,ID);
    public RemoveObject(playerid,ID)
    {
    switch(ID)
    {
    case 0:
    {
    RemoveBuildingForPlayer(playerid, 1283, 1193.1328, -1851.4688, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1174.1016, -1835.5000, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1411.2188, -1872.9297, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1405.1563, -1871.6016, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1373.4609, -1872.2266, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1388.3906, -1855.6719, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1427.3047, -1890.2891, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1442.9375, -1871.4219, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1518.8047, -1873.3828, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1311.2734, -1746.1172, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1345.7656, -1740.6172, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1325.7109, -1732.8281, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1335.1953, -1731.7813, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1357.5156, -1732.9375, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1376.5156, -1731.8516, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1388.3594, -1745.4453, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1441.8594, -1733.0078, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1403.3672, -1733.0078, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1414.4141, -1731.4297, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1430.1719, -1719.4688, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1513.2344, -1732.9219, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1428.9375, -1605.8203, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1416.5859, -1591.7422, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1428.8984, -1577.1328, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1443.2031, -1592.9453, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1453.6016, -1455.9063, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1455.2578, -1427.5156, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1469.5625, -1441.5391, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1516.1641, -1591.6563, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1530.8828, -1883.2344, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1553.9844, -1873.0703, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1539.9297, -1871.6406, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1568.9297, -1855.1094, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1585.6797, -1871.6719, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1568.8828, -1745.4766, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1545.7656, -1731.6719, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1582.6719, -1733.1328, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1688.9141, -1826.5078, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1690.0938, -1796.8516, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1702.9141, -1813.1094, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1688.8672, -1745.4688, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1672.0156, -1731.5234, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1690.2109, -1718.5781, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1701.9922, -1732.8750, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1762.7891, -1732.8281, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1736.5313, -1731.7969, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1750.2656, -1719.6328, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1528.9531, -1605.8594, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1544.6250, -1593.0313, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1664.9063, -1593.1250, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1646.6016, -1591.6875, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1658.5313, -1583.3203, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1676.7813, -1591.6094, 15.5859, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1658.5469, -1533.6172, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1658.7344, -1469.3750, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1657.6016, -1449.5781, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1646.4375, -1441.4531, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1670.3594, -1480.9375, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1667.4688, -1441.3672, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1703.9063, -1593.6719, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1744.4922, -1598.3359, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1700.8672, -1440.3203, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1715.4453, -1428.4766, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1731.2188, -1441.3281, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1753.4453, -1610.8281, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1765.0781, -1604.1875, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1767.8359, -1455.5859, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1762.8047, -1443.7578, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1781.3906, -1450.5625, 15.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1453.5391, -1307.4688, 15.6172, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1462.6328, -1296.7578, 15.6172, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1597.0938, -1296.7969, 19.4844, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1447.5313, -1238.5391, 15.6172, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1452.5078, -1248.1719, 15.6172, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1611.7344, -1311.2734, 19.4922, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1722.8750, -1302.0391, 15.6172, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1711.9766, -1291.9453, 15.5625, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1453.2578, -1168.8672, 25.8672, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1463.3984, -1159.5156, 25.9922, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1488.9531, -1162.4219, 26.1484, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1479.9297, -1152.8438, 26.2734, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1479.3047, -1042.0781, 25.7500, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1575.4688, -1152.5859, 26.1953, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1585.8828, -1162.0313, 26.1328, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1490.2969, -1031.6641, 25.9922, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1716.8672, -1169.8672, 25.8984, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1707.0625, -1159.1016, 25.8359, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1810.3125, -2170.2891, 15.5547, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1835.6563, -2162.6719, 15.5547, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1819.5000, -2154.6094, 15.5547, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1962.5625, -1974.0938, 15.4688, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1948.2344, -1931.6641, 15.5078, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1975.6953, -1933.0781, 15.5078, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1962.1953, -1919.2266, 15.5547, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2228.0859, -2506.7734, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2213.9297, -2498.3984, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2222.1875, -2484.6094, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2313.3047, -2333.0938, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2317.2109, -2348.6875, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2333.1484, -2344.5938, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2329.0859, -2328.6875, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2192.9297, -2175.4141, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2189.0234, -2159.8203, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2208.8672, -2171.3203, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2204.8047, -2155.4141, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2274.1016, -2304.6719, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2289.7813, -2301.0078, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1284, 2294.8984, -2278.1719, 15.7188, 0.25);
    RemoveBuildingForPlayer(playerid, 1374, 2266.8359, -2242.9219, 14.1016, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2283.7188, -2254.6953, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1373, 2283.8125, -2243.4453, 15.3125, 0.25);
    RemoveBuildingForPlayer(playerid, 1374, 2284.4766, -2241.8516, 14.1016, 0.25);
    RemoveBuildingForPlayer(playerid, 1284, 2303.2969, -2252.3984, 15.7188, 0.25);
    RemoveBuildingForPlayer(playerid, 1373, 2267.5000, -2241.3281, 15.3125, 0.25);
    RemoveBuildingForPlayer(playerid, 1373, 2259.8906, -2111.3359, 15.3125, 0.25);
    RemoveBuildingForPlayer(playerid, 1374, 2261.4766, -2112.0000, 14.1016, 0.25);
    RemoveBuildingForPlayer(playerid, 1373, 2262.0000, -2095.0234, 15.3125, 0.25);
    RemoveBuildingForPlayer(playerid, 1374, 2260.4063, -2094.3594, 14.1016, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2277.5625, -2090.4219, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2293.5000, -2086.3359, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2273.6563, -2074.8359, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2289.4375, -2070.4297, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2216.8281, -1983.3750, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2302.5859, -1975.3516, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2402.5078, -1975.4844, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2410.7656, -1998.8047, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2416.6641, -1983.8672, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2416.6641, -2020.9688, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2210.9297, -1961.2109, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2084.5313, -1905.4922, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2092.9141, -1891.3750, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1374, 2194.7578, -1901.1016, 14.1016, 0.25);
    RemoveBuildingForPlayer(playerid, 1373, 2194.1016, -1899.5078, 15.3125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2207.4297, -1897.1172, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1373, 2207.1328, -1889.4688, 15.3125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2078.6328, -1883.3281, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1374, 2206.4766, -1887.8750, 14.1016, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2215.6953, -1883.3281, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2225.2109, -1969.2500, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2221.5938, -1905.4922, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2229.9688, -1891.3750, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2329.5469, -1969.9688, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2311.2266, -1954.4531, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2410.7656, -1961.7031, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2416.6641, -1943.3281, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2672.5938, -2506.8594, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2680.8594, -2493.0781, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2686.7578, -2416.6250, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2672.5938, -2408.2500, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1284, 2701.7734, -2168.9297, 13.2422, 0.25);
    RemoveBuildingForPlayer(playerid, 1284, 2725.9375, -2156.6406, 13.2422, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2425.0469, -2006.8438, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2425.0469, -1929.2031, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2505.4375, -1935.1484, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2513.6953, -1921.3594, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2527.9766, -1929.3984, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2711.1641, -2144.5625, 13.3359, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2702.9063, -2052.0156, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2717.0703, -2060.3984, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2711.1641, -2038.2344, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2725.4453, -2046.2734, 15.8203, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2702.9063, -2007.2969, 15.8203, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2717.0703, -2015.6719, 15.8203, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2711.1641, -1983.3828, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2725.4453, -1991.4297, 15.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2812.1484, -2052.0156, 13.3750, 0.25);
    RemoveBuildingForPlayer(playerid, 1315, 2820.3359, -2038.5938, 13.3750, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1852.5938, -1351.9844, 15.6406, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1862.7188, -1340.1953, 15.6406, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1976.1328, -1341.8125, 26.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1846.2422, -1329.1094, 15.6406, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1987.8672, -1352.6172, 26.2109, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1999.0781, -1340.0625, 26.0313, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 2055.7188, -1341.5000, 26.1094, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 2066.1641, -1329.9688, 26.0313, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 2072.4531, -1351.8672, 26.0156, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 2072.4219, -1312.1641, 26.0391, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 2082.8906, -1300.2656, 26.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1852.5391, -1272.3672, 15.5938, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1862.9453, -1260.1016, 15.6016, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1964.0703, -1261.4453, 25.9609, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1987.3984, -1260.3828, 26.0234, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1846.1641, -1249.5469, 15.6406, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1975.6484, -1249.5938, 26.2109, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 2066.3594, -1290.2578, 26.0078, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 2072.3984, -1271.7031, 26.0156, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 2055.3516, -1261.4453, 26.1094, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 2066.2578, -1249.8047, 26.0313, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 2072.6172, -1232.4609, 26.0938, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 2066.1406, -1210.5625, 26.0391, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 2082.3672, -1220.2344, 26.1016, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1871.6563, -1147.4063, 26.1016, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1958.7031, -1140.3438, 28.1250, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1974.6875, -1146.8516, 28.0625, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1981.9141, -1131.4297, 28.0859, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1878.4141, -1131.1016, 26.1016, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1862.1094, -1123.4922, 26.1016, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1966.2031, -1124.6875, 28.0078, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1969.2969, -1053.8906, 26.7109, 0.25);
    RemoveBuildingForPlayer(playerid, 1283, 1984.2891, -1066.0391, 26.7109, 0.25);
    ObjectStatus[playerid] ++;
    }

    wenn ich es änder is es mit den Errors.


    C:\Users\Tjalf\Desktop\Play Your Life\Play Your Life\gamemodes\PYL.pwn(4018) : error 029: invalid expression, assumed zero
    C:\Users\Tjalf\Desktop\Play Your Life\Play Your Life\gamemodes\PYL.pwn(4018) : error 004: function "RemoveObejct" is not implemented
    C:\Users\Tjalf\Desktop\Play Your Life\Play Your Life\gamemodes\PYL.pwn(4020) : error 091: ambiguous constant; tag override is required (symbol "ID")


    Das hier ist Zeile 4018
    public RemoveObejct(ID)


    Und Das hier 4020
    switch(ID)

    Habe jetzt alles eingefügt.


    C:\Users\Tjalf\Desktop\Play Your Life\Play Your Life\gamemodes\PYL.pwn(4016) : error 029: invalid expression, assumed zero
    C:\Users\Tjalf\Desktop\Play Your Life\Play Your Life\gamemodes\PYL.pwn(4016) : error 017: undefined symbol "RemoveObejcte"
    C:\Users\Tjalf\Desktop\Play Your Life\Play Your Life\gamemodes\PYL.pwn(4018) : error 091: ambiguous constant; tag override is required (symbol "ID")

    Tagchen.


    Also folgendes ich habe einige RemoveBuildings ins Script eingefügt.


    Starte das Script neu und kann mich nicht Einloggen. Ich Sehe das fenster aber kann nicht draufklicken geschweige den etwas schreiben.


    Keine Errors keine Warnings im Script.


    Kann es mir nicht ganz erklären.

    So habe nun alles umgeschrieben. Nun kommen nurnoch diese hier....


    C:\Users\Tjalf\Desktop\Play Your Life\Play Your Life\gamemodes\PYL.pwn(6865) : warning 225: unreachable code
    C:\Users\Tjalf\Desktop\Play Your Life\Play Your Life\gamemodes\PYL.pwn(19790) : error 017: undefined symbol "playerid"
    C:\Users\Tjalf\Desktop\Play Your Life\Play Your Life\gamemodes\PYL.pwn(19791) : error 017: undefined symbol "playerid"
    C:\Users\Tjalf\Desktop\Play Your Life\Play Your Life\gamemodes\PYL.pwn(19792) : error 017: undefined symbol "playerid"
    C:\Users\Tjalf\Desktop\Play Your Life\Play Your Life\gamemodes\PYL.pwn(19793) : error 017: undefined symbol "playerid"
    C:\Users\Tjalf\Desktop\Play Your Life\Play Your Life\gamemodes\PYL.pwn(19794) : error 017: undefined symbol "playerid"
    C:\Users\Tjalf\Desktop\Play Your Life\Play Your Life\gamemodes\PYL.pwn(19795) : error 017: undefined symbol "playerid"
    C:\Users\Tjalf\Desktop\Play Your Life\Play Your Life\gamemodes\PYL.pwn(19796) : error 017: undefined symbol "playerid"
    C:\Users\Tjalf\Desktop\Play Your Life\Play Your Life\gamemodes\PYL.pwn(19797) : error 017: undefined symbol "playerid"
    C:\Users\Tjalf\Desktop\Play Your Life\Play Your Life\gamemodes\PYL.pwn(19798) : error 017: undefined symbol "playerid"


    Zeilen sind diese.


    Copyright = CreatePlayerTextDraw(playerid,27.000000, 424.000000, "Payday : 0/60");
    PlayerTextDrawAlignment(playerid,Copyright,0);
    PlayerTextDrawBackgroundColor(playerid,Copyright,0x000000FF);
    PlayerTextDrawFont(playerid,Copyright, 3);
    PlayerTextDrawLetterSize(playerid,Copyright, 0.340000, 1.600000);
    PlayerTextDrawColor(playerid,Copyright, 0xEB0000FF);
    PlayerTextDrawSetOutline(playerid,Copyright, 1);
    PlayerTextDrawSetProportional(playerid,Copyright, 1);
    PlayerTextDrawShow(playerid,Copyright);

    Jeffry: @[MRPG]AyKut:


    Also zu Jeffry seiner frage. Die Errors kommen hier.


    Copyright = CreatePlayerTextDraw(playerid,27.000000, 424.000000, "Payday : 0/60");
    PlayerTextDrawAlignment(playerid,Copyright,0);
    PlayerTextDrawBackgroundColor(playerid,Copyright,0x000000FF);
    PlayerTextDrawFont(playerid,Copyright, 3);
    PlayerTextDrawLetterSize(playerid,Copyright, 0.340000, 1.600000);
    PlayerTextDrawColor(playerid,Copyright, 0xEB0000FF);
    PlayerTextDrawSetOutline(playerid,Copyright, 1);
    PlayerTextDrawSetProportional(playerid,Copyright, 1);
    PlayerTextDrawShow(playerid,Copyright);


    Und zu dir Aykut das funktioniert nicht ganz. Kommen die selben errors.

    Copyright = TextDrawCreate(27.000000, 424.000000, "PayDay in : %d/60");
    TextDrawAlignment(Copyright[playerid],0);
    TextDrawBackgroundColor(Copyright[playerid],0x000000FF);
    TextDrawFont(Copyright[playerid], 3);
    TextDrawLetterSize(Copyright[playerid], 0.340000, 1.600000);
    //TextDrawColor(Copyright[playerid], 0xEB0000FF);
    TextDrawSetOutline(Copyright[playerid], 1);
    TextDrawSetProportional(Copyright[playerid], 1);
    TextDrawShowForAll(Copyright[playerid]);


    so war es vorher.


    Wenn ich es ohne die Playerid mache.


    Kommen 8x Diese errors in den zeilen oben^^.


    error 033: array must be indexed (variable "Copyright")
    error 035: argument type mismatch (argument 1)

    Also ich komme gerade nich so ganz klar :D


    Ich versuche es so zu ändern wie du sagst doch dann kommen 15 errors.


    Also was ich zurzeit habe is.




    new PlayerText:Copyright[MAX_PLAYERS];


    Das steht bei onplayercennect


    TextDrawShowForPlayer(playerid,Copyright);


    Das bei OnplayerSpawn


    TextDrawShowForPlayer(playerid,Copyright);


    Copyright = TextDrawCreate(27.000000, 424.000000, "PayDay in : %d/60");
    TextDrawAlignment(Copyright,0);
    TextDrawBackgroundColor(Copyright,0x000000FF);
    TextDrawFont(Copyright, 3);
    TextDrawLetterSize(Copyright, 0.340000, 1.600000);
    //TextDrawColor(Copyright, 0xEB0000FF);
    TextDrawSetOutline(Copyright, 1);
    TextDrawSetProportional(Copyright, 1);
    TextDrawShowForAll(Copyright);


    new string21[64];
    format(string,sizeof(string21),"Payday: %d/60",PlayerInfo[playerid][pPlayMinutes]/*ersetzten mit deiner PayDay Variable*/);
    PlayerTextDrawSetString(playerid,Copyright,string21);