Beiträge von Mr.Soap

    Hei,Kennt jemand einen guten Textdraw Editor Textdraws kann ich garnicht es zeigt beim bsn Editor
    wenn ich es Einfüge net mal an... Hat jemand guten Editor


    //-------------SF8 Cars -----------------------
    SF8Car[1] = AddStaticVehicleEx(470,190.89999390,1919.50000000,17.79999924,0.00000000,0, 0, 1800); //Patriot
    SF8Car[2] = AddStaticVehicleEx(470,195.10000610,1919.50000000,17.79999924,0.00000000,0, 0, 1800); //Patriot
    SF8Car[3] = AddStaticVehicleEx(480,200.39999390,1919.00000000,17.60000038,0.00000000,0, 0, 1800); //Comet
    SF8Car[4] = AddStaticVehicleEx(480,204.10000610,1919.19995117,17.60000038,0.00000000,0, 0, 1800); //Comet
    SF8Car[5] = AddStaticVehicleEx(560,209.50000000,1918.90002441,17.39999962,0.00000000,0, 0, 1800); //Sultan
    SF8Car[6] = AddStaticVehicleEx(560,213.10000610,1919.00000000,17.39999962,0.00000000,0, 0, 1800); //Sultan
    SF8Car[7] = AddStaticVehicleEx(560,217.60000610,1918.80004883,17.39999962,0.00000000,0, 0, 1800); //Sultan
    SF8Car[8] = AddStaticVehicleEx(560,221.89999390,1919.19995117,17.39999962,0.00000000,0, 0, 1800); //Sultan
    SF8Car[9] = AddStaticVehicleEx(548,227.00000000,1891.09960938,19.50000000,0.00000000,0, 0, 1800); //Cargobob
    SF8Car[10] = AddStaticVehicleEx(548,202.39999390,1889.90002441,19.50000000,0.00000000,0, 0, 1800); //Cargobob
    SF8Car[11] = AddStaticVehicleEx(433,134.00000000,1839.69995117,18.20000076,0.00000000,0, 0, 1800); //Barracks
    SF8Car[12] = AddStaticVehicleEx(433,128.00000000,1839.80004883,18.20000076,0.00000000,0, 0, 1800); //Barracks
    SF8Car[13] = AddStaticVehicleEx(433,121.50000000,1839.59997559,18.20000076,0.00000000,0, 0, 1800); //Barracks
    SF8Car[14] = AddStaticVehicleEx(433,114.50000000,1839.59997559,18.20000076,0.00000000,0, 0, 1800); //Barracks
    SF8Car[15] = AddStaticVehicleEx(432,133.50000000,1854.90002441,17.79999924,0.00000000,0, 0, 1800); //Rhino
    SF8Car[16] = AddStaticVehicleEx(432,124.40000153,1854.90002441,17.79999924,0.00000000,0, 0, 1800); //Rhino
    SF8Car[17] = AddStaticVehicleEx(432,114.59999847,1854.00000000,17.79999924,0.00000000,0, 0, 1800); //Rhino
    SF8Car[18] = AddStaticVehicleEx(520,285.00000000,1954.40002441,18.60000038,272.00000000,0, 0, 1800); //Hydra
    SF8Car[19] = AddStaticVehicleEx(520,286.60000610,1988.59997559,18.60000038,271.99951172,0, 0, 1800); //Hydra
    SF8Car[20] = AddStaticVehicleEx(520,286.70001221,2022.59997559,18.60000038,271.99951172,0, 0, 1800); //Hydra
    SF8Car[21] = AddStaticVehicleEx(520,307.00000000,2048.39990234,18.60000038,179.99951172,0, 0, 1800); //Hydra
    SF8Car[23] = AddStaticVehicleEx(447,225.69999695,1859.09997559,20.70000076,0.00000000,0, 0, 1800); //Seasparrow
    SF8Car[24] = AddStaticVehicleEx(447,213.30000305,1859.09997559,20.70000076,0.00000000,0, 0, 1800); //Seasparrow
    SF8Car[25] = AddStaticVehicleEx(447,201.10000610,1859.30004883,20.70000076,0.00000000,0, 0, 1800); //Seasparrow
    SF8Car[26] = AddStaticVehicleEx(490,256.89999390,1812.40002441,18.00000000,0.00000000,0, 0, 1800); //FBI Rancher
    SF8Car[27] = AddStaticVehicleEx(578,270.29998779,1831.30004883,18.39999962,179.99450684,0, 0, 1800); //DFT-30
    SF8Car[28] = AddStaticVehicleEx(578,253.80000305,1831.59997559,18.39999962,179.99450684,0, 0, 1800); //DFT-30
    SF8Car[29] = AddStaticVehicleEx(490,251.19999695,1812.59997559,18.00000000,0.00000000,0, 0, 1800); //FBI Rancher
    SF8Car[30] = AddStaticVehicleEx(490,245.60000610,1812.59997559,18.00000000,0.00000000,0, 0, 1800); //FBI Rancher
    SF8Car[31] = AddStaticVehicleEx(490,239.80000305,1812.80004883,18.00000000,0.00000000,0, 0, 1800); //FBI Rancher
    SF8Car[32] = AddStaticVehicleEx(490,234.00000000,1812.90002441,18.00000000,0.00000000,0, 0, 1800); //FBI Rancher

    Hei,weder die Message kommt wenn ich net in der Frak bin noch werde ich rausgeworfen...



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




    public OnPlayerStateChange(playerid, newstate, oldstate)
    {
    if(newstate == PLAYER_STATE_DRIVER)
    {
    if(GetPlayerVehicleID(playerid) == IsASF8Car(GetPlayerVehicleID(playerid)))
    {
    if(!SF8Member(playerid))
    {
    SendClientMessage(playerid,GELB,"Du bist kein Mitglied der SF8");
    RemovePlayerFromVehicle(playerid);
    return 1;
    }
    }
    }
    return 1;
    }



    ?( bekomme es net hin


    if(response== 1)
    {
    if(strval(inputtext))
    {
    new pID = Ueberweiser[playerid];
    new str[128],str2[128],str3[128];
    if(PlayerInfo[playerid][pKonto] < strval(inputtext))return SendClientMessage(playerid,WHITE,"Du hast nicht genug {00FF00}Geld{FFFFFF} auf dem Konto!");
    PlayerInfo[playerid][pKonto] -= strval(inputtext);
    PlayerInfo[pID][pKonto] += strval(inputtext);
    format(str,sizeof(str),"Sie haben {00FF00}%d${FFFFFF} auf das Konto von %s überwiesen",strval(inputtext),SpielerName[pID]);
    format(str2,sizeof(str2),"%s hat ihnen {00FF00}%d${FFFFFF} auf ihr Konto überwiesen",SpielerName[playerid],strval(inputtext));
    SendClientMessage(pID,0xC8C8C8FF,str2);
    SpielerSpeichern(playerid);



    Wenn ich DIe Zeille ausblende kommen in der Nächsten (anderers str2) die Gleichen...
    Ich hab Irgendwas Übersehen... finde den error net


    Danke Für alle die Helfen


    MFG Arendium

    Den NPC musste selber erstellen und in per Timer Aktivieren dan über PutPlayerInVehicle ins NPC Fahrzeug Mooven und TogglePlayerControllable(playerid,0);
    Dan ist er gefreezt und kann net austeigen und nach Tutorial Entfreezen (TogglePlayerControllable(playerid,1); ) und RemovePlayerFromVehicle


    if(dialogid==DIALOG_EINZAHLEN)
    {
    if(response== 0)
    {
    SendClientMessage(playerid,GRAU,"** Abgebrochen");
    }


    if(response== 1)
    {
    if(strval(inputtext))
    {


    ShowPlayerDialog(playerid, DIALOG_EINZAHLEN, DIALOG_STYLE_INPUT, "Einzahlen", "{00FF00}Wie viel wollen sie Einzahlen ?", "Einzahlen", "Abbrechen");



    }
    else
    {
    new geld;
    geld = strval(inputtext);
    PlayerInfo[playerid][pKonto] = geld;//hier
    SpielerSpeichern(playerid);
    }


    return 1;
    }
    }

    Wie kann ich es machen das es das geld ADDIERT nicht ändert mit + vor Geld kommt:


    PHP
    C:\Program Files (x86)\LogMeIn Hamachi\MrMonat\gamemodes\tutorial.pwn(1010) : error 029: invalid expression, assumed zero
    C:\Program Files (x86)\LogMeIn Hamachi\MrMonat\gamemodes\tutorial.pwn(1010) : warning 215: expression has no effect
    Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase
    
    
    
    
    1 Error.


    if(dialogid==DIALOG_EINZAHLEN)
    {
    if(response== 0)
    {
    SendClientMessage(playerid,GRAU,"** Abgebrochen");
    }


    if(response== 1)
    {
    if(!strlen(inputtext))
    {
    ShowPlayerDialog(playerid, DIALOG_EINZAHLEN, DIALOG_STYLE_INPUT, "Einzahlen", "{00FF00}Wie viel wollen sie Einzahlen ?", "Einzahlen", "Abbrechen");
    PlayerInfo[playerid][pKonto] =

    }
    else
    {
    PlayerInfo[playerid][pKonto] = inputtext;
    }
    return 1;
    }


    Doch dan kommt ein Arraj Irgendwas fehler...

    Hei durch hilfe habe ich ein Simples Zinsensystem:



    new oldmoney = GetPlayerMoney(playerid);
    new newmoney = oldmoney*0.2;
    GivePlayerMoney(playerid, newmoney);
    return 1;


    Doch 0,2 (Allgeimein Kommazahlen)
    gehen dabei leider Nicht wie Lässt sich das
    Machen den ich kenne einen Server,da ist es so...


    //Erledigt habe was Gefunden danke,falls jemand helfen wollte