Beiträge von Aykut

    Hallo wenn ich den CMD: startroute schreibe und die 1. Route wähle erscheint kein CP, wisst ihr vielleicht woran es liegen könnte?
    Wenn ich es compile zeigt es keine Fehlern an.
    Ich bedanke mich schonmal im vorraus :)


    CMD:startroute(playerid, params[])
    {
    if(PlayerInfo[playerid][pJob] == 22 || PlayerInfo[playerid][pJob2] == 22)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsABusCar(vehicleid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
    {
    if(!CheckPointCheck(playerid))
    {
    if(IsPlayerInRangeOfPoint(playerid, 80.0, 1237.2679, -1814.0695, 13.2502))
    {
    ShowPlayerDialog(playerid, DIALOG_BUSJOB, DIALOG_STYLE_LIST,"Select the Route","Route #1\nRoute #2\nRoute #3\nRoute #4","Select","Cancel");
    return 1;
    }
    }
    else return SendClientMessageEx(playerid, COLOR_WHITE, "Please ensure that your current checkpoint is destroyed first (you either have material packages, or another existing checkpoint).");
    }
    else return SendClientMessageEx(playerid, COLOR_GREY, "You are not driving a Bus Transport Vehicle or you aren't near the Transport Company!");
    }
    else return SendClientMessageEx(playerid, COLOR_GREY, "You are not a Bus Driver!");
    return 1;
    }



    Dialog


    if(dialogid == DIALOG_BUSJOB)
    {
    if(response)
    {
    switch(listitem)
    {
    case 0:
    {
    SetPlayerCheckpoint(playerid, 1308.3702, -1857.7684, 13.5469, 7.0); //1st Stat
    BusCP[playerid] = 1;
    }
    case 1:
    {
    ShowPlayerDialog(playerid, DIALOG_BUSJOB, DIALOG_STYLE_LIST,"Select the Route","Route #1\nRoute #2\nRoute #3\nRoute #4","Select","Cancel");
    }
    case 2:
    {
    ShowPlayerDialog(playerid, DIALOG_BUSJOB, DIALOG_STYLE_LIST,"Select the Route","Route #1\nRoute #2\nRoute #3\nRoute #4","Select","Cancel");
    }
    case 3:
    {
    ShowPlayerDialog(playerid, DIALOG_BUSJOB, DIALOG_STYLE_LIST,"Select the Route","Route #1\nRoute #2\nRoute #3\nRoute #4","Select","Cancel");
    }
    }
    }
    return 1;
    }

    Hallo ich habe folgendes Problem wenn ich meinen SA:MP Server bei Xtream Server starte kommt kein serverlog oder es ändert sich nichts.
    Ich habe es einige male versucht doch es funktioniert immernoch nicht. wisst ihr villt. woran das problem liegt ?


    LG Ayk

    Es ladet irgendwie das Plugin nicht. weißt du woran es liegt ?


    Server CFG:


    Log:


    Habe den Plugin gewechselt sodass er lädt nun kommen diese fehler.


    Zitat

    [01:25:32] Error: Function not registered: 'mysql_tquery'
    [01:25:32] Error: Function not registered: 'mysql_escape_string'
    [01:25:32] Error: Function not registered: 'mysql_log'
    [01:25:32] Error: Function not registered: 'cache_insert_id'
    [01:25:32] Error: Function not registered: 'cache_affected_rows'

    Hallo liebe Breadfish Community,
    Wenn ich meinen Server starte werden diese probleme angezeigt, weiß jemand vielleicht wie ich sie löse.
    Ich bedanke mich schon mal im vorraus.



    LG


    hab nicht richtig gelesen und mich vertan. Versuchs mal so


    Edit: Zeig mal 5-10 zeilen über dem case DIALOG...


    case DIALOG_GROUP_EDITDIV: {


    new
    iGroupID = GetPVarInt(playerid, "Group_EditID"),
    iDivID = GetPVarInt(playerid, "Group_EditDiv"),
    szTitle[32 + GROUP_MAX_NAME_LEN];


    if(response) {
    if(strlen(inputtext) >= GROUP_MAX_DIV_LEN) {
    format(szTitle, sizeof szTitle, "Edit Group Division (%i) {%s}(%s)", iDivID + 1, Group_NumToDialogHex(arrGroupData[iGroupID][g_hDutyColour]), arrGroupData[iGroupID][g_szGroupName]);
    return ShowPlayerDialog(playerid, DIALOG_GROUP_EDITDIV, DIALOG_STYLE_INPUT, szTitle, "The specified name must be less than "#GROUP_MAX_DIV_LEN" characters in length.\n\nSpecify a division name (or none to disable it).", "Confirm", "Cancel");
    }
    arrGroupDivisions[iGroupID][iDivID][0] = 0;
    if(!isnull(inputtext)) //mysql_escape_string(inputtext, arrGroupDivisions[iGroupID][iDivID]);
    }


    new
    szDialog[(GROUP_MAX_DIV_LEN + 8) * MAX_GROUP_DIVS];


    for(new i = 0; i != MAX_GROUP_DIVS; ++i) {
    format(szDialog, sizeof szDialog, "%s\n(%i) %s", szDialog, i + 1, ((arrGroupDivisions[iGroupID][i][0]) ? (arrGroupDivisions[iGroupID][i]) : ("{AAAAAA}(undefined){FFFFFF}")));
    }


    format(szTitle, sizeof szTitle, "Edit Group Divisions {%s}(%s)", Group_NumToDialogHex(arrGroupData[iGroupID][g_hDutyColour]), arrGroupData[iGroupID][g_szGroupName]);
    ShowPlayerDialog(playerid, DIALOG_GROUP_EDITDIVS, DIALOG_STYLE_LIST, szTitle, szDialog, "Select", "Cancel");
    DeletePVar(playerid, "Group_EditDiv");
    }

    Hallo, wisst ihr vielleicht wo das Problem liegt? Danke im vorraus.


    Zitat

    C:\Users\izseonna\Desktop\Next Generation Gaming\gamemodes\EGRP.pwn(106516) : warning 217: loose indentation
    C:\Users\izseonna\Desktop\Next Generation Gaming\gamemodes\EGRP.pwn(106516) : error 014: invalid statement; not in switch
    C:\Users\izseonna\Desktop\Next Generation Gaming\gamemodes\EGRP.pwn(106516) : warning 215: expression has no effect
    C:\Users\izseonna\Desktop\Next Generation Gaming\gamemodes\EGRP.pwn(106516) : error 001: expected token: ";", but found ":"
    C:\Users\izseonna\Desktop\Next Generation Gaming\gamemodes\EGRP.pwn(106516) : error 029: invalid expression, assumed zero
    C:\Users\izseonna\Desktop\Next Generation Gaming\gamemodes\EGRP.pwn(106516) : fatal error 107: too many error messages on one line


    case DIALOG_GROUP_LOCKERS: {


    new
    iGroupID = GetPVarInt(playerid, "Group_EditID"),
    szTitle[32 + GROUP_MAX_NAME_LEN];


    if(response)
    {
    format(szTitle, sizeof szTitle, "Edit Group Locker Position {%s}(%s)", Group_NumToDialogHex(arrGroupData[iGroupID][g_hDutyColour]), arrGroupData[iGroupID][g_szGroupName]);
    if (listitem == MAX_GROUP_LOCKERS)
    {
    ShowPlayerDialog(playerid, DIALOG_GROUP_LOCKERDELETECONF, DIALOG_STYLE_MSGBOX, szTitle, "{FFFFFF}Are you sure you want to delete ALL of the lockers for this group?", "Cancel", "Confirm");
    return 1;
    }
    else
    {
    SetPVarInt(playerid, "Group_EditLocker", listitem);
    ShowPlayerDialog(playerid, DIALOG_GROUP_LOCKERACTION, DIALOG_STYLE_LIST, szTitle, "Move Locker (to your current position)\nDelete Locker", "Select", "Cancel");
    return 1;
    }
    }
    return Group_DisplayDialog(playerid, iGroupID);
    }

    dies hier ?


    enum bizInfo
    {
    bType,
    bStatus,
    bOwner[32],
    Float:bX,
    Float:bY,
    Float:bZ,
    Float:bA,
    Float: bInteriorX,
    Float: bInteriorY,
    Float: bInteriorZ,
    Float: bInteriorA,
    bPickup,
    bMoney,
    bProducts,
    Text3D:bText,
    bSold,
    bLevel,
    bPrice,
    bAP
    }
    new BizInfo[MAX_BIZ][bizInfo];



    Was muss ich hier ändern dass es z.B der Biz ID 1 den betrag einzahlt was der Spieler zahlen muss.


    forward ReFill(playerid);
    public ReFill(playerid)
    {
    if(!IsAtFuelStation(playerid) || !IsPlayerInAnyVehicle(playerid) || VehicleFuel[GetPlayerVehicleID(playerid)] >= 100.0 || GetPlayerCash(playerid) < 1)
    {
    StopRefueling(playerid);
    }
    else
    {
    new engine,lights,alarm,doors,bonnet,boot,objective;
    GetVehicleParamsEx(GetPlayerVehicleID(playerid),engine,lights,alarm,doors,bonnet,boot,objective);
    if(engine == VEHICLE_PARAMS_ON) return StopRefueling(playerid);
    VehicleFuel[GetPlayerVehicleID(playerid)] += 1.0; RefuelingVehiclePrice[playerid] += 30;
    if(VehicleFuel[GetPlayerVehicleID(playerid)] >= 100.0) VehicleFuel[GetPlayerVehicleID(playerid)] = 100.0;
    }
    return true;
    }

    Hallo ;)
    Wisst ihr villt. wo mein fehler liegt?


    (32645) : error 012: invalid function call, not a valid address
    (32645) : warning 215: expression has no effect
    (32645) : error 001: expected token: ";", but found ")"
    (32645) : error 029: invalid expression, assumed zero



    CMD:lspd(playerid, params[])
    {
    if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
    {
    if (IsPlayerInRangeOfPoint(playerid,3,255.3,77.4,1003.6) || IsPlayerInRangeOfPoint(playerid,3,-1616.1294,681.1594,7.1875) || IsPlayerInRangeOfPoint(playerid,3,327.05, 306.81, 999.14) || IsPlayerInRangeOfPoint(playerid,3,264.29, 109.84, 1004.62) || IsPlayerInRangeOfPoint(playerid, 5.0, -2043.527832, -189.208435, 985.183105) || IsPlayerInRangeOfPoint(playerid, 5.0, 1112.7, -2055.8, 1409.7))
    {
    new string[128];
    format(string,sizeof(string),"%d", Crate1(playerid);
    ShowPlayerDialog(playerid, DUTYMENU, DIALOG_STYLE_LIST, string,"Duty\nEquipment\nSWAT\nUniform\nUndercover\nClear Suspect", "Select", "Cancel");
    }
    else
    {
    SendClientMessageEx(playerid, COLOR_WHITE, "You aren't in range of your LSPD lockers.");
    }
    }
    return 1;
    }


    Danke

    Ich habs so ..


    CMD:lspd(playerid, params[])
    {
    if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
    {
    if (IsPlayerInRangeOfPoint(playerid,3,255.3,77.4,1003.6) || IsPlayerInRangeOfPoint(playerid,3,-1616.1294,681.1594,7.1875) || IsPlayerInRangeOfPoint(playerid,3,327.05, 306.81, 999.14) || IsPlayerInRangeOfPoint(playerid,3,264.29, 109.84, 1004.62) || IsPlayerInRangeOfPoint(playerid, 5.0, -2043.527832, -189.208435, 985.183105) || IsPlayerInRangeOfPoint(playerid, 5.0, 1112.7, -2055.8, 1409.7))
    {
    ShowPlayerDialog(playerid, DUTYMENU, DIALOG_STYLE_LIST, "LSPD Menu","Duty\nEquipment\nSWAT\nUniform\nUndercover\nClear Suspect", "Select", "Cancel");
    }
    else
    {
    SendClientMessageEx(playerid, COLOR_WHITE, "You aren't in range of your LSPD lockers.");
    }
    }
    return 1;
    }