Beiträge von Radek_Hillers

    hallo leute :)) ich wollte mit einem befehl feuer erstellen und es klappt auch aber ich kann es nicht löschen ich habe auch das Löschbare feuer also das filterscript aber die objecte gehen ja nicht weg könn ihr mir iwi helfen ?


    mein Befehl:
    if(strcmp(cmd,"/feuer1",true) == 0)
    {
    if(PlayerInfo[playerid][pAdmin] > 3) return SendClientMessage(playerid,COLOR_RED,"Du bist ja garkein Admin :O");
    CreateDynamicObject(18692,-73.50000000,-1596.30004883,2.20000005,0.00000000,0.00000000,0.00000000); //object(cj_cb_bin) (1)
    CreateDynamicObject(18692,-73.50000000,-1596.29980469,2.20000005,0.00000000,0.00000000,0.00000000); //object(cj_cb_bin) (2)
    CreateDynamicObject(18692,-74.30000305,-1595.69995117,2.20000005,0.00000000,0.00000000,0.00000000); //object(cj_cb_bin) (3)
    CreateDynamicObject(18692,-74.29980469,-1595.69921875,2.20000005,0.00000000,0.00000000,0.00000000); //object(cj_cb_bin) (4)
    CreateDynamicObject(18692,-74.29980469,-1595.69921875,2.20000005,0.00000000,0.00000000,0.00000000); //object(cj_cb_bin) (5)
    CreateDynamicObject(18692,-75.30000305,-1594.90002441,2.20000005,0.00000000,0.00000000,0.00000000); //object(cj_cb_bin) (6)
    CreateDynamicObject(18692,-75.29980469,-1594.89941406,2.20000005,0.00000000,0.00000000,0.00000000); //object(cj_cb_bin) (7)
    CreateDynamicObject(18692,-75.29980469,-1594.89941406,2.20000005,0.00000000,0.00000000,0.00000000); //object(cj_cb_bin) (8)
    CreateDynamicObject(18692,-75.29980469,-1594.89941406,2.20000005,0.00000000,0.00000000,0.00000000); //object(cj_cb_bin) (9)
    CreateDynamicObject(18692,-77.00000000,-1594.19995117,2.20000005,0.00000000,0.00000000,0.00000000); //object(cj_cb_bin) (10)
    CreateDynamicObject(18692,-77.00000000,-1594.19921875,2.20000005,0.00000000,0.00000000,0.00000000); //object(cj_cb_bin) (11)
    CreateDynamicObject(18692,-77.00000000,-1594.19921875,2.20000005,0.00000000,0.00000000,0.00000000); //object(cj_cb_bin) (12)
    CreateDynamicObject(18692,-72.40000153,-1596.69995117,1.29999995,0.00000000,6.00000000,8.00000000); //object(cj_cb_bin) (13)
    CreateDynamicObject(18692,-72.39941406,-1596.69921875,1.29999995,0.00000000,5.99853516,7.99804688); //object(cj_cb_bin) (14)
    CreateDynamicObject(18692,-72.39941406,-1596.69921875,1.29999995,0.00000000,5.99853516,7.99804688); //object(cj_cb_bin) (15)
    CreateDynamicObject(18692,-72.39941406,-1596.69921875,1.29999995,0.00000000,5.99853516,7.99804688); //object(cj_cb_bin) (16)
    CreateDynamicObject(18692,-74.19999695,-1596.19995117,3.79999995,0.00000000,5.99853516,7.99804688); //object(cj_cb_bin) (17)
    CreateDynamicObject(18692,-74.19921875,-1596.19921875,3.79999995,0.00000000,5.99853516,7.99804688); //object(cj_cb_bin) (18)
    CreateDynamicObject(18692,-74.19921875,-1596.19921875,3.79999995,0.00000000,5.99853516,7.99804688); //object(cj_cb_bin) (19)
    CreateDynamicObject(18692,-74.59999847,-1595.90002441,4.30000019,0.00000000,5.99853516,13.99804688); //object(cj_cb_bin) (20)
    CreateDynamicObject(18692,-74.59960938,-1595.89941406,4.30000019,0.00000000,5.99853516,13.99658203); //object(cj_cb_bin) (21)
    CreateDynamicObject(18692,-74.59960938,-1595.89941406,4.30000019,0.00000000,5.99853516,13.99658203); //object(cj_cb_bin) (22)
    CreateDynamicObject(18692,-75.40000153,-1595.30004883,4.30000019,0.00000000,5.99853516,13.99658203); //object(cj_cb_bin) (23)
    CreateDynamicObject(18692,-75.39941406,-1595.29980469,4.30000019,0.00000000,5.99853516,13.99658203); //object(cj_cb_bin) (24)
    CreateDynamicObject(18692,-75.39941406,-1595.29980469,4.30000019,0.00000000,5.99853516,13.99658203); //object(cj_cb_bin) (25)
    CreateDynamicObject(18692,-76.19999695,-1594.69995117,4.30000019,0.00000000,5.99853516,13.99658203); //object(cj_cb_bin) (26)
    CreateDynamicObject(18692,-76.19921875,-1594.69921875,4.30000019,0.00000000,5.99853516,13.99658203); //object(cj_cb_bin) (27)
    CreateDynamicObject(18692,-77.00000000,-1595.69995117,4.30000019,0.00000000,5.99853516,13.99658203); //object(cj_cb_bin) (28)
    CreateDynamicObject(18692,-77.00000000,-1595.69921875,4.30000019,0.00000000,5.99853516,13.99658203); //object(cj_cb_bin) (29)
    CreateDynamicObject(18692,-77.00000000,-1595.69921875,4.30000019,0.00000000,5.99853516,13.99658203); //object(cj_cb_bin) (30)
    CreateDynamicObject(18692,-76.00000000,-1596.50000000,4.30000019,0.00000000,5.99853516,13.99658203); //object(cj_cb_bin) (31)
    CreateDynamicObject(18692,-76.00000000,-1596.50000000,4.30000019,0.00000000,5.99853516,13.99658203); //object(cj_cb_bin) (32)
    CreateDynamicObject(18692,-74.80000305,-1597.40002441,4.30000019,0.00000000,5.99853516,7.99658203); //object(cj_cb_bin) (33)
    CreateDynamicObject(18692,-74.79980469,-1597.39941406,4.30000019,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (34)
    CreateDynamicObject(18692,-74.79980469,-1597.39941406,4.30000019,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (35)
    CreateDynamicObject(18692,-74.09999847,-1597.69995117,4.30000019,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (36)
    CreateDynamicObject(18692,-74.09960938,-1597.69921875,4.30000019,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (37)
    CreateDynamicObject(18692,-73.09999847,-1597.19995117,4.30000019,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (38)
    CreateDynamicObject(18692,-73.09960938,-1597.19921875,4.30000019,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (39)
    CreateDynamicObject(18692,-75.09999847,-1596.90002441,4.30000019,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (40)
    CreateDynamicObject(18692,-75.09960938,-1596.89941406,4.30000019,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (41)
    CreateDynamicObject(18692,-78.50000000,-1593.90002441,1.79999995,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (42)
    CreateDynamicObject(18692,-78.50000000,-1593.89941406,1.79999995,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (43)
    CreateDynamicObject(18692,-79.09999847,-1593.40002441,1.79999995,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (44)
    CreateDynamicObject(18692,-79.09960938,-1593.39941406,1.79999995,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (45)
    CreateDynamicObject(18692,-80.09999847,-1593.90002441,1.79999995,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (46)
    CreateDynamicObject(18692,-80.09960938,-1593.89941406,1.79999995,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (47)
    CreateDynamicObject(18692,-80.30000305,-1593.19995117,1.79999995,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (48)
    CreateDynamicObject(18692,-80.29980469,-1593.19921875,1.79999995,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (49)
    CreateDynamicObject(18692,-79.59999847,-1593.00000000,1.79999995,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (50)
    CreateDynamicObject(18692,-79.59960938,-1593.00000000,1.79999995,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (51)
    CreateDynamicObject(18692,-79.59960938,-1593.00000000,1.79999995,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (52)
    CreateDynamicObject(18692,-79.19999695,-1592.40002441,1.79999995,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (53)
    CreateDynamicObject(18692,-79.19921875,-1592.39941406,1.79999995,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (54)
    CreateDynamicObject(18692,-78.30000305,-1593.00000000,1.79999995,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (55)
    CreateDynamicObject(18692,-78.29980469,-1593.00000000,1.79999995,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (56)
    CreateDynamicObject(18692,-78.29980469,-1593.00000000,1.79999995,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (57)
    CreateDynamicObject(18692,-72.59999847,-1597.00000000,1.79999995,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (58)
    CreateDynamicObject(18692,-72.59960938,-1597.00000000,1.79999995,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (59)
    CreateDynamicObject(18692,-72.59999847,-1597.00000000,2.59999990,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (60)
    CreateDynamicObject(18692,-74.00000000,-1598.50000000,2.59999990,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (61)
    CreateDynamicObject(18692,-74.00000000,-1598.50000000,2.59999990,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (62)
    CreateDynamicObject(18692,-74.00000000,-1598.50000000,2.59999990,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (63)
    CreateDynamicObject(18692,-75.09999847,-1597.69995117,2.59999990,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (64)
    CreateDynamicObject(18692,-75.09960938,-1597.69921875,2.59999990,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (65)
    CreateDynamicObject(18692,-76.40000153,-1596.80004883,2.59999990,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (66)
    CreateDynamicObject(18692,-76.39941406,-1596.79980469,2.59999990,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (67)
    CreateDynamicObject(18692,-77.50000000,-1596.00000000,2.59999990,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (68)
    CreateDynamicObject(18692,-77.50000000,-1596.00000000,2.59999990,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (69)
    CreateDynamicObject(18692,-77.50000000,-1596.00000000,2.59999990,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (70)
    CreateDynamicObject(18692,-78.00000000,-1594.80004883,2.79999995,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (71)
    CreateDynamicObject(18692,-78.00000000,-1594.79980469,2.79999995,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (72)
    CreateDynamicObject(18692,-77.30000305,-1596.00000000,4.09999990,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (73)
    CreateDynamicObject(18692,-77.29980469,-1596.00000000,4.09999990,0.00000000,5.99853516,7.99255371); //object(cj_cb_bin) (74)
    CreateDynamicObject(18692,-76.50000000,-1596.69995117,4.09999990,0.00000000,359.99853516,7.99255371); //object(cj_cb_bin) (75)
    CreateDynamicObject(18692,-76.50000000,-1596.69921875,4.09999990,0.00000000,359.99450684,7.98706055); //object(cj_cb_bin) (76)
    CreateDynamicObject(18692,-75.69999695,-1597.40002441,4.09999990,0.00000000,359.99450684,7.98706055); //object(cj_cb_bin) (77)
    CreateDynamicObject(18692,-75.69921875,-1597.39941406,4.09999990,0.00000000,359.99450684,7.98706055); //object(cj_cb_bin) (78)
    CreateDynamicObject(18692,-74.59999847,-1598.19995117,4.09999990,0.00000000,359.99450684,7.98706055); //object(cj_cb_bin) (79)
    CreateDynamicObject(18692,-74.59960938,-1598.19921875,4.09999990,0.00000000,359.99450684,7.98706055); //object(cj_cb_bin) (80)
    SendClientMessage(playerid,COLOR_YELLOW,"Du hast feuer erstellt");
    return 1;
    }


    was muss ich den noch ändern ?:D

    ne wen ich es so richtig habe dan geht es nicht :(



    if(dialogid == DIALOG_STATUS)
    {
    if(response == 0)
    {
    SendClientMessage(playerid,GELB,"Status Menu geschlossen");
    }
    for(new i = 0; i < MAX_PLAYERS; i++)
    if(response == 1)
    {
    switch (listitem)
    {
    case 0: //Einfahrt
    {
    if(Spieler[playerid][Fraktion] == 1)
    {
    SendClientMessage(i,GELB,"Die Feuerwehr hat Einfahrt gemeldet.");
    }
    return 1;
    }
    case 1://Ausfahrt
    {
    if(Spieler[playerid][Fraktion] == 1)
    {
    SendClientMessage(i,GELB,"Die Feuerwehr hat Ausfahrt gemeldet.");
    }
    return 1;
    }
    case 2://Angekommen
    {
    if(Spieler[playerid][Fraktion] == 1)
    {
    SendClientMessage(i,GELB,"Die Feuerwehr ist an der Einsatzstelle angekommen.");
    }
    return 1;
    }
    case 3://Verstärkung?
    {
    if(Spieler[playerid][Fraktion] == 1)
    {
    SendClientMessage(i,GELB,"Die Feuerwehr hat Verstärkung gemeldet.");
    }
    return 1;
    }
    }
    }
    }


    mhh sonst noch etwas?

    geht nicht also bei der leitstelle kommt nix an ?(


    if(dialogid == DIALOG_STATUS)
    {
    if(response == 0)
    {
    SendClientMessage(playerid,GELB,"Status Menu geschlossen");
    }
    if(response == 1)
    {
    switch (listitem)
    {
    case 0: //Einfahrt
    {
    if(Spieler[playerid][Fraktion] == 1)
    {
    SendClientMessage(playerid,GELB,"Die Feuerwehr hat Einfahrt gemeldet.");
    }
    return 1;
    }
    case 1://Ausfahrt
    {
    if(Spieler[playerid][Fraktion] == 1)
    {
    SendClientMessage(playerid,GELB,"Die Feuerwehr hat Ausfahrt gemeldet.");
    }
    return 1;
    }
    case 2://Angekommen
    {
    if(Spieler[playerid][Fraktion] == 1)
    {
    SendClientMessage(playerid,GELB,"Die Feuerwehr ist an der Einsatzstelle angekommen.");
    }
    return 1;
    }
    case 3://Verstärkung
    {
    if(Spieler[playerid][Fraktion] == 1)
    {
    SendClientMessage(playerid,GELB,"Die Feuerwehr hat Verstärkung gerufen.");
    }
    return 1;
    }
    }
    }
    }


    so habe ich es nun aber da kommt nix

    Hallo ich habe mal eine frage un zwar ich wollte für die feuerwehr ein /status befehl machen im Dialog.
    nun wollte ich fragen wie ich es schreiben solln also es soll folgenderweiße aussehen:
    Feuerwache1 macht /status dan klickt er auf Einfahrt und dan soll bei der leitsetlle eine message kommen mit "Feuerwache1 meldet einfahrt"
    Feuerwache1 macht /status dan klickt er auf Ausfahrt und dan soll bei
    der leitsetlle eine message kommen mit "Feuerwache1 meldet ausfahrt"
    und das selbe mit Feuerwache 2 :) vill könnt ihr mir helfen also den befehl im Dialog habe ich schonmal:
    ocmd:status(playerid,params[])
    {
    if(Spieler[playerid][Fraktion] == 4 || Spieler[playerid][Fraktion] == 5 )
    {
    ShowPlayerDialog(playerid, DIALOG_STATUS,DIALOG_STYLE_LIST, "{B9FF00}Status-Menu{FAFAFA}","Einfahrt\nAusfahrt\nEinsatzstelle Angekommen\nVerstärkung", "Melden", "Abbrechen");
    }
    return 1;
    }


    ich hoffe ihr könnt mir helfen :))

    hallo habe mir ein Startbonus befehlt erstellt aber wie mache ich es nun das er das nur 1 mal bekommt?
    if(strcmp(cmdtext,"/startbonus",true)==0)
    {
    if(IsPlayerInRangeOfPoint(playerid,30.0,865.7993,-1647.3064,13.5469) return SendClientMessage(playerid, COLOR_RED,"Du bist nicht beim /startbonus punkt");)
    {
    GivePlayerMoney(playerid,10000);
    PlayerInfo[playerid][pLevel] += 1;
    SendClientMessage(playerid,COLOR_YELLOW,"Du hast dir dein Startbonus geholt.Drin enthalten waren 10000$ und ein Levelup.");
    SendClientMessage(playerid,COLOR_YELLOW,"Das German-Life-Roleplay Team wünscht dir noch viel Spaß auf unserem Server!");
    }
    else
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast dir dein Startbonus schon geholt!");
    }
    return 1;
    }



    bitte um hilfe:)

    hallo habe mir mal ein befehl erstellt aber bekomme errors.....


    Errosr:C:\Users\User\Desktop\world\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(22922) : error 029: invalid expression, assumed zero
    C:\Users\User\Desktop\world\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(22924) : error 036: empty statement
    C:\Users\User\Desktop\world\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(22928) : error 029: invalid expression, assumed zero
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    3 Errors.


    und der befehl
    if(strcmp(cmdtext,"/buygun",true)==0)
    {
    if(PlayerInfo[playerid][pGunLic] == 0))
    {
    if(IsPlayerInRangeOfPoint(playerid,2.0,296.5496,-38.3323,1001.5156)||IsPlayerInRangeOfPoint(playerid,2.0,312.6135,-165.8635,999.6010));
    {
    ShowPlayerDialog(playerid, DIALOG_AMMU,DIALOG_STYLE_LIST, "{B9FF00}Waffen-Menu{FAFAFA}","{FAFAFA}Rüstung(100$){FAFAFA}\n{FAFAFA}AK-47(250$)\n{FAFAFA}Tec-9(350$)\n{FAFAFA}9mm(150$)\n{FAFAFA}MP5(250$)\n{FAFAFA}Shotgun(300$)\n{FAFAFA}Fallschirm(100$)", "Kaufen", "Abbrechen");
    }
    else
    {
    SendClientMessage(playerid, COLOR_GRAD3, "Du musst im Ammu beim /Buygun Punkt sein.");
    }
    }
    return 1;
    }


    ich möchte noch gerne das er ein SendClientMesage gibt "du hast kein Waffeschein" ist zwaar leicht aber bekomme es nicht hin :D
    bitte helft mir ;)

    ahh danke nun noch eine kleine frage :D


    wen ich tanke dan tankt der immer nur für 2$ aber er soll ja für 1l 2$ bezahlen:D
    forward FillVehicle(playerid, vehicleid);
    public FillVehicle(playerid,vehicleid)
    {
    Gas[vehicleid] = 150;
    UnFreezePlayer(playerid);
    SendClientMessage(playerid,COLOR_WHITE," Dein Fahrzeug wurde betankt.");
    new Tank[MAX_VEHICLES];
    new ZuTanken = 1-Tank[vehicleid];
    new price = ZuTanken * SPRITPREIS;
    GivePlayerMoney(playerid, - price);
    new Text[100];
    format(Text,100,"Du hast dein Fahrzeug für %d$ Betankt!",price);
    SendClientMessage(playerid,COLOR_WHITE,Text);
    return 1;
    }


    so habe ich es aufgebaut :)

    so wei so gut aber immer noch was
    C:\Users\User\Desktop\world\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(33276) : warning 213: tag mismatch
    C:\Users\User\Desktop\world\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(33277) : warning 213: tag mismatch


    und die beiden zeilen:
    vehicle3Dtext = Create3DTextLabel( "SupporterMobil", COLOR_YELLOW, 0.0, 0.0, 0.0, 50.0, 0, 1 );
    Attach3DTextLabelToVehicle( vehicle3Dtext, Supmobil, 0.0, 0.0, 2.0);


    kannst das auch noch lösen ?:P

    Guten Tag....


    habe mir ein befehl erstell aber ich bekomme 2 warnings und 1 error ich finde den fehler jetzt iwi nicht aber ihr seit ja Profis :D
    C:\Users\User\Desktop\world\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(33271) : error 021: symbol already defined: "x"
    C:\Users\User\Desktop\world\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(33279) : warning 213: tag mismatch
    C:\Users\User\Desktop\world\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(33280) : warning 213: tag mismatch
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.


    und die zeilen:
    if (strcmp(cmd, "/supm", true) == 0)
    {
    if(HatSupmobil[playerid] == 1)
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast bereist ein Supporterfahrzeug gespawnt!");
    return 1;
    }
    else
    {
    if(PlayerInfo[playerid][pAdmin] >= 1)
    {
    new Float:x,Float:y,Float:z,Float:a;
    GetPlayerPos(playerid,x,y,z);
    GetPlayerFacingAngle(playerid,a);
    new Float:x,Float:y,Float:z,Float:a;
    GetPlayerPos(playerid,x,y,z);
    GetPlayerFacingAngle(playerid,a);
    Supmobil = CreateVehicle(560,x,y,z,a,-1,-1,-1);
    SetVehicleVirtualWorld(Supmobil,GetPlayerVirtualWorld(playerid));
    PutPlayerInVehicle(playerid, Supmobil, 0);
    ChangeVehicleColor(Supmobil,181,181);
    new vehicle3Dtext;
    vehicle3Dtext = Create3DTextLabel( "SupporterMobil", COLOR_YELLOW, 0.0, 0.0, 0.0, 50.0, 0, 1 );
    Attach3DTextLabelToVehicle( vehicle3Dtext, Supmobil, 0.0, 0.0, 2.0);
    SendClientMessage(playerid, COLOR_YELLOW, "Du hast dir ein Supportermobil gespawnt!");
    HatSupmobil[playerid] = 1;
    }
    else
    {
    SendClientMessage(playerid, COLOR_YELLOW, "Du kannst diesem Befehl nicht benutzen!!");
    }
    }
    return 1;
    }
    if (strcmp(cmd, "/supml", true) == 0)
    {
    if(PlayerInfo[playerid][pAdmin] >= 1)
    {
    DestroyVehicle(Supmobil);
    SendClientMessage(playerid, COLOR_YELLOW, "Du hast dein Supportermobil gelöscht!");
    HatSupmobil[playerid] = 0;
    }
    else
    {
    SendClientMessage(playerid, COLOR_YELLOW, "Du kannst diesem Befehl nicht benutzen!!");
    }
    return 1;
    }


    Hoffe das ihr mir helen könnt :))