Beiträge von GNRPD

    Hallo


    Ich habe eine frage
    wie kann ich eine GetPVarInt Abfrage machen aber mit 0 < > 5 beispiel


    if(GetPVarInt(playerid,"beispiel")==0) so aber halt mit von bis allso zumbeispiel bei



    onplayerconnect untersucht er ob der spieler von 0 < > 10 points hat oder so
    es muss aufjeden fall von dini ausgelesen werden


    bitte hilfe



    MfG

    so oder wie ???
    if (x > minx 50.3189 < maxx 1562.4757, > miny 12.7560 < maxy) return
    der gibt mir mehr errors
    kannst du mir nicht ein fertiges schicken dan ändere ich das einfach


    // EDIT
    habs jetzt geschafft danke an alle :D

    asoo okey


    Danke


    und wie weit ist der makierte punkt dan ?
    zb ich schreib da ein codinatien rein wie weit ist es dan


    // EDIT
    hab 2 errors



    error 017: undefined symbol "minx"
    error 010: invalid function or declaration

    Hallo Leute hab ein kleines Problem


    Die normalen If abfragen kenn ich ja
    aber wie fragt man alle spieler ab
    zb
    public TIMER()
    {
    if( // und was muss ich hier reinschreiben ? man macht ja normaler weise playerid und so weiter aber ich will alle spieler abfragen wie geht
    das
    return 1;
    }


    ich hoffe jemand beantwortet mir die frage danke

    Hallo


    ich habe einpaar fragen und wäre sehr dankbar wen mir sie jemand beantworten würde



    Frage1:
    Wie kann ich zumbeispiel machen das wen man in eine Arena kommt das man in 2 Positionen spawnen kann


    Frage2:
    Wie kann machen das wen man in eine arena geht das man automatisch auf eine seite gespawnt wird
    wo weniger leute sind alls auf der anderen seite
    +
    wie kann ich machen das man in andere maps gespawnt wird aber nur 1 befehl dafür genutzt wird


    allso ich mache das mit dialog
    man wählt zumbeispiel "Gangwar" dan wird man wo hingeportet nach ka 10 min andere map
    und so weiter


    ich wäre wie gesagt sehr dankbar für eine antwort


    //EDIT gibt ein zufalls sys oder so ?


    MfG

    stock Level(playerid,Kills){ switch(GetPVarInt(playerid,"Kills")){ case 25: { SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,5000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 25 Kills Gemacht du erhälst $5.000 geschenk"); SpielerSpeichern(playerid); } case 50: { if(GetPVarInt(playerid,"Kills")==50) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,10000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 50 Kills Gemacht du erhälst $10.000 geschenk"); SpielerSpeichern(playerid); } case 75: { if(GetPVarInt(playerid,"Kills")==75) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,15000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 75 Kills Gemacht du erhälst $15.000 geschenk"); SpielerSpeichern(playerid); } case 100: { if(GetPVarInt(playerid,"Kills")==100) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,20000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 100 Kills Gemacht du erhälst $20.000 geschenk"); SpielerSpeichern(playerid); } case 150: { if(GetPVarInt(playerid,"Kills")==150) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,25000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 150 Kills Gemacht du erhälst $25.000 geschenk"); SpielerSpeichern(playerid); } case 200: { if(GetPVarInt(playerid,"Kills")==200) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,30000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 200 Kills Gemacht du erhälst $30.000 geschenk"); SpielerSpeichern(playerid); } case 250: { if(GetPVarInt(playerid,"Kills")==250) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,35000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 250 Kills Gemacht du erhälst $35.000 geschenk"); SpielerSpeichern(playerid); } case 300: { if(GetPVarInt(playerid,"Kills")==300) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,40000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 300 Kills Gemacht du erhälst $40.000 geschenk"); SpielerSpeichern(playerid); } case 350: { if(GetPVarInt(playerid,"Kills")==350) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,45000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 350 Kills Gemacht du erhälst $45.000 geschenk"); SpielerSpeichern(playerid); } case 400: { if(GetPVarInt(playerid,"Kills")==400) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,50000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 400 Kills Gemacht du erhälst $50.000 geschenk"); SpielerSpeichern(playerid); } case 450: { if(GetPVarInt(playerid,"Kills")==450) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,55000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 450 Kills Gemacht du erhälst $55.000 geschenk"); SpielerSpeichern(playerid); } case 500: { if(GetPVarInt(playerid,"Kills")==500) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,60000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 500 Kills Gemacht du erhälst $60.000 geschenk"); SpielerSpeichern(playerid); } case 550: { if(GetPVarInt(playerid,"Kills")==550) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,65000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 550 Kills Gemacht du erhälst $65.000 geschenk"); SpielerSpeichern(playerid); } case 600: { if(GetPVarInt(playerid,"Kills")==600) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,70000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 600 Kills Gemacht du erhälst $70.000 geschenk"); SpielerSpeichern(playerid); } case 650: { if(GetPVarInt(playerid,"Kills")==650) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,75000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 650 Kills Gemacht du erhälst $75.000 geschenk"); SpielerSpeichern(playerid); } case 700: { if(GetPVarInt(playerid,"Kills")==700) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,80000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 700 Kills Gemacht du erhälst $80.000 geschenk"); SpielerSpeichern(playerid); } case 750: { if(GetPVarInt(playerid,"Kills")==750) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,85000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 750 Kills Gemacht du erhälst $85.000 geschenk"); SpielerSpeichern(playerid); } case 800: { if(GetPVarInt(playerid,"Kills")==800) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,90000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 800 Kills Gemacht du erhälst $90.000 geschenk"); SpielerSpeichern(playerid); } case 850: { if(GetPVarInt(playerid,"Kills")==850) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,95000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 850 Kills Gemacht du erhälst $95.000 geschenk"); SpielerSpeichern(playerid); } case 900: { if(GetPVarInt(playerid,"Kills")==900) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,100000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 900 Kills Gemacht du erhälst $100.000 geschenk"); SpielerSpeichern(playerid); } case 950: { if(GetPVarInt(playerid,"Kills")==950) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,105000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 950 Kills Gemacht du erhälst $105.000 geschenk"); SpielerSpeichern(playerid); } case 1000: { if(GetPVarInt(playerid,"Kills")==1000) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,110000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 1000 Kills Gemacht du erhälst $110.000 geschenk"); SpielerSpeichern(playerid); } case 1100: { if(GetPVarInt(playerid,"Kills")==1100) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,120000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 1100 Kills Gemacht du erhälst $120.000 geschenk"); SpielerSpeichern(playerid); } case 1200: { if(GetPVarInt(playerid,"Kills")==1200) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,130000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 1200 Kills Gemacht du erhälst $130.000 geschenk"); SpielerSpeichern(playerid); } case 1300: { if(GetPVarInt(playerid,"Kills")==1300) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,140000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 1300 Kills Gemacht du erhälst $140.000 geschenk"); SpielerSpeichern(playerid); } case 1400: { if(GetPVarInt(playerid,"Kills")==1400) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,150000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 1400 Kills Gemacht du erhälst $150.000 geschenk"); SpielerSpeichern(playerid); } case 1500: { if(GetPVarInt(playerid,"Kills")==1500) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,160000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 1500 Kills Gemacht du erhälst $160.000 geschenk"); SpielerSpeichern(playerid); } case 1600: { if(GetPVarInt(playerid,"Kills")==1600) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,170000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 1600 Kills Gemacht du erhälst $170.000 geschenk"); SpielerSpeichern(playerid); } case 1700: { if(GetPVarInt(playerid,"Kills")==1700) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,180000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 1700 Kills Gemacht du erhälst $180.000 geschenk"); SpielerSpeichern(playerid); } case 1800: { if(GetPVarInt(playerid,"Kills")==1800) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,19000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 1800 Kills Gemacht du erhälst $190.000 geschenk"); SpielerSpeichern(playerid); } case 1900: { if(GetPVarInt(playerid,"Kills")==1900) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,200000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 1900 Kills Gemacht du erhälst $200.000 geschenk"); SpielerSpeichern(playerid); } case 2000: { if(GetPVarInt(playerid,"Kills")==2000) SetPlayerScore(playerid, GetPlayerScore(playerid)+1); SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1); GivePlayerMoney(playerid,250000); SendClientMessage(playerid,0x5CCF16FF, "Du hast 2.000 Kills Gemacht du erhälst $250.000 geschenk"); SpielerSpeichern(playerid); }}}



    :D danke

    Hi Danke für die antwort
    jetzt würd ich noch machen das das automatisch geht
    das heisst wen ich zum. 50 kills hab bekomm ich score und money
    ich hab ein stock gemacht aber ingame passiert nichts
    pls hilfe




    stock Level(playerid,Kills)
    {
    switch(GetPVarInt(playerid,"Kills"))
    {
    case 25:
    {
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,5000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 25 Kills Gemacht du erhälst $5.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 50:
    {
    if(GetPVarInt(playerid,"Kills")==50)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,10000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 50 Kills Gemacht du erhälst $10.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 75:
    {
    if(GetPVarInt(playerid,"Kills")==75)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,15000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 75 Kills Gemacht du erhälst $15.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 100:
    {
    if(GetPVarInt(playerid,"Kills")==100)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,20000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 100 Kills Gemacht du erhälst $20.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 150:
    {
    if(GetPVarInt(playerid,"Kills")==150)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,25000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 150 Kills Gemacht du erhälst $25.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 200:
    {
    if(GetPVarInt(playerid,"Kills")==200)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,30000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 200 Kills Gemacht du erhälst $30.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 250:
    {
    if(GetPVarInt(playerid,"Kills")==250)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,35000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 250 Kills Gemacht du erhälst $35.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 300:
    {
    if(GetPVarInt(playerid,"Kills")==300)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,40000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 300 Kills Gemacht du erhälst $40.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 350:
    {
    if(GetPVarInt(playerid,"Kills")==350)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,45000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 350 Kills Gemacht du erhälst $45.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 400:
    {
    if(GetPVarInt(playerid,"Kills")==400)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,50000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 400 Kills Gemacht du erhälst $50.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 450:
    {
    if(GetPVarInt(playerid,"Kills")==450)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,55000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 450 Kills Gemacht du erhälst $55.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 500:
    {
    if(GetPVarInt(playerid,"Kills")==500)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,60000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 500 Kills Gemacht du erhälst $60.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 550:
    {
    if(GetPVarInt(playerid,"Kills")==550)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,65000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 550 Kills Gemacht du erhälst $65.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 600:
    {
    if(GetPVarInt(playerid,"Kills")==600)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,70000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 600 Kills Gemacht du erhälst $70.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 650:
    {
    if(GetPVarInt(playerid,"Kills")==650)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,75000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 650 Kills Gemacht du erhälst $75.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 700:
    {
    if(GetPVarInt(playerid,"Kills")==700)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,80000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 700 Kills Gemacht du erhälst $80.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 750:
    {
    if(GetPVarInt(playerid,"Kills")==750)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,85000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 750 Kills Gemacht du erhälst $85.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 800:
    {
    if(GetPVarInt(playerid,"Kills")==800)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,90000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 800 Kills Gemacht du erhälst $90.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 850:
    {
    if(GetPVarInt(playerid,"Kills")==850)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,95000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 850 Kills Gemacht du erhälst $95.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 900:
    {
    if(GetPVarInt(playerid,"Kills")==900)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,100000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 900 Kills Gemacht du erhälst $100.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 950:
    {
    if(GetPVarInt(playerid,"Kills")==950)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,105000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 950 Kills Gemacht du erhälst $105.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 1000:
    {
    if(GetPVarInt(playerid,"Kills")==1000)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,110000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 1000 Kills Gemacht du erhälst $110.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 1100:
    {
    if(GetPVarInt(playerid,"Kills")==1100)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,120000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 1100 Kills Gemacht du erhälst $120.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 1200:
    {
    if(GetPVarInt(playerid,"Kills")==1200)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,130000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 1200 Kills Gemacht du erhälst $130.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 1300:
    {
    if(GetPVarInt(playerid,"Kills")==1300)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,140000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 1300 Kills Gemacht du erhälst $140.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 1400:
    {
    if(GetPVarInt(playerid,"Kills")==1400)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,150000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 1400 Kills Gemacht du erhälst $150.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 1500:
    {
    if(GetPVarInt(playerid,"Kills")==1500)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,160000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 1500 Kills Gemacht du erhälst $160.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 1600:
    {
    if(GetPVarInt(playerid,"Kills")==1600)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,170000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 1600 Kills Gemacht du erhälst $170.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 1700:
    {
    if(GetPVarInt(playerid,"Kills")==1700)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,180000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 1700 Kills Gemacht du erhälst $180.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 1800:
    {
    if(GetPVarInt(playerid,"Kills")==1800)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,19000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 1800 Kills Gemacht du erhälst $190.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 1900:
    {
    if(GetPVarInt(playerid,"Kills")==1900)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,200000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 1900 Kills Gemacht du erhälst $200.000 geschenk");
    SpielerSpeichern(playerid);
    }
    case 2000:
    {
    if(GetPVarInt(playerid,"Kills")==2000)
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,250000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast 2.000 Kills Gemacht du erhälst $250.000 geschenk");
    SpielerSpeichern(playerid);
    }
    }
    }

    Hallo
    Ich habe ein Kleines Problem mit meinem /level
    Befehl er ist dazu da wen man eine bestimme anzahl von kills hat kann man /level
    machen und man bekommt ein level und score aber irgendwie sagt er ingame Unknow command


    ich kann leider nicht pawno einfügen



    if(strcmp(cmdtext,"/level",true)==0)
    {
    if(GetPVarInt(playerid,"kills")==25)
    if(GetPVarInt(playerid,"Kills")==50)
    if(GetPVarInt(playerid,"Kills")==75)
    if(GetPVarInt(playerid,"Kills")==100)
    if(GetPVarInt(playerid,"Kills")==125)
    if(GetPVarInt(playerid,"Kills")==150)
    if(GetPVarInt(playerid,"Kills")==175)
    if(GetPVarInt(playerid,"Kills")==200)
    if(GetPVarInt(playerid,"Kills")==225)
    if(GetPVarInt(playerid,"Kills")==250)
    if(GetPVarInt(playerid,"Kills")==275)
    if(GetPVarInt(playerid,"Kills")==300)
    if(GetPVarInt(playerid,"Kills")==325)
    if(GetPVarInt(playerid,"Kills")==350)
    if(GetPVarInt(playerid,"Kills")==375)
    if(GetPVarInt(playerid,"Kills")==400)
    if(GetPVarInt(playerid,"Kills")==425)
    if(GetPVarInt(playerid,"Kills")==450)
    if(GetPVarInt(playerid,"Kills")==475)
    if(GetPVarInt(playerid,"Kills")==500)
    if(GetPVarInt(playerid,"Kills")==525)
    if(GetPVarInt(playerid,"Kills")==550)
    if(GetPVarInt(playerid,"Kills")==575)
    if(GetPVarInt(playerid,"Kills")==600)
    if(GetPVarInt(playerid,"Kills")==625)
    if(GetPVarInt(playerid,"Kills")==650)
    if(GetPVarInt(playerid,"Kills")==675)
    if(GetPVarInt(playerid,"Kills")==700)
    if(GetPVarInt(playerid,"Kills")==725)
    if(GetPVarInt(playerid,"Kills")==750)
    if(GetPVarInt(playerid,"Kills")==775)
    if(GetPVarInt(playerid,"Kills")==800)
    if(GetPVarInt(playerid,"Kills")==825)
    if(GetPVarInt(playerid,"Kills")==850)
    if(GetPVarInt(playerid,"Kills")==875)
    if(GetPVarInt(playerid,"Kills")==900)
    if(GetPVarInt(playerid,"Kills")==925)
    if(GetPVarInt(playerid,"Kills")==950)
    if(GetPVarInt(playerid,"Kills")==975)
    if(GetPVarInt(playerid,"Kills")==1000)
    {
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    SetPVarInt(playerid, "Kills", GetPVarInt(playerid, "Kills")+1);
    GivePlayerMoney(playerid,10000);
    SendClientMessage(playerid,0x5CCF16FF, "Du hast dir ein Level up geholt $10,000 geschenk");
    SpielerSpeichern(playerid);
    return 1;
    }
    else
    {
    SendClientMessage(playerid, BLAU, "Du hast zuwenig Kills");
    return 1;
    }
    }