Beiträge von Jumanij1402

    Hallo leute,


    Ich habe für mein AFK System ein /back befehl gemacht aber es kommen immer wannings wegen DeletePlayer3DTextLabel
    Hier der Befehl!


    if(strcmp("/back",cmdtext,true) == 0)
    {
    if(!M_Bot[playerid][PAFK])
    {
    SendClientMessage(playerid,0x33AA33AA,"In 10 Sekunden wirst du aus dem AFK-Modus gebracht!");
    KillTimer(M_Bot[playerid][PAFKTimer]);
    M_Bot[playerid][PAFKTimer] = SetTimerEx("AFKOff",10000,0,"i",playerid);
    DeletePlayer3DTextLabel(playerid);
    return 0;
    }
    else SendClientMessage(playerid,0xAA3333AA,"Du bist nicht AFK");
    return 1;
    }


    Hier die Warinings!
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(31265) : warning 202: number of arguments does not match definition
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(56528) : warning 203: symbol is never used: "M_OnPlayerCommandText"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    Header size: 13456 bytes
    Code size: 2552708 bytes
    Data size: 6459180 bytes
    Stack/heap size: 32768 bytes; estimated max. usage: unknown, due to recursion
    Total requirements: 9058112 bytes


    2 Warnings.

    Heey leute,


    Also die user auf meinem Server geben /afk ein und werden dann in den Afk Modus gebracht! Aber /back gibt es nicht bzw. dort steht tippe /back um wieder zurück zu gelangen aber es passiert nichts weil es denn befehl nicht im Script gibt! wie mache ich diesen befehel=?
    if(strcmp("/afk",cmdtext,true) == 0)
    {
    if(PlayerCuffed[playerid] >= 1 || PlayerTied[playerid] >= 1)
    {
    SendClientMessage(playerid,COLOR_GREY,"Du kannst jetzt nicht AFK gehen!");
    return 1;
    }
    if(!M_Bot[playerid][PAFK])
    {
    SendClientMessage(playerid,0x33AA33AA,"In 10 Sekunden wirst du in den AFK-Modus gebracht!");
    KillTimer(M_Bot[playerid][PAFKTimer]);
    M_Bot[playerid][PAFKTimer] = SetTimerEx("AFKOn",10000,0,"i",playerid);
    Create3DTextLabel("*Dieser Spieler ist AFK*",COLOR_YELLOW,30.0,40.0,50.0,40.0,0);


    }
    else SendClientMessage(playerid,0xAA3333AA,"Du bist schon AFK!");
    return 1;
    }


    Danke im vorraus

    Hallo leute!
    Wie kann ich hier bei dem befehl machen das mann das tor nur öffnen kann wenn man hausid 22 gekauft hat?
    if(strcmp(cmd, "/vvtor",true) == 0)
    {
    MoveObject(surealtor,318.5, -1190.4000244141, 75.300003051758,3.0);
    PlaySoundForPlayer(playerid,1035);
    SetTimer("Closesurealtor", 10000, 0);
    SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
    SendClientMessage(playerid, COLOR_GREEN, "Beeil dich das Tor schließt in 10 sek!");
    }


    Danke im vorraus

    Schon wieder ein Problem!
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(17813) : error 028: invalid subscript (not an array or too many subscripts): "Vehicle"
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(17813) : warning 215: expression has no effect
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(17813) : error 001: expected token: ";", but found "]"
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(17813) : error 029: invalid expression, assumed zero
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(17813) : fatal error 107: too many error messages on one line


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    4 Errors.
    Hier der Befehl
    new Vehicle;
    new Float:X, Float:Y, Float:Z, Float:Rot;
    if(strcmp(cmdtext,"/opark",true)==0)
    {
    if(IsPlayerInRangeOfPoint(playerid, 20.0, 884.5416,-1187.1437,16.9766))
    if(PlayerInfo[playerid][pMember] == 24 || PlayerInfo[playerid][pLeader] == 24)
    {
    new file[256], name[24];
    GetPlayerName(playerid, name, 24);
    format(file,sizeof(file),"Auto/%s.ini",name);
    //Hier das ist die rheie 17813 GetVehiclePos(Vehicle[playerid], X, Y, Z);
    GetVehicleZAngle(Vehicle[playerid], Rot);
    SetVehiclePos(Vehicle[playerid], X, Y, Z);
    VehicleInfo[playerid][model] = GetVehicleModel(playerid);
    VehicleInfo[playerid][CarX] = X;
    VehicleInfo[playerid][CarY] = Y;
    VehicleInfo[playerid][CarZ] = Z;
    VehicleInfo[playerid][CarRot] = Rot;
    SendClientMessage(playerid, GRÜN, "Das Fahrzeug wurde erfolgreich auf dem Verwahrplatz geparkt !");
    }
    else SendClientMessage(playerid,orange,"Du bist kein Ordnungsamt Mitarbeiter");
    else SendClientMessage(playerid,orange,"Du bist nicht am Verwahrplatz!");
    return 1;
    }
    Wie behebe ich das

    Ja ich will einfach wissen wie ich das definiere:


    "dtc_PlayerCar"
    warning 209: function "OnPlayerStateChange" should return a value
    "Code"
    "CarPos_x"
    "CarPos_y"
    "CarPos_z"
    "CarRotate"
    "CarId"
    "CarModel"
    "CarPos_x"
    "CarPos_y"
    "CarPos_z"
    "CarRotate"
    "CarNitro"
    "CarHyd"
    "CarWheel"
    "CarAusp"
    "CarSideL"
    "CarSideR"
    "CarFB"
    "CarRB"
    "CarSpoiler"
    "CarRoof"
    "CarHood"
    "CarVents"
    "CarLamps"
    "CarPJ"

    Hallo leute,


    Ich habe ein Parkkrallen System beim Loh WOS Script eingefügt und immer wenn ich compiliere kommen die errrors


    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(362) : error 017: undefined symbol "dtc_PlayerCar"
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(362) : error 009: invalid array size (negative, zero or out of bounds)
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(628) : warning 209: function "OnPlayerStateChange" should return a value
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(628) : warning 203: symbol is never used: "Code"
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(664) : error 017: undefined symbol "CarPos_x"
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(665) : error 017: undefined symbol "CarPos_y"
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(666) : error 017: undefined symbol "CarPos_z"
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(667) : error 017: undefined symbol "CarRotate"
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(713) : error 017: undefined symbol "CarId"
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(714) : error 017: undefined symbol "CarModel"
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(715) : error 017: undefined symbol "CarPos_x"
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(715) : warning 213: tag mismatch
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(716) : error 017: undefined symbol "CarPos_y"
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(716) : warning 213: tag mismatch
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(717) : error 017: undefined symbol "CarPos_z"
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(717) : warning 213: tag mismatch
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(718) : error 017: undefined symbol "CarRotate"
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(718) : warning 213: tag mismatch
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(719) : error 017: undefined symbol "CarNitro"
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(720) : error 017: undefined symbol "CarHyd"
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(721) : error 017: undefined symbol "CarWheel"
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(722) : error 017: undefined symbol "CarAusp"
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(723) : error 017: undefined symbol "CarSideL"
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(724) : error 017: undefined symbol "CarSideR"
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(725) : error 017: undefined symbol "CarFB"
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(726) : error 017: undefined symbol "CarRB"
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(727) : error 017: undefined symbol "CarSpoiler"
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(728) : error 017: undefined symbol "CarRoof"
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(729) : error 017: undefined symbol "CarHood"
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(730) : error 017: undefined symbol "CarVents"
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(731) : error 017: undefined symbol "CarLamps"
    C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(732) : error 017: undefined symbol "CarPJ"
    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    26 Errors.


    WIe defeniere ich die

    Hallo Breadfish


    Kann ich irgendwie in meinen Server Ordner die Handling.cfg aus meinem Gta Ordner rein kopieren und im Grand Larc script machen das der die ausem Server Ordner lädt und das die Vehicles dann so schnell fahren und beschleunigen wie in der Handling.cfg die im Server ordner ist?

    Also ich hatte Junkbuster installiert und habe es jetzt wieder deinstalliert aber jetzt kommt immer der Error!


    C:\Users\Administrator\Desktop\Julian\Stunt\gamemodes\fgame.pwn(7722) : error 017: undefined symbol "GetPlayerSpeed"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    1 Error.


    Wie definiere ich "GetPlayerSpeed"


    An der zeile (7722) Steht das hier


    public UpdatePlayer(playerid)
    {
    if(pInfo[playerid][Speedos] == 1)
    {
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
    {
    new Float:vh;
    new vid = GetPlayerVehicleID(playerid);
    new h, string[200];
    GetVehicleHealth(vid, vh);
    h = floatround(vh) / 10;
    new Float:speed = GetPlayerSpeed(playerid);// Das ist zeile 7722
    new ss = floatround(speed);
    format(string, sizeof(string), ""white"-----------------\n"yellow"Vehicle Name: %s\nSpeed km/h: %i\nHealth: %s%i"COL_YELLOW"\nuse /vehctrl\n"white"-----------------", VehicleName[GetVehicleModel(GetPlayerVehicleID(playerid)) - 400], ss, DamageColor(h), h);
    Update3DTextLabelText(Speedo[playerid][vid], COLOR_YELLOW, string);
    }
    }


    Danke im vorraus

    Hallo leute,


    Wenn ich /tanken eingebe steht dort immer du bist an keiner Tankstelle und ich bingefreezt


    /tanken befehl


    if(strcmp(cmd, "/tanken", true) == 0)
    {
    if(IsPlayerInAnyVehicle(playerid))
    {
    if(IsAtGasStation(playerid))
    {
    format(string, sizeof(string), "Diesel \nBenzin \nSuper \nBleifrei \nKerosin");
    ShowPlayerDialog(playerid, 43, DIALOG_STYLE_LIST, "Tankstelle", string, "Tanken", "Abbrechen");
    TogglePlayerControllable(playerid,false);
    return 1;
    }
    else
    {
    TogglePlayerControllable(playerid,true);
    SendClientMessage(playerid, COLOR_RED, "Du bist an keiner Tankstelle!");
    return 1;
    }
    }
    else
    {
    SendClientMessage(playerid,COLOR_RED,"Du sitzt in keinem Fahrzeug!");
    }
    return 1;
    }


    Die Tankstellen


    Function IsAtGasStation(playerid)
    {
    if(IsPlayerConnected(playerid))
    {
    if(IsPlayerInRangeOfPoint(playerid,15.0,1004.0070,-939.3102,42.1797) || IsPlayerInRangeOfPoint(playerid,15.0,1944.3260,-1772.9254,13.3906))
    {//LS
    return 1;
    }
    else if(IsPlayerInRangeOfPoint(playerid,15.0,-90.5515,-1169.4578,2.4079) || IsPlayerInRangeOfPoint(playerid,15.0,-1609.7958,-2718.2048,48.5391))
    {//LS
    return 1;
    }
    else if(IsPlayerInRangeOfPoint(playerid,15.0,-2029.4968,156.4366,28.9498) || IsPlayerInRangeOfPoint(playerid,15.0,-2408.7590,976.0934,45.4175))
    {//SF
    return 1;
    }
    else if(IsPlayerInRangeOfPoint(playerid,15.0,-2243.9629,-2560.6477,31.8841) || IsPlayerInRangeOfPoint(playerid,15.0,-1676.6323,414.0262,6.9484))
    {//Between LS and SF
    return 1;
    }
    else if(IsPlayerInRangeOfPoint(playerid,15.0,2202.2349,2474.3494,10.5258) || IsPlayerInRangeOfPoint(playerid,15.0,614.9333,1689.7418,6.6968))
    {//LV
    return 1;
    }
    else if(IsPlayerInRangeOfPoint(playerid,15.0,-1328.8250,2677.2173,49.7665) || IsPlayerInRangeOfPoint(playerid,15.0,70.3882,1218.6783,18.5165))
    {//LV
    return 1;
    }
    else if(IsPlayerInRangeOfPoint(playerid,15.0,2113.7390,920.1079,10.5255) || IsPlayerInRangeOfPoint(playerid,15.0,-1327.7218,2678.8723,50.0625))
    {//LV
    return 1;
    }
    else if(IsPlayerInRangeOfPoint(playerid, 30.0, 2002.8409,-2382.0603,13.5469))
    {//LS Airport
    return 1;
    }
    else if(IsPlayerInRangeOfPoint(playerid, 15.0, 1482.8306,-1695.1400,13.0190))
    {//Tanke beim LSPD
    return 1;
    }
    }
    return 0;
    }



    Was ist da falsch?

    if(newcar == HitmanLeaderBullet && PlayerInfo[playerid][pLeader] != 8)
    {
    SendClientMessage(playerid,COLOR_WHITE," Dieser Wagen ist Eigentum der Hitmen!");
    RemovePlayerFromVehicle(playerid);
    }
    if(GetVehicleModel(newcar) == 525 && !IsPlayerInFrac(playerid,24))
    {
    SendClientMessage(playerid,COLOR_WHITE," Dieser Wagen ist Eigentum der Abschleppfirma!");
    RemovePlayerFromVehicle(playerid);
    }
    if(!IsPlayerInFrac(playerid,5))
    {
    for(new pv = 0; pv < sizeof(LCNVehs); pv++)
    {
    if(newcar == LCNVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,6))
    {
    for(new pv = 0; pv < sizeof(YakuzaVehs); pv++)
    {
    if(newcar == YakuzaVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,7))
    {
    for(new pv = 0; pv < sizeof(PraesiVehs); pv++)
    {
    if(newcar == PraesiVehs[pv])
    {
    RemovePlayerFromVehicle(playerid);
    TogglePlayerControllable(playerid,false);
    TogglePlayerControllable(playerid,true);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,8))
    {
    for(new pv = 0; pv < sizeof(HitmanVehs); pv++)
    {
    if(newcar == HitmanVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    TogglePlayerControllable(playerid,false);
    TogglePlayerControllable(playerid,true);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,9))
    {
    for(new pv = 0; pv < sizeof(NewsVehs); pv++)
    {
    if(newcar == NewsVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    TogglePlayerControllable(playerid,false);
    TogglePlayerControllable(playerid,true);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,10))
    {
    for(new pv = 0; pv < sizeof(TaxiVehs); pv++)
    {
    if(newcar == TaxiVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    TogglePlayerControllable(playerid,false);
    TogglePlayerControllable(playerid,true);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,12))
    {
    for(new pv = 0; pv < sizeof(FuegosVehs); pv++)
    {
    if(newcar == FuegosVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    TogglePlayerControllable(playerid,false);
    TogglePlayerControllable(playerid,true);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,13))
    {
    for(new pv = 0; pv < sizeof(GroveVehs); pv++)
    {
    if(newcar == GroveVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    TogglePlayerControllable(playerid,false);
    TogglePlayerControllable(playerid,true);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,18))
    {
    for(new pv = 0; pv < sizeof(RifaVehs); pv++)
    {
    if(newcar == RifaVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    TogglePlayerControllable(playerid,false);
    TogglePlayerControllable(playerid,true);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,14))
    {
    for(new pv = 0; pv < sizeof(BallasVehs); pv++)
    {
    if(newcar == BallasVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    TogglePlayerControllable(playerid,false);
    TogglePlayerControllable(playerid,true);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,21))
    {
    for(new pv = 0; pv < sizeof(WheelVehs); pv++)
    {
    if(newcar == WheelVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    TogglePlayerControllable(playerid,false);
    TogglePlayerControllable(playerid,true);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,15))
    {
    for(new pv = 0; pv < sizeof(LSBC); pv++)
    {
    if(newcar == LSBC[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    TogglePlayerControllable(playerid,false);
    TogglePlayerControllable(playerid,true);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,16))
    {
    for(new pv = 0; pv < sizeof(VagosVehs); pv++)
    {
    if(newcar == VagosVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    TogglePlayerControllable(playerid,false);
    TogglePlayerControllable(playerid,true);
    }
    }
    }
    if(PlayerInfo[playerid][pJob] != 16)
    {
    for(new pv = 0; pv < sizeof(PilotenVehs); pv++)
    {
    if(newcar == PilotenVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Damit können nur Piloten fliegen!");
    RemovePlayerFromVehicle(playerid);
    TogglePlayerControllable(playerid,false);
    TogglePlayerControllable(playerid,true);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,17))
    {
    for(new pv = 0; pv < sizeof(AztecasVehs); pv++)
    {
    if(newcar == AztecasVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    TogglePlayerControllable(playerid,false);
    TogglePlayerControllable(playerid,true);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,19))
    {
    for(new pv = 0; pv < sizeof(RSVehs); pv++)
    {
    if(newcar == RSVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    TogglePlayerControllable(playerid,false);
    TogglePlayerControllable(playerid,true);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,20))
    {
    for(new pv = 0; pv < sizeof(TerrorVehs); pv++)
    {
    if(newcar == TerrorVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    TogglePlayerControllable(playerid,false);
    TogglePlayerControllable(playerid,true);
    }
    }
    }
    if(!IsPlayerInFrac(playerid, 11) && TakingLesson[playerid] != 1)
    {
    for(new pv = 0; pv < sizeof(FahrschulVehs); pv++)
    {
    if(newcar == FahrschulVehs[pv])
    {
    SendClientMessage(playerid, COLOR_RED, "Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    TogglePlayerControllable(playerid,false);
    TogglePlayerControllable(playerid,true);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,23))
    {
    for(new pv = 0; pv < sizeof(RMVehs); pv++)
    {
    if(newcar == RMVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    TogglePlayerControllable(playerid,false);
    TogglePlayerControllable(playerid,true);
    }
    }
    }
    if(!IsPlayerInFrac(playerid,24))
    {
    for(new pv = 0; pv < sizeof(oAmtVehs); pv++)
    {
    if(newcar == oAmtVehs[pv])
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel!");
    RemovePlayerFromVehicle(playerid);
    TogglePlayerControllable(playerid,false);
    TogglePlayerControllable(playerid,true);
    }
    }
    }
    if(IsACopCar(newcar))
    {
    if(IsACop(playerid) || IsPlayerInFrac(playerid,23)) { }
    else { RemovePlayerFromVehicle(playerid); }
    }
    if(IsABundeswehrCar(newcar))
    {
    if(IsPlayerInFrac(playerid,3)|| PlayerInfo[playerid][pLeader] == 7) { }
    else { RemovePlayerFromVehicle(playerid); }
    }
    if(IsAnAmbulance(newcar))
    {
    if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4 || PlayerInfo[playerid][pLeader] == 22 || PlayerInfo[playerid][pMember] == 22) { }
    else { RemovePlayerFromVehicle(playerid); }
    }
    if(PlayerKarting[playerid] != 0)
    {
    new kart = GetPlayerVehicleID(playerid);
    if(kart==110||kart==111||kart==112||kart==113||kart==114||kart==115)
    {
    PlayerInKart[playerid] = 1;
    KartingPlayers ++;
    }
    }
    if(GetVehicleModel(newcar) == 582 || GetVehicleModel(newcar) == 488)

    Hallo leute immer wenn ich mein Script Compiliere kommen die errors


    C:\Users\Administrator\Desktop\TestServer\Pawno\include\ocmd.inc(36) : warning 201: redefinition of constant/macro (symbol "OnPlayerCommandText")
    C:\Users\Administrator\Desktop\TestServer\gamemodes\GPR.pwn(8950) : error 017: undefined symbol "newcar"
    C:\Users\Administrator\Desktop\TestServer\gamemodes\GPR.pwn(8955) : error 017: undefined symbol "newcar"
    C:\Users\Administrator\Desktop\TestServer\gamemodes\GPR.pwn(8964) : error 017: undefined symbol "newcar"
    C:\Users\Administrator\Desktop\TestServer\gamemodes\GPR.pwn(8975) : error 017: undefined symbol "newcar"
    C:\Users\Administrator\Desktop\TestServer\gamemodes\GPR.pwn(8986) : error 017: undefined symbol "newcar"
    C:\Users\Administrator\Desktop\TestServer\gamemodes\GPR.pwn(8998) : error 017: undefined symbol "newcar"
    C:\Users\Administrator\Desktop\TestServer\gamemodes\GPR.pwn(9011) : error 017: undefined symbol "newcar"
    C:\Users\Administrator\Desktop\TestServer\gamemodes\GPR.pwn(9024) : error 017: undefined symbol "newcar"
    C:\Users\Administrator\Desktop\TestServer\gamemodes\GPR.pwn(9037) : error 017: undefined symbol "newcar"
    C:\Users\Administrator\Desktop\TestServer\gamemodes\GPR.pwn(9050) : error 017: undefined symbol "newcar"
    C:\Users\Administrator\Desktop\TestServer\gamemodes\GPR.pwn(9063) : error 017: undefined symbol "newcar"
    C:\Users\Administrator\Desktop\TestServer\gamemodes\GPR.pwn(9076) : error 017: undefined symbol "newcar"
    C:\Users\Administrator\Desktop\TestServer\gamemodes\GPR.pwn(9089) : error 017: undefined symbol "newcar"
    C:\Users\Administrator\Desktop\TestServer\gamemodes\GPR.pwn(9102) : error 017: undefined symbol "newcar"
    C:\Users\Administrator\Desktop\TestServer\gamemodes\GPR.pwn(9115) : error 017: undefined symbol "newcar"
    C:\Users\Administrator\Desktop\TestServer\gamemodes\GPR.pwn(9128) : error 017: undefined symbol "newcar"
    C:\Users\Administrator\Desktop\TestServer\gamemodes\GPR.pwn(9141) : error 017: undefined symbol "newcar"
    C:\Users\Administrator\Desktop\TestServer\gamemodes\GPR.pwn(9154) : error 017: undefined symbol "newcar"
    C:\Users\Administrator\Desktop\TestServer\gamemodes\GPR.pwn(9167) : error 017: undefined symbol "newcar"
    C:\Users\Administrator\Desktop\TestServer\gamemodes\GPR.pwn(9180) : error 017: undefined symbol "newcar"
    C:\Users\Administrator\Desktop\TestServer\gamemodes\GPR.pwn(9193) : error 017: undefined symbol "newcar"
    C:\Users\Administrator\Desktop\TestServer\gamemodes\GPR.pwn(9206) : error 017: undefined symbol "newcar"
    C:\Users\Administrator\Desktop\TestServer\gamemodes\GPR.pwn(9215) : error 017: undefined symbol "newcar"
    C:\Users\Administrator\Desktop\TestServer\gamemodes\GPR.pwn(9221) : error 017: undefined symbol "newcar"
    C:\Users\Administrator\Desktop\TestServer\gamemodes\GPR.pwn(9226) : error 017: undefined symbol "newcar"
    C:\Users\Administrator\Desktop\TestServer\gamemodes\GPR.pwn(9240) : error 017: undefined symbol "newcar"
    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    26 Errors.



    Wie behebe ich die bzw. wie definiere ich newcar...

    Hallo breadfish,


    Habe mir ein neues Script zum testen heruntergeladen mit UCP und Website ( MSSQL )


    Nur leider kommen beim compilieren immer Errors und zwar die!


    C:\Users\Administrator\Desktop\Kombitabel mit UCP welches auf der HP ist!\gamemodes\LSL-RP.pwn(18) : error 017: undefined symbol "MAX_PLAYERS"
    C:\Users\Administrator\Desktop\Kombitabel mit UCP welches auf der HP ist!\gamemodes\LSL-RP.pwn(18) : error 010: invalid function or declaration
    C:\Users\Administrator\Desktop\Kombitabel mit UCP welches auf der HP ist!\gamemodes\LSL-RP.pwn(59) : error 017: undefined symbol "MAX_VEHICLES"
    C:\Users\Administrator\Desktop\Kombitabel mit UCP welches auf der HP ist!\gamemodes\LSL-RP.pwn(59) : error 009: invalid array size (negative, zero or out of bounds)
    C:\Users\Administrator\Desktop\Kombitabel mit UCP welches auf der HP ist!\gamemodes\LSL-RP.pwn(319) : error 017: undefined symbol "MAX_VEHICLES"
    C:\Users\Administrator\Desktop\Kombitabel mit UCP welches auf der HP ist!\gamemodes\LSL-RP.pwn(319) : error 009: invalid array size (negative, zero or out of bounds)
    C:\Users\Administrator\Desktop\Kombitabel mit UCP welches auf der HP ist!\gamemodes\LSL-RP.pwn(320) : error 017: undefined symbol "MAX_VEHICLES"
    C:\Users\Administrator\Desktop\Kombitabel mit UCP welches auf der HP ist!\gamemodes\LSL-RP.pwn(320) : error 009: invalid array size (negative, zero or out of bounds)
    C:\Users\Administrator\Desktop\Kombitabel mit UCP welches auf der HP ist!\gamemodes\LSL-RP.pwn(322) : error 017: undefined symbol "MAX_VEHICLES"
    C:\Users\Administrator\Desktop\Kombitabel mit UCP welches auf der HP ist!\gamemodes\LSL-RP.pwn(322) : error 009: invalid array size (negative, zero or out of bounds)
    C:\Users\Administrator\Desktop\Kombitabel mit UCP welches auf der HP ist!\gamemodes\LSL-RP.pwn(328) : error 070: rational number support was not enabled
    C:\Users\Administrator\Desktop\Kombitabel mit UCP welches auf der HP ist!\gamemodes\LSL-RP.pwn(631) : error 070: rational number support was not enabled
    C:\Users\Administrator\Desktop\Kombitabel mit UCP welches auf der HP ist!\gamemodes\LSL-RP.pwn(935) : error 070: rational number support was not enabled
    C:\Users\Administrator\Desktop\Kombitabel mit UCP welches auf der HP ist!\gamemodes\LSL-RP.pwn(1237) : error 070: rational number support was not enabled
    C:\Users\Administrator\Desktop\Kombitabel mit UCP welches auf der HP ist!\gamemodes\LSL-RP.pwn(1611) : error 070: rational number support was not enabled
    C:\Users\Administrator\Desktop\Kombitabel mit UCP welches auf der HP ist!\gamemodes\LSL-RP.pwn(1967) : error 070: rational number support was not enabled
    C:\Users\Administrator\Desktop\Kombitabel mit UCP welches auf der HP ist!\gamemodes\LSL-RP.pwn(1990) : error 017: undefined symbol "GetPlayerWeapon"
    C:\Users\Administrator\Desktop\Kombitabel mit UCP welches auf der HP ist!\gamemodes\LSL-RP.pwn(1997) : error 017: undefined symbol "GetPlayerWeapon"
    C:\Users\Administrator\Desktop\Kombitabel mit UCP welches auf der HP ist!\gamemodes\LSL-RP.pwn(2351) : error 017: undefined symbol "mS_INVALID_LISTID"
    C:\Users\Administrator\Desktop\Kombitabel mit UCP welches auf der HP ist!\gamemodes\LSL-RP.pwn(2351) : error 008: must be a constant expression; assumed zero
    C:\Users\Administrator\Desktop\Kombitabel mit UCP welches auf der HP ist!\gamemodes\LSL-RP.pwn(2352) : error 017: undefined symbol "mS_INVALID_LISTID"
    C:\Users\Administrator\Desktop\Kombitabel mit UCP welches auf der HP ist!\gamemodes\LSL-RP.pwn(2352) : error 008: must be a constant expression; assumed zero
    C:\Users\Administrator\Desktop\Kombitabel mit UCP welches auf der HP ist!\gamemodes\LSL-RP.pwn(2355) : error 017: undefined symbol "MAX_VEHICLES"
    C:\Users\Administrator\Desktop\Kombitabel mit UCP welches auf der HP ist!\gamemodes\LSL-RP.pwn(2355) : error 009: invalid array size (negative, zero or out of bounds)
    C:\Users\Administrator\Desktop\Kombitabel mit UCP welches auf der HP ist!\gamemodes\LSL-RP.pwn(2400) : error 070: rational number support was not enabled
    C:\Users\Administrator\Desktop\Kombitabel mit UCP welches auf der HP ist!\gamemodes\LSL-RP.pwn(2416) : error 017: undefined symbol "MAX_PLAYER_NAME"
    Compilation aborted.


    Zuerst kackt Pawno ab und dann zeigt er die Errors an!
    Wie Behebe ich das?

    Hallo leute,


    Und zwar wie oben schon zusehen ist möchte ich die roller in meinem Server drosseln damit es dem echten leben entspricht


    Ich möchte das der roller wenn man keinen Führerschein hat 25 Fährt mit Auto Führerschein 45 und mit Motorrad Führerschein 125


    Aber wie mache ich das kann mir vllt jemand den code unten rein posten oder hilfe und Erklärungen geben


    Danke schonmal im vorraus