Beiträge von Hamst0r

    Safe - Todsicher
    Beide glauben sie, von allen verlassen worden zu sein. Mei, die von den Triaden entführte, wegen ihres Supergedächtnisses als lebender Speicher wichtiger Daten eingesetzte zehnjährige Chinesin, wie auch Martial-Arts-Fighter Luke, der sich für die Ermordung seiner Frau verantwortlich fühlt und an Selbstmord denkt. Doch als Mei ihren Entführern entkommen und in einen New Yorker U-Bahnhof flüchten kann, wird sie von Luke entdeckt und fortan mit Härte und Entschlossenheit vor russischen und chinesischen Gangstern beschützt.


    Der Film ist richtig geil. Am Anfang denkt man erst: hm. sieht ja scheiße aus aber dann geht es richtig ab :DD
    mfg

    Also das gehört so :D Das ergibt keinen sinn den Befehl zu verneinen und dann einfach zu returnen^^
    ocmd:unzerstörbar(playerid, params[])
    {
    if(IsPlayerAnAdmin(playerid,1))return SendClientMessage(playerid,Rot,"Diesen Befehl kannst du nicht nutzen. Mindestens benötigter Rang: {00FF5A}Supporter");
    new car = GetPlayerVehicleID(playerid);
    SetVehicleHealth(car,999999999);


    Hier habe dir das alles mal gemacht ;)
    public OnPlayerPickUpPickup(playerid, pickupid)
    {
    if(pickupid==Deagle)
    {
    if(DMLER[playerid] == 1)
    {
    SendClientMessage(playerid,BLAU,"Du hast eine Deagle erhalten!");
    GivePlayerWeapon(playerid,24,9999);
    }
    }
    return 1;
    }


    //Ganz oben new DMLER[MAX_PLAYERS];
    //Und new STUNTLER[MAX_PLAYERS];
    public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
    {
    if(dialogid==DIALOG_DS)
    {
    if(response==1)
    {
    if(listitem == 1)
    {
    DMLER[playerid] = 1;
    new Text3D:DM = Create3DTextLabel("DM'ler!", 0xFF2800FF, 30.0, 40.0, 50.0, 40.0, 0);
    Attach3DTextLabelToPlayer(DM, playerid, 0.0, 0.0, 0.7);
    SendClientMessage(playerid,BLAU,"Du bist nun ein DM'ler!");
    }
    if(listitem == 2)
    {
    STUNTLER[playerid] = 1;
    new Text3D:Stunt = Create3DTextLabel("Stunt'ler!", BLAU, 30.0, 40.0, 50.0, 40.0, 0);
    Attach3DTextLabelToPlayer(Stunt, playerid, 0.0, 0.0, 0.7);
    SendClientMessage(playerid,BLAU,"Du bist nun ein STUNT'ler!");
    }
    }
    }
    return 1;
    }



    ocmd:frezze(playerid,params[])
    {
    new pID,string[128],string2[128];
    if(IsPlayerAdmin(playerid)) return SendClientMessage(playerid,ROT,"Du bist kein Admin!");
    {
    if(sscanf(params,"u",pID))return SendClientMessage(playerid,ROT,"Benutzung: /frezze [ID]");
    {
    TogglePlayerControllable(pID,0);
    format(string,sizeof(string),"Du hast %s gefrezzt.",SpielerName(pID));
    SendClientMessage(playerid,BLAU,string);
    format(string2,sizeof(string),"Du wurdest von %s gefrezzt.",SpielerName(playerid));
    SendClientMessage(playerid,BLAU,string2);
    }
    }
    return 1;
    }


    ocmd:unfrezze(playerid,params[])
    {
    new pID,string[128],string2[128];
    if(!IsPlayerAdmin(playerid))return SendClientMessage(playerid,ROT,"Du bist kein Admin!");
    {
    if(sscanf(params,"u",pID))return SendClientMessage(playerid,ROT,"Benutzung: /unfrezze [ID]");
    {
    TogglePlayerControllable(pID,1);
    format(string,sizeof(string),"Du hast %s gefrezzt.",SpielerName(pID));
    SendClientMessage(playerid,BLAU,string);
    format(string2,sizeof(string),"Du wurdest von %s gefrezzt.",SpielerName(playerid));
    SendClientMessage(playerid,BLAU,string2);
    }
    }
    return 1;
    }
    //Unter OnGameModeInit
    //Ganz oben new kn[33];
    kn[1]=AddStaticVehicle(593,2007.09960938,-2431.39941406,14.10000038,109.99511719,-1,8); //Dodo
    kn[2]=AddStaticVehicle(593,2007.90002441,-2456.60009766,14.10000038,52.00000000,-1,-1); //Dodo
    kn[3]=AddStaticVehicle(519,1990.80004883,-2443.39990234,14.60000038,90.00000000,-1,-1); //Shamal
    kn[4]=AddStaticVehicle(411,1871.00000000,-2460.89990234,13.39999962,0.00000000,-1,-1); //Infernus
    kn[5]=AddStaticVehicle(411,1867.40002441,-2460.69995117,13.39999962,0.00000000,-1,-1); //Infernus
    kn[6]=AddStaticVehicle(411,1863.30004883,-2459.80004883,13.39999962,0.00000000,-1,-1); //Infernus
    kn[7]=AddStaticVehicle(411,1858.59997559,-2459.69995117,13.39999962,0.00000000,-1,-1); //Infernus
    kn[8]=AddStaticVehicle(411,1854.90002441,-2450.00000000,13.39999962,182.00000000,-1,-1); //Infernus
    kn[9]=AddStaticVehicle(411,1858.30004883,-2450.30004883,13.39999962,180.00000000,-1,-1); //Infernus
    kn[10]=AddStaticVehicle(411,1863.30004883,-2451.19995117,13.39999962,178.00000000,-1,-1); //Infernus
    kn[11]=AddStaticVehicle(411,1871.50000000,-2451.50000000,13.39999962,177.99499512,-1,-1); //Infernus
    kn[12]=AddStaticVehicle(451,1872.69995117,-2425.60009766,13.30000019,0.00000000,-1,-1); //Turismo
    kn[13]=AddStaticVehicle(451,1869.09997559,-2424.60009766,13.30000019,0.00000000,-1,-1); //Turismo
    kn[14]=AddStaticVehicle(451,1865.09997559,-2424.19995117,13.30000019,0.00000000,-1,-1); //Turismo
    kn[15]=AddStaticVehicle(451,1861.09997559,-2423.39990234,13.30000019,0.00000000,-1,-1); //Turismo
    kn[16]=AddStaticVehicle(451,1857.30004883,-2422.69995117,13.30000019,0.00000000,-1,-1); //Turismo
    kn[17]=AddStaticVehicle(451,1871.59997559,-2414.80004883,13.30000019,0.00000000,-1,-1); //Turismo
    kn[18]=AddStaticVehicle(451,1867.19995117,-2415.30004883,13.30000019,0.00000000,-1,-1); //Turismo
    kn[19]=AddStaticVehicle(451,1862.90002441,-2414.69995117,13.30000019,0.00000000,-1,-1); //Turismo
    kn[20]=AddStaticVehicle(451,1856.69995117,-2413.89990234,13.30000019,0.00000000,-1,-1); //Turismo
    kn[21]=AddStaticVehicle(468,1491.59997559,-2467.80004883,13.30000019,0.00000000,-1,-1); //Sanchez
    kn[22]=AddStaticVehicle(468,1489.09997559,-2467.69995117,13.30000019,0.00000000,-1,-1); //Sanchez
    kn[23]=AddStaticVehicle(468,1486.80004883,-2467.30004883,13.30000019,0.00000000,-1,-1); //Sanchez
    kn[24]=AddStaticVehicle(468,1484.59997559,-2466.89990234,13.30000019,0.00000000,-1,-1); //Sanchez
    kn[25]=AddStaticVehicle(522,1479.80004883,-2515.00000000,13.19999981,0.00000000,-1,-1); //NRG-500
    kn[26]=AddStaticVehicle(522,1481.69995117,-2515.19995117,13.19999981,0.00000000,-1,-1); //NRG-500
    kn[27]=AddStaticVehicle(522,1483.80004883,-2515.19995117,13.19999981,0.00000000,-1,-1); //NRG-500
    kn[28]=AddStaticVehicle(522,1485.90002441,-2515.10009766,13.19999981,0.00000000,-1,-1); //NRG-500
    kn[29]=AddStaticVehicle(522,1852.40002441,-2471.80004883,13.19999981,0.00000000,-1,-1); //NRG-500
    kn[30]=AddStaticVehicle(522,1854.80004883,-2471.60009766,13.19999981,0.00000000,-1,-1); //NRG-500
    kn[31]=AddStaticVehicle(522,1857.50000000,-2471.60009766,13.19999981,0.00000000,-1,-1); //NRG-500
    kn[32]=AddStaticVehicle(522,1859.59997559,-2471.60009766,13.19999981,0.00000000,-1,-1); //NRG-500


    //Dann das unter OnVehicleSpawn einfügen
    public OnVehicleSpawn(vehicleid)
    {
    AddVehicleComponent(kn[i], 1010);
    SetVehicleNumberPlate(kn[i],"AUTOS");//TExt evt. ändern
    SetVehicleToRespawn(kn[i]);
    return 1;
    }