Beiträge von d30af26d

    Ich hab mir ne Grafikkarte für 70 € gekauft.
    Info: 1024 MB RAM ( Nvidia )


    Mein Com: 2048 RAM
    Prozessor : 2,8 GHz Intel Pentium D
    DVD / DVD A9, Kartenleser, USB, Kopfhörer, Mikro


    Das reicht mir und GTA SA läuft flüssig und andere Spiele auch.

    Ich hab mir mal was gemappt und hier ist es:


    Bilder:


    Code:

    Spoiler anzeigen

    CreateObject(984, -2089.488281, -80.318909, 34.956993, 0.0000, 0.0000, 90.0000);
    CreateObject(984, -2076.723145, -80.360695, 34.925751, 0.0000, 0.0000, 90.0000);
    CreateObject(983, -2067.115479, -80.279243, 35.003868, 0.0000, 0.0000, 90.0000);
    CreateObject(983, -2065.507080, -80.272720, 35.003868, 0.0000, 0.0000, 90.0000);
    CreateObject(983, -2062.272949, -83.457870, 34.998299, 0.0000, 0.0000, 0.0000);
    CreateObject(983, -2059.089844, -80.251823, 35.003868, 0.0000, 0.0000, 90.0000);
    CreateObject(983, -2055.905273, -80.229660, 35.003868, 0.0000, 0.0000, 90.0000);
    CreateObject(983, -2052.728271, -83.409119, 35.003868, 0.0000, 0.0000, 180.0000);
    CreateObject(983, -2057.442383, -83.448051, 35.003868, 0.0000, 0.0000, 180.0000);
    CreateObject(983, -2010.942749, -99.342964, 35.264927, 0.0000, 0.0000, 5.1566);
    CreateObject(983, -2011.526611, -92.980293, 35.246712, 0.0000, 0.0000, 5.1566);
    CreateObject(983, -2012.009277, -86.621315, 35.218414, 0.0000, 0.0000, 3.4377);
    CreateObject(984, -2023.593506, -75.575455, 34.956993, 0.0000, 0.0000, 90.0000);
    CreateObject(983, -2033.160645, -75.577293, 34.980438, 0.0000, 0.0000, 90.0000);
    CreateObject(1424, -2012.415161, -82.590149, 34.892948, 0.0000, 358.2811, 272.5783);
    CreateObject(1424, -2012.462646, -80.632416, 34.837437, 0.0000, 1.7189, 90.8594);
    CreateObject(1424, -2012.875610, -78.729866, 34.752335, 0.0000, 1.7189, 113.3594);
    CreateObject(1424, -2013.966309, -77.122566, 34.758820, 0.0000, 1.7189, 135.8594);
    CreateObject(1424, -2015.885864, -75.958199, 34.710388, 0.8594, 0.0000, 341.9518);
    CreateObject(617, -2036.523560, -81.871590, 34.509460, 0.0000, 0.0000, 0.0000);
    CreateObject(617, -2036.644165, -87.076630, 34.509460, 0.0000, 0.0000, 0.0000);
    CreateObject(617, -2018.526367, -87.093521, 34.509460, 0.0000, 0.0000, 0.0000);
    CreateObject(617, -2018.582886, -81.228966, 34.509460, 0.0000, 0.0000, 0.0000);
    CreateObject(617, -2052.838135, -87.372276, 34.314148, 0.0000, 0.0000, 0.0000);
    CreateObject(617, -2061.943604, -87.240189, 34.089134, 0.0000, 0.0000, 132.3533);
    CreateObject(617, -2057.100830, -80.440475, 34.314148, 0.0000, 0.0000, 132.3533);
    CreateObject(617, -2095.356445, -80.412697, 34.415268, 0.0000, 0.0000, 132.3533);
    CreateObject(18014, -2036.854736, -84.104477, 35.252514, 0.0000, 0.0000, 0.0000);
    CreateObject(18014, -2017.598022, -84.070396, 35.147839, 0.0000, 0.0000, 0.0000);
    CreateObject(18014, -2032.349243, -102.452614, 35.771694, 0.0000, 0.0000, 89.3814);
    CreateObject(18014, -2022.573975, -102.489510, 35.576004, 0.0000, 0.0000, 89.3814);
    CreateObject(800, -2022.294067, -84.717888, 36.389061, 0.0000, 0.0000, 0.0000);
    CreateObject(800, -2033.691284, -84.264954, 36.409500, 0.0000, 0.0000, 0.0000);
    CreateObject(800, -2028.346680, -84.929893, 36.409500, 356.5623, 0.0000, 0.0000);
    CreateObject(632, -2035.801880, -75.650810, 34.767345, 0.0000, 0.0000, 0.0000);
    CreateObject(632, -2056.434082, -75.483597, 34.760860, 0.0000, 0.0000, 0.0000);
    CreateObject(983, -2060.765137, -75.588425, 35.003868, 0.0000, 0.0000, 90.0000);
    CreateObject(983, -2067.165527, -75.596497, 35.003868, 0.0000, 0.0000, 90.0000);
    CreateObject(955, -2035.653564, -101.937561, 34.567108, 0.0000, 0.0000, 180.0000);
    CreateObject(1492, -2027.357666, -102.377518, 34.223824, 0.0000, 0.0000, 0.0000);
    CreateObject(5130, -2024.913330, -126.249573, 35.092987, 0.0000, 0.0000, 225.0000);
    CreateObject(625, -2018.444458, -103.182419, 38.729965, 0.0000, 0.0000, 0.0000);
    CreateObject(625, -2034.246704, -103.245758, 38.777573, 0.0000, 0.0000, 0.0000);
    CreateObject(1676, -2026.607910, 157.817108, 29.619930, 0.0000, 0.0000, 90.0000);
    CreateObject(1676, -2026.596436, 155.834167, 29.619930, 0.0000, 0.0000, 90.0000);


    Map:


    Grund: 100.Post

    public IstFahrlehrer(playerid)
    {
    if(IsPlayerConnected(playerid)) { new team = PlayerInfo[playerid][pTeam]; if(team==Fahrlehrer) { return 1; } }
    return 0;
    }


    Info: Ich steige in ein Cop Auto, bei den Fahrschule Fahrzeugen funzt es Super.

    if(strcmp(cmd, "/veh", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    if(IsPlayerAdmin(playerid))
    {
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GREY, "USAGE: /veh [AutoID] [Farbe1] [Farbe2]");
    return 1;
    }
    new car;
    car = strval(tmp);
    if(car < 400 || car > 611) { SendClientMessage(playerid, COLOR_GREY, " Vehicle Number can't be below 400 or above 611 !"); return 1; }
    tmp = strtok(cmdtext, idx);
    new color1;
    if(!strlen(tmp))
    {
    color1 = 1;
    }else{
    color1 = strval(tmp);
    if(color1 < 0 || color1 > 126) { SendClientMessage(playerid, COLOR_GREY, " Color Number can't be below 0 or above 126 !"); return 1; }
    }
    tmp = strtok(cmdtext, idx);
    new color2;
    if(!strlen(tmp))
    {
    color2 = 1;
    }else{
    color2 = strval(tmp);
    if(color2 < 0 || color2 > 126) { SendClientMessage(playerid, COLOR_GREY, " Color Number can't be below 0 or above 126 !"); return 1; }
    }
    new Float:X,Float:Y,Float:Z;
    GetPlayerPos(playerid, X,Y,Z);
    CreateVehicle(car, X+5,Y,Z, 0.0, color1, color2, 240);
    }
    return 1;
    }

    Egal in welches FraktionAuto ich mich setze, es steht: "Du bist kein Fahrlehrer"


    Code:
    public OnPlayerStateChange(playerid, newstate, oldstate)
    {
    new CarID = GetPlayerVehicleID(playerid);
    if(newstate == PLAYER_STATE_DRIVER)
    {
    if(PlayerInfo[playerid][pDrivelicence] == 0)
    {
    SCM(playerid, COLOR_RED, "Du hast noch keinen Führerschein");
    RemovePlayerFromVehicle(playerid);
    }
    if(CarID == FSCar[0] || FSCar[1] || FSCar[2] || FSCar[3] || FSCar[4] || FSCar[5] || FSCar[6] || FSCar[7])
    {
    if(IstFahrlehrer(playerid))
    {
    return 1;
    }
    else { RemovePlayerFromVehicle(playerid); SCM(playerid, COLOR_RED, "Du bist kein Fahrlehrer"); }
    }
    if(CarID == LSPDCar[0] || LSPDCar[1] || LSPDCar[2] || LSPDCar[3] || LSPDCar[4] || LSPDCar[5] || LSPDCar[6] || LSPDCar[7])
    {
    if(PlayerInfo[playerid][pTeam] == 1)
    {
    return 1;
    }
    else { RemovePlayerFromVehicle(playerid); SCM(playerid, COLOR_RED, "Du bist kein Polizist"); }
    }
    }
    return 1;
    }

    So funktioniert es :
    dcmd_kick(playerid,params[])
    {
    new id, reason[64], string[256], kicker[MAX_PLAYER_NAME], gekickter[MAX_PLAYER_NAME], string2[256];
    GetPlayerName(playerid, kicker, sizeof(kicker));
    GetPlayerName(id, gekickter, sizeof(gekickter));
    if (sscanf(params, "uz", id, reason)) SendClientMessage(playerid, COLOR_GREY, "Info: /kick [SpielerID] [Grund]");
    else if (id == INVALID_PLAYER_ID) SendClientMessage(playerid, COLOR_GREY, "Spieler wurde nicht gefunden!");
    else
    {
    if(PlayerInfo[playerid][pAdmin] >= 2)
    {
    format(string, sizeof(string), "Du wurdest von %s gekickt. Grund: %s",kicker,reason);
    format(string2, sizeof(string2), "Der Spieler %s wurde von %s gekickt. Grund: %s", gekickter, kicker, reason);
    SCM(id, COLOR_RED, string);
    SCMA(COLOR_YELLOW2, string2);
    Kick(id);
    }
    else
    {
    SCM(playerid, COLOR_GREY, "Du bist kein Admin");
    }
    }
    return 1;
    }


    Getestet !