Beiträge von SenTiZz

    Hallo Community,


    ich hab mal wieder ein großes Problem.


    Bei meinem SoL Script speichern sich die Tuning teile nicht mehr...


    Kriege auch Warnings:


    if (strcmp("/carkey", cmdtext, true, 10) == 0)
    {
    new mv = MaxVeh;
    if(mv > 1)
    {
    Dtc_PlayerKey[playerid] += 1;
    if(PlayerInfo[playerid][pDonateRank] > 0)
    {
    if(Dtc_PlayerKey[playerid] == MaxVeh)
    {
    Dtc_PlayerKey[playerid] = 0;
    }
    }
    else
    {
    if(Dtc_PlayerKey[playerid] == MaxNODONVeh)
    {
    Dtc_PlayerKey[playerid] = 0;
    }
    }
    if(Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]])
    {
    format(string, sizeof(string), "Du nimmst deinen %dten Auto-Schlüssel, für deinen %s!",Dtc_PlayerKey[playerid]+1,CarName[PlayerCar[playerid][Dtc_PlayerKey[playerid]][CarModel]-400]);
    }
    else
    {
    format(string, sizeof(string), "Du nimmst deinen %dten Auto-Schlüssel, doch hast für diesen Schlüssel noch kein Auto!",Dtc_PlayerKey[playerid]+1);
    }
    SendClientMessage(playerid,COLOR_YELLOW,string);
    }
    return 1;
    }


    #define MaxVeh 4
    #define MaxNODONVeh 2


    liegt das vllt daran? Weil ich das so geschrieben habe?


    Meine Warnings:


    C:\Users\Moritz\Desktop\Scripte\Era Script\gamemodes\Release.pwn(63410) : warning 204: symbol is assigned a value that is never used: "SideL"
    C:\Users\Moritz\Desktop\Scripte\Era Script\gamemodes\Release.pwn(63525) : warning 204: symbol is assigned a value that is never used: "SideR"
    Function IsASideR(componentid)
    {
    if(componentid == 1007)
    {
    SideL = 1017;
    return 1;
    }
    if(componentid == 1026)
    {
    SideL = 1027;
    return 1;
    }
    if(componentid == 1030)
    {
    SideL = 1031;
    return 1;
    }
    if(componentid == 1040)
    {
    SideL = 1036;
    return 1;
    }
    if(componentid == 1041)
    {
    SideL = 1039;
    return 1;
    }
    if(componentid == 1042)
    {
    SideL = 1099;
    return 1;
    }
    if(componentid == 1051)
    {
    SideL = 1047;
    return 1;
    }
    if(componentid == 1048)
    {
    SideL = 1052;
    return 1;
    }
    if(componentid == 1056)
    {
    SideL = 1062;
    return 1;
    }
    if(componentid == 1063)
    {
    SideL = 1057;
    return 1;
    }
    if(componentid == 1069)
    {
    SideL = 1071;
    return 1;
    }
    if(componentid == 1072)
    {
    SideL = 1070;
    return 1;
    }
    if(componentid == 1094)
    {
    SideL = 1090;
    return 1;
    }
    if(componentid == 1093)
    {
    SideL = 1095;
    return 1;
    }
    if(componentid == 1122)
    {
    SideL = 1101;
    return 1;
    }
    if(componentid == 1102)
    {
    SideL = 1133;
    return 1;
    }
    if(componentid == 1124)
    {
    SideL = 1106;
    return 1;
    }
    if(componentid == 1107)
    {
    SideL = 1108;
    return 1;
    }
    if(componentid == 1118)
    {
    SideL = 1120;
    return 1;
    }
    if(componentid == 1137)
    {
    SideL = 1134;// Warning
    return 1;
    }
    return 0;
    }
    Function IsASideL(componentid)
    {
    if(componentid == 1134)
    {
    SideR = 1137;
    return 1;
    }
    if(componentid == 1119)
    {
    SideR = 1121;
    return 1;
    }
    if(componentid == 1120)
    {
    SideR = 1118;
    return 1;
    }
    if(componentid == 1108)
    {
    SideR = 1107;
    return 1;
    }
    if(componentid == 1017)
    {
    SideR = 1007;
    return 1;
    }
    if(componentid == 1027)
    {
    SideR = 1026;
    return 1;
    }
    if(componentid == 1031)
    {
    SideR = 1030;
    return 1;
    }
    if(componentid == 1036)
    {
    SideR = 1040;
    return 1;
    }
    if(componentid == 1039)
    {
    SideR = 1041;
    return 1;
    }
    if(componentid == 1099)
    {
    SideR = 1042;
    return 1;
    }
    if(componentid == 1047)
    {
    SideR = 1051;
    return 1;
    }
    if(componentid == 1052)
    {
    SideR = 1048;
    return 1;
    }
    if(componentid == 1062)
    {
    SideR = 1056;
    return 1;
    }
    if(componentid == 1057)
    {
    SideR = 1063;
    return 1;
    }
    if(componentid == 1071)
    {
    SideR = 1069;
    return 1;
    }
    if(componentid == 1070)
    {
    SideR = 1072;
    return 1;
    }
    if(componentid == 1090)
    {
    SideR = 1094;
    return 1;
    }
    if(componentid == 1095)
    {
    SideR = 1093;
    return 1;
    }
    if(componentid == 1095)
    {
    SideR = 1093;
    return 1;
    }
    if(componentid == 1101)
    {
    SideR = 1122;
    return 1;
    }
    if(componentid == 1133)
    {
    SideR = 1102;
    return 1;
    }
    if(componentid == 1106)
    {
    SideR = 1124;// Warning
    return 1;
    }
    return 0;
    }


    Ich hoffe es kann mir einer weiterhelfen


    LG

    Habs nun anders so;


    Aber mein /ofpark geht nun garnicht -.-



    if(strcmp("/ofpark",cmdtext,true)==0)
    {
    new vehi;
    new modelstring[45],xstring[45], ystring[45], zstring[45], anglestring[45];
    new Float:vehx, Float:vehy, Float:vehz;
    new vehmodel;
    new platestring[8];
    new Float:vehangle;
    vehi = GetPlayerVehicleID(playerid);
    GetVehicleZAngle(vehi, vehangle);
    vehmodel = GetVehicleModel(vehi);
    GetVehiclePos(vehi, vehx, vehy, vehz);
    if(PlayerInfo[playerid][pLeader] == 24 || PlayerInfo[playerid][pMember] == 24)
    {
    for(new i = 0; i < sizeof(PDCars); i++)
    {
    if(vehi == PDCars[i])
    {
    RemovePlayerFromVehicle(playerid);
    DestroyVehicle(PDCars[i]);
    PDCars[i] = CreateVehicle(vehmodel, vehx, vehy, vehz+0.5, vehangle, 79, 1, 900);
    format(platestring, sizeof(platestring), "SAPD %i", i);
    SetVehicleNumberPlate(PDCars[i],platestring);


    fCarparkInfo[1] [i] [ModelId] = vehmodel;
    fCarparkInfo[1] [i] [ParkX] = vehx;
    fCarparkInfo[1] [i] [ParkY] = vehy;
    fCarparkInfo[1] [i] [ParkZ] = vehz;
    fCarparkInfo[1] [i] [ParkAngle] = vehangle;


    format(modelstring,sizeof(modelstring), "Car%i_Model",i);
    dini_IntSet("SAPDCars.ini",modelstring,fCarparkInfo[1] [i] [ModelId]);


    format(xstring,sizeof(xstring), "Car%i_X",i);
    dini_FloatSet("SAPDCars.ini",xstring,fCarparkInfo[1] [i] [ParkX]);


    format(ystring,sizeof(ystring), "Car%i_Y",i);
    dini_FloatSet("SAPDCars.ini",ystring,fCarparkInfo[1] [i] [ParkY]);


    format(zstring,sizeof(zstring), "Car%i_Z",i);
    dini_FloatSet("SAPDCars.ini",zstring,fCarparkInfo[1] [i] [ParkZ]);


    format(anglestring,sizeof(anglestring), "Car%i_Angle",i);
    dini_FloatSet("SAPDCars.ini",anglestring,fCarparkInfo[1] [i] [ParkAngle]);
    }
    }
    }
    else if(PlayerInfo[playerid][pLeader] == 24 || PlayerInfo[playerid][pMember] == 24)
    {
    for(new i = 0; i < sizeof(SFCars); i++)
    {
    if(vehi == SFCars[i])
    {
    RemovePlayerFromVehicle(playerid);
    DestroyVehicle(SFCars[i]);
    SFCars[i] = CreateVehicle(vehmodel, vehx, vehy, vehz+0.5, vehangle, 79, 1, 900);
    format(platestring, sizeof(platestring), "SAPD %i", i);
    SetVehicleNumberPlate(SFCars[i],platestring);


    fCarparkInfo[1] [i] [ModelId] = vehmodel;
    fCarparkInfo[1] [i] [ParkX] = vehx;
    fCarparkInfo[1] [i] [ParkY] = vehy;
    fCarparkInfo[1] [i] [ParkZ] = vehz;
    fCarparkInfo[1] [i] [ParkAngle] = vehangle;


    format(modelstring,sizeof(modelstring), "Car%i_Model",i);
    dini_IntSet("SFPDCars.ini",modelstring,fCarparkInfo[1] [i] [ModelId]);


    format(xstring,sizeof(xstring), "Car%i_X",i);
    dini_FloatSet("SFPDCars.ini",xstring,fCarparkInfo[1] [i] [ParkX]);


    format(ystring,sizeof(ystring), "Car%i_Y",i);
    dini_FloatSet("SFPDCars.ini",ystring,fCarparkInfo[1] [i] [ParkY]);


    format(zstring,sizeof(zstring), "Car%i_Z",i);
    dini_FloatSet("SFPDCars.ini",zstring,fCarparkInfo[1] [i] [ParkZ]);


    format(anglestring,sizeof(anglestring), "Car%i_Angle",i);
    dini_FloatSet("SFPDCars.ini",anglestring,fCarparkInfo[1] [i] [ParkAngle]);
    }
    }
    }
    else if(PlayerInfo[playerid][pLeader] == 24 || PlayerInfo[playerid][pMember] == 24)
    {
    for(new i = 0; i < sizeof(FBIVehs); i++)
    {
    if(vehi == FBIVehs[i])
    {
    RemovePlayerFromVehicle(playerid);
    DestroyVehicle(FBIVehs[i]);
    FBIVehs[i] = CreateVehicle(vehmodel, vehx, vehy, vehz+0.5, vehangle, 0, 0, 900);
    format(platestring, sizeof(platestring), "FBI %i", i);
    SetVehicleNumberPlate(FBIVehs[i],platestring);
    fCarparkInfo[2] [i] [ModelId] = vehmodel;
    fCarparkInfo[2] [i] [ParkX] = vehx;
    fCarparkInfo[2] [i] [ParkY] = vehy;
    fCarparkInfo[2] [i] [ParkZ] = vehz;
    fCarparkInfo[2] [i] [ParkAngle] = vehangle;



    format(modelstring,sizeof(modelstring), "Car%i_Model",i);
    dini_IntSet("FBICars.ini",modelstring,fCarparkInfo[2] [i] [ModelId]);


    format(xstring,sizeof(xstring), "Car%i_X",i);
    dini_FloatSet("FBICars.ini",xstring,fCarparkInfo[2] [i] [ParkX]);


    format(ystring,sizeof(ystring), "Car%i_Y",i);
    dini_FloatSet("FBICars.ini",ystring,fCarparkInfo[2] [i] [ParkY]);


    format(zstring,sizeof(zstring), "Car%i_Z",i);
    dini_FloatSet("FBICars.ini",zstring,fCarparkInfo[2] [i] [ParkZ]);


    format(anglestring,sizeof(anglestring), "Car%i_Angle",i);
    dini_FloatSet("FBICars.ini",anglestring,fCarparkInfo[2] [i] [ParkAngle]);
    }
    }
    }


    if (IsABallasVeh(vehicleid) && !ispassenger)
    {
    if(IsPlayerInFrac(playerid,14) || IsPlayerInFrac(playerid,24)) {}
    else
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel");
    TogglePlayerControllable(playerid,false);
    TogglePlayerControllable(playerid,true);
    }
    }


    Das mit dem einsteigen geht soweit aber das mit dem abschleppen nicht

    if(PlayerInfo[playerid][pLeader] != 14 || PlayerInfo[playerid][pMember] != 14 || PlayerInfo[playerid][pLeader] != 24 || PlayerInfo[playerid][pMember] != 24)
    {
    for(new pv = 0; pv < sizeof(BallasVehs); pv++)
    {
    if(newcar == BallasVehs[pv])
    {
    SendClientMessage(playerid, COLOR_BLUE, "In das Auto darfst du nicht rein...");
    TogglePlayerControllable(playerid,0);
    TogglePlayerControllable(playerid,1);
    RemovePlayerFromVehicle(playerid);
    }
    }
    }


    Wieso komme ich nicht rein????


    Wenn ich ! weg mache komme ich auch net rein ^^

    if (LCNVehs(vehicleid) && !ispassenger)// Hier sind die ganzen Errors ^^
    {
    if(IsPlayerInFrac(playerid,5) || IsPlayerInFrac(playerid,24)) {}
    else
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel");
    TogglePlayerControllable(playerid,false);
    TogglePlayerControllable(playerid,true);
    }
    }
    Brauche das system dringend... Wegen dem Oamt...

    Hab ich auch geändert hab das so:


    if(IsAArmyCar(newcar))
    {
    if(IsPlayerInFrac(playerid,3)|| PlayerInfo[playerid][pLeader] == 7) { }
    else { RemovePlayerFromVehicle(playerid); }
    }

    if(LCNVehs(newcar))
    {
    if(IsPlayerInFrac(playerid,5) || IsPlayerInFrac(playerid,24)) { }
    else { RemovePlayerFromVehicle(playerid); }
    }
    if(YakuzaVehs(newcar))
    {
    if(IsPlayerInFrac(playerid,6) || IsPlayerInFrac(playerid,24)) { }
    else { RemovePlayerFromVehicle(playerid); }
    }
    if(PraesiVehs(newcar))
    {
    if(IsPlayerInFrac(playerid,7) || IsPlayerInFrac(playerid,24)) { }
    else { RemovePlayerFromVehicle(playerid); }
    }
    if(HitmanVehs(newcar))
    {
    if(IsPlayerInFrac(playerid,8) || IsPlayerInFrac(playerid,24)) { }
    else { RemovePlayerFromVehicle(playerid); }
    }


    Kriege immer Errors:


    C:\Users\Moritz\Desktop\Scripte\Era Script\gamemodes\Release.pwn(9885) : error 012: invalid function call, not a valid address
    C:\Users\Moritz\Desktop\Scripte\Era Script\gamemodes\Release.pwn(9885) : warning 215: expression has no effect
    C:\Users\Moritz\Desktop\Scripte\Era Script\gamemodes\Release.pwn(9885) : error 001: expected token: ";", but found ")"
    C:\Users\Moritz\Desktop\Scripte\Era Script\gamemodes\Release.pwn(9885) : error 029: invalid expression, assumed zero
    C:\Users\Moritz\Desktop\Scripte\Era Script\gamemodes\Release.pwn(9885) : 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.


    if(LCNVehs(newcar))


    WIESO???

    Icch brauch hilfe und nicht so bescheuerte kommentare man


    //e


    if (IsAFbiCar(vehicleid) && !ispassenger)
    {
    if(IsACop(playerid) || IsPlayerInFrac(playerid,23) || IsPlayerInFrac(playerid,24)) {}
    else
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel");
    TogglePlayerControllable(playerid,false);
    TogglePlayerControllable(playerid,true);
    }
    }


    hier gehts doch auch ^^
    //e


    So gehts auch nicht...
    if(LCNVehs(newcar))
    {
    if(IsPlayerInFrac(playerid,5) || IsPlayerInFrac(playerid,24)) { }
    else { RemovePlayerFromVehicle(playerid); }
    }

    Hallo,


    ich finde meine Errors nicht...


    Hier:
    Function OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)


    if (LCNVehs(vehicleid) && !ispassenger)
    {
    if(IsPlayerInFrac(playerid,5) || IsPlayerInFrac(playerid,24)) {}
    else
    {
    SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel");
    TogglePlayerControllable(playerid,false);
    TogglePlayerControllable(playerid,true);
    }
    }


    C:\Users\Moritz\Desktop\Scripte\Era Script\gamemodes\Release.pwn(3927) : warning 217: loose indentation
    C:\Users\Moritz\Desktop\Scripte\Era Script\gamemodes\Release.pwn(3927) : error 012: invalid function call, not a valid address
    C:\Users\Moritz\Desktop\Scripte\Era Script\gamemodes\Release.pwn(3927) : warning 215: expression has no effect
    C:\Users\Moritz\Desktop\Scripte\Era Script\gamemodes\Release.pwn(3927) : error 001: expected token: ";", but found ")"
    C:\Users\Moritz\Desktop\Scripte\Era Script\gamemodes\Release.pwn(3927) : error 029: invalid expression, assumed zero
    C:\Users\Moritz\Desktop\Scripte\Era Script\gamemodes\Release.pwn(3927) : 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.


    if (LCNVehs(vehicleid) && !ispassenger)


    Hoffe es kann einer helfen


    LG

    Ja Hallo,


    ich hab mir heute mal ein /ofpark gescriptet aber das Oamt kann ja nicht in die Cars rein...


    Aber wie mache ich das sie drinne bleiben bei /oaufbrechen...


    if(strcmp("/ofpark",cmdtext,true)==0)
    {
    new vehi;
    new modelstring[45],xstring[45], ystring[45], zstring[45], anglestring[45];
    new Float:vehx, Float:vehy, Float:vehz;
    new vehmodel;
    new platestring[8];
    new Float:vehangle;
    vehi = GetPlayerVehicleID(playerid);
    GetVehicleZAngle(vehi, vehangle);
    vehmodel = GetVehicleModel(vehi);
    GetVehiclePos(vehi, vehx, vehy, vehz);
    if(!IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid)))
    {
    SendClientMessage(playerid, COLOR_GREY, " An deinem Abschleppwagen ist kein Auto angehängt!");
    return 1;
    }
    if(PlayerInfo[playerid][pLeader] == 24 || PlayerInfo[playerid][pMember] == 24)
    {
    for(new i = 0; i < sizeof(PDCars); i++)
    {
    if(vehi == PDCars[i])
    {
    RemovePlayerFromVehicle(playerid);
    DestroyVehicle(PDCars[i]);
    PDCars[i] = CreateVehicle(vehmodel, vehx, vehy, vehz+0.5, vehangle, 79, 1, 900);
    format(platestring, sizeof(platestring), "SAPD %i", i);
    SetVehicleNumberPlate(PDCars[i],platestring);
    fCarparkInfo[1] [i] [ModelId] = vehmodel;
    fCarparkInfo[1] [i] [ParkX] = vehx;
    fCarparkInfo[1] [i] [ParkY] = vehy;
    fCarparkInfo[1] [i] [ParkZ] = vehz;
    fCarparkInfo[1] [i] [ParkAngle] = vehangle;


    format(modelstring,sizeof(modelstring), "Car%i_Model",i);
    dini_IntSet("SAPDCars.ini",modelstring,fCarparkInfo[1] [i] [ModelId]);


    format(xstring,sizeof(xstring), "Car%i_X",i);
    dini_FloatSet("SAPDCars.ini",xstring,fCarparkInfo[1] [i] [ParkX]);


    format(ystring,sizeof(ystring), "Car%i_Y",i);
    dini_FloatSet("SAPDCars.ini",ystring,fCarparkInfo[1] [i] [ParkY]);


    format(zstring,sizeof(zstring), "Car%i_Z",i);
    dini_FloatSet("SAPDCars.ini",zstring,fCarparkInfo[1] [i] [ParkZ]);


    format(anglestring,sizeof(anglestring), "Car%i_Angle",i);
    dini_FloatSet("SAPDCars.ini",anglestring,fCarparkInfo[1] [i] [ParkAngle]);
    }
    }
    }
    else if(PlayerInfo[playerid][pLeader] == 24 || PlayerInfo[playerid][pMember] == 24)
    {
    for(new i = 0; i < sizeof(SFCars); i++)
    {
    if(vehi == SFCars[i])
    {
    RemovePlayerFromVehicle(playerid);
    DestroyVehicle(SFCars[i]);
    SFCars[i] = CreateVehicle(vehmodel, vehx, vehy, vehz+0.5, vehangle, 79, 1, 900);
    format(platestring, sizeof(platestring), "SAPD %i", i);
    SetVehicleNumberPlate(SFCars[i],platestring);


    fCarparkInfo[1] [i] [ModelId] = vehmodel;
    fCarparkInfo[1] [i] [ParkX] = vehx;
    fCarparkInfo[1] [i] [ParkY] = vehy;
    fCarparkInfo[1] [i] [ParkZ] = vehz;
    fCarparkInfo[1] [i] [ParkAngle] = vehangle;


    format(modelstring,sizeof(modelstring), "Car%i_Model",i);
    dini_IntSet("SFPDCars.ini",modelstring,fCarparkInfo[1] [i] [ModelId]);


    format(xstring,sizeof(xstring), "Car%i_X",i);
    dini_FloatSet("SFPDCars.ini",xstring,fCarparkInfo[1] [i] [ParkX]);


    format(ystring,sizeof(ystring), "Car%i_Y",i);
    dini_FloatSet("SFPDCars.ini",ystring,fCarparkInfo[1] [i] [ParkY]);


    format(zstring,sizeof(zstring), "Car%i_Z",i);
    dini_FloatSet("SFPDCars.ini",zstring,fCarparkInfo[1] [i] [ParkZ]);


    format(anglestring,sizeof(anglestring), "Car%i_Angle",i);
    dini_FloatSet("SFPDCars.ini",anglestring,fCarparkInfo[1] [i] [ParkAngle]);
    }
    }
    }


    Wie mache ich das nun?


    LG

    Steuern weren gesetzt in der ini gesetzt und da wird das dann der preis gesetzt von den /steuern also da ist der preis wie viel die steuern sind ^^

    Habs doch so geht net


    ocmd:steuerkasse(playerid,params[])
    {
    if(PlayerInfo[playerid][pLeader] == 7)
    {
    new string[265];
    new preis;
    if(sscanf(params,"i",preis)) return SendClientMessage(playerid,COLOR_WHITE,"Benutzung: /steuerkasse [preis]");
    if(Steuern >= preis)
    {
    Steuerkasse -= preis;
    GivePlayerMoney(playerid,preis);
    format(string,sizeof(string),"Du hast %d$ aus der Steuerkasse ausgezahlt. Steuerkasse: %d$",preis,Steuerkasse);
    SendClientMessage(playerid,COLOR_BLUE,string);
    }
    else
    {
    format(string,sizeof(string),"So viel sind nicht in der Steuerkasse. Steuerkasse: %d$",Steuerkasse);
    SendClientMessage(playerid,COLOR_BLUE,string);
    }
    }
    else
    {
    SendClientMessage(playerid,COLOR_RED,"Du bist kein Präsident!");
    }
    return 1;
    }

    Hallo,


    ich hab eine Steuerkasse für den Präsident gemacht.


    Aber er kann z.B keine 10000 Auszahlen... Wieso nicht?


    Befehl:
    ocmd:steuerkasse(playerid,params[])
    {
    if(PlayerInfo[playerid][pLeader] == 7)
    {
    new string[265];
    new preis;
    if(sscanf(params,"i",preis)) return SendClientMessage(playerid,COLOR_WHITE,"Benutzung: /steuerkasse [preis]");
    if(Steuern >= preis)
    {
    Steuerkasse -= preis;
    GivePlayerMoney(playerid,-preis);
    format(string,sizeof(string),"Du hast %d$ aus der Steuerkasse ausgezahlt. Steuerkasse: %d$",preis,Steuerkasse);
    SendClientMessage(playerid,COLOR_BLUE,string);
    }
    else
    {
    format(string,sizeof(string),"So viel sind nicht in der Steuerkasse. Steuerkasse: %d$",Steuerkasse);
    SendClientMessage(playerid,COLOR_BLUE,string);
    }
    }
    else
    {
    SendClientMessage(playerid,COLOR_RED,"Du bist kein Präsident!");
    }
    return 1;
    }


    Obwohl viel mehr drinne ist...


    LG

    Hallo,


    ich hab da mal eine Frage.


    Wie übertrage ich die Bizdaten auf einen anderen Spieler?


    Da ich gerne ein Bizsystemverkaufsystem schreiben will für mein GF aber ich weiss nicht so doll wie ich die Daten nun am besten übertrage...


    hoffe es kann mir einer weiterhelfen


    LG


    Moritz

    Hallo,


    bei vielen leuten kommt immer das sie kein Mitglied vom SAPD sind also auch bei anderen Fraktionsautos steht das.


    Code:



    Frakautos werden so geladen:



    und manchmal kommt du hast keine schlüssel


    Könnte dann nur dieses hier sein:



    wie behebe ich diesen bug?


    LG


    Moritz

    Hallo,


    ich hab mir heute mal das Bombensystem angeschaut und mal getestet da ich bei mir aufm Server nie Terror war...


    Also die Bombe wird nicht entfernt wieso???


    Code:




    Hoffe es kann mir geholfen werden


    LG