Beiträge von maddin

    Irgendwie unnötig oder?
    Ich finds auch scheisse wenn leute sinnlose umfragen erstellen oder ihre texte extra in großer schrift schreiben um mehr aufmerksamkeit zu bekommen. Aber mach ich deswegen jetzt n flamethread auf ?
    Fakt ist dass das Forum täglich ~200-300 user Online vorweisen kann, was für mich alles andere als ein "kaputtes forum" darstellt.


    Und wer mit der kritik die er zu seinem 0/8/15 Server bekommt nicht umgehen kann, sollte erst gar keine Server werbung schreiben.

    wenn schon dann so ^^:
    if(strcmp(cmd, "/hhealth", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    new house = PlayerInfo[playerid][pPhousekey];
    GetPlayerName(playerid, playername, sizeof(playername));
    if (house != 255 && strcmp(playername, HouseInfo[PlayerInfo[playerid][pPhousekey]][hOwner], true) == 0)
    {
    if(PlayerInfo[playerid][pLevel] < 5)
    {
    SendClientMessage(playerid, COLOR_GRAD5, "Du musst Level 5 sein um das tun zu Können");
    return 1;
    }
    if(GetPlayerMoney(playerid) < 5000)
    {
    SendClientMessage(playerid, COLOR_GRAD5, "Du hast nicht genug Geld dafür.");
    return 1;
    }
    HouseInfo[house][hHel] = 1;
    GivePlayerMoney(playerid,-5000);
    PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, COLOR_GRAD5, "Du kannst nun deine Leben im Haus mit /heal auffüllen.");
    }
    }
    }

    Probier das mal aus:
    stock ShowRankUbersicht(playerid)
    {
    if(GetPVarInt(playerid,"leader") != 0)
    {
    new content[768],string2[64],rname[25],i=1;
    for(; i < 6; i ++)
    {
    format(rname,sizeof(rname),"%d",i);
    format(string2, sizeof(string2),"Rank %d: %s\n",i,mysql_GetString("frak_ranks",rname,"Name",GetFraktionName(GetPVarInt(playerid,"fraktion"))));
    strcat(content, string2);
    }
    ShowPlayerDialog(playerid,DIALOG_FRAK_RANKLIST,DIALOG_STYLE_LIST,"Rankliste",content,"Ändern","Zurück");
    }
    }


    Mfg.

    Damit erreichst du aber nur, das du maximal 6 Wanteds geben kannst. Wenn du willst, das der spieler maximal 6 wanteds haben darf, musst du es z.b so machen:
    CMD:wanted(playerid,params[])
    {
    if(gTeam[playerid] == TEAM_LSPD)
    {
    new user,
    anzahl,
    wmessage[64];
    if(sscanf(params,"ud",user,anzahl))return SendLanguageText(playerid,COLOR_RED,"Verwendung: /wanted [Spieler] [Anzahl]","USAGE: /wanted [playerid] [amount]");
    if(gTeam[user] == TEAM_LSPD) return SendLanguageText(playerid,COLOR_RED,"Der Spieler ist Polizist!","The person is a cop!");
    if(anzahl < 1 || anzahl > 6) return SendLanguageText(playerid,COLOR_RED,"Maximal nur 6 Wanteds geben","Maximum is 6 Wanteds");
    if(Player[user][Wantedlevel]+anzahl >= 6)
    {
    format(wmessage, sizeof(wmessage),"Der Spieler hat bereits %d Wanteds! Du darfst ihm nur noch %d Wanteds geben.", Player[user][Wantedlevel], (6-Player[user][Wantedlevel]));
    return SendClientMessage(user,COLOR_WHITE,wmessage);
    }
    Player[user][Wantedlevel]+=anzahl;
    format(wmessage, sizeof(wmessage),"Your Wantedlevel is changed to %d", Player[user][Wantedlevel]);
    SendClientMessage(user,COLOR_WHITE,wmessage);
    }
    return 1;
    }

    @Bloodangel
    1. Mit SetTimer ne funktion mit parameter aufrufen ist sinnlos...
    2. wenn dann new vid = GetPlayerVehicleID(playerid);


    @Topic: Schau dir mal UVL an :) da gibts die funktion
    SetVehicleGodMode(vehicleid, bool:status);


    Kannste dann so:
    if(!strcmp(cmdtext, "/godmode", true))
    {
    SendClientMessage(playerid, 0x32CD32, "Dein Fahrzeug ist Unzerstörbar.");
    SetVehicleGodMode(GetPlayerVehicleID(playerid), true);
    return 1;
    }
    bzw so:
    if(!strcmp(cmdtext, "/godmode", true))
    {
    if(GetPVarInt(playerid, "GodMode") == 0)
    {
    SendClientMessage(playerid, 0x32CD32, "Dein Fahrzeug ist Unzerstörbar.");
    SetVehicleGodMode(GetPlayerVehicleID(playerid), true);
    SetPVarInt(playerid,"GodMode",1);
    }
    else if(GetPVarInt(playerid, "GodMode") == 1)
    {
    SendClientMessage(playerid, 0x32CD32, "Dein Fahrzeug ist nicht mehr Unzerstörbar.");
    SetVehicleGodMode(GetPlayerVehicleID(playerid), false);
    SetPVarInt(playerid,"GodMode",0);
    }
    return 1;
    }
    benutzen.


    Mfg.

    mysql_SetInt("Accounts", "Geld", GetPlayerMoney(playerid), "Name", SpielerName[playerid]);


    GivePlayerMoney(playerid, mysql_GetInt("Accounts", "Geld", "Name", SpielerName[playerid]));
    So z.b .

    Wir haben doch genug Hobby GFX'ler hier im Forum. Wie wärs, wenn jeder der lust hat sich einfach ma ran setzt und einen macht. Wenns gefällt nimmt man einen davon, wenn nicht bleibt halt der alte.


    !ULLLIIK:
    Never change a running system...

    Zitat

    fatal error 100: cannot read from file: ""test.ic""


    vllt weil test.ic nicht existiert?^^
    es funzt genau so.


    #include "pfad/datei.endung"
    z.b
    #include "../gamemodes/dein_gm.pwn"
    Was du damit anfangen willst versteh ich aber immernoch nicht^^

    #include <a_samp>


    //News
    new gate1;
    new gate2;


    forward GateClosetGate();
    forward GateClosetGate2();



    public OnFilterScriptInit()
    {
    print("\n--------------------------------------");
    print(" lol");
    print("--------------------------------------\n");
    gate1 = CreateObject(968,1104.36437988,-1734.08593750,13.54362965,0.00000000,90.00000000,270.00000000);
    gate2 = CreateObject(968,1104.37780762,-1747.96472168,13.33844852,0.00000000,90.00000000,90.00000000);
    //Maps (objecte)
    CreateObject(2898,1098.79406738,-1801.32568359,12.62692451,0.00000000,0.00000000,0.00000000); //object(funturf_law) (1)
    CreateObject(2898,1098.77795410,-1795.91137695,12.62692070,0.00000000,0.00000000,0.00000000); //object(funturf_law) (2)
    CreateObject(2898,1098.79187012,-1791.50634766,12.62692451,0.00000000,0.00000000,0.00000000); //object(funturf_law) (3)
    CreateObject(2898,1094.73132324,-1801.34680176,12.62593174,0.00000000,0.00000000,0.00000000); //object(funturf_law) (4)
    CreateObject(2898,1090.71728516,-1801.33740234,12.62495232,0.00000000,0.00000000,0.00000000); //object(funturf_law) (5)
    CreateObject(2898,1090.70910645,-1795.93347168,12.63463688,0.00000000,0.00000000,0.00000000); //object(funturf_law) (6)
    CreateObject(2898,1094.73559570,-1795.93090820,12.62593269,0.00000000,0.00000000,0.00000000); //object(funturf_law) (7)
    CreateObject(2898,1090.64099121,-1791.49670410,12.68275166,0.00000000,0.00000000,0.00000000); //object(funturf_law) (8)
    CreateObject(2898,1094.72290039,-1791.51782227,12.63934326,0.00000000,0.00000000,0.00000000); //object(funturf_law) (9)
    CreateObject(2898,1086.64404297,-1801.34497070,12.62573910,0.00000000,0.00000000,0.00000000); //object(funturf_law) (10)
    CreateObject(2898,1086.71105957,-1796.13793945,12.67990112,0.00000000,0.00000000,0.00000000); //object(funturf_law) (11)
    CreateObject(2898,1086.68493652,-1791.52331543,12.68281078,0.00000000,0.00000000,0.00000000); //object(funturf_law) (12)
    CreateObject(983,1088.75158691,-1792.02197266,13.39623356,0.00000000,0.00000000,0.00000000); //object(fenceshit3) (1)
    CreateObject(983,1088.74475098,-1798.41625977,13.34811878,0.00000000,0.00000000,0.00000000); //object(fenceshit3) (2)
    CreateObject(983,1088.71337891,-1801.60681152,13.33843422,0.00000000,0.00000000,0.00000000); //object(fenceshit3) (3)
    CreateObject(1214,1086.93725586,-1791.84814453,12.71273804,0.00000000,0.00000000,0.00000000); //object(bollard) (1)
    CreateObject(1214,1087.00866699,-1795.13452148,12.70982838,0.00000000,0.00000000,0.00000000); //object(bollard) (2)
    CreateObject(1214,1086.88537598,-1798.42456055,12.70982838,0.00000000,0.00000000,0.00000000); //object(bollard) (3)
    CreateObject(1214,1086.95483398,-1801.54565430,12.65566635,0.00000000,0.00000000,0.00000000); //object(bollard) (4)
    CreateObject(1214,1086.96020508,-1788.91003418,12.71273804,0.00000000,0.00000000,0.00000000); //object(bollard) (5)
    CreateObject(1216,1089.52001953,-1788.70678711,13.34666920,0.00000000,0.00000000,180.00000000); //object(phonebooth1) (1)
    CreateObject(1216,1090.49218750,-1788.70080566,13.34660244,0.00000000,0.00000000,179.99450684); //object(phonebooth1) (2)
    CreateObject(983,1087.91320801,-1788.81042480,13.39629269,0.00000000,0.00000000,90.00000000); //object(fenceshit3) (4)
    CreateObject(1216,1089.49621582,-1789.14843750,13.40468121,0.00000000,0.00000000,0.00000000); //object(phonebooth1) (3)
    CreateObject(1216,1090.45483398,-1789.17858887,13.40468121,0.00000000,0.00000000,0.00000000); //object(phonebooth1) (4)
    CreateObject(2898,1082.57006836,-1801.31176758,12.67176914,0.00000000,0.00000000,0.00000000); //object(funturf_law) (13)
    CreateObject(2898,1082.65100098,-1796.09204102,12.69285202,0.00000000,0.00000000,0.00000000); //object(funturf_law) (14)
    CreateObject(2898,1082.65454102,-1791.44653320,12.68264198,0.00000000,0.00000000,0.00000000); //object(funturf_law) (15)
    CreateObject(2898,1079.25317383,-1801.29199219,12.70427990,0.00000000,0.00000000,0.00000000); //object(funturf_law) (16)
    CreateObject(2898,1079.48266602,-1796.00341797,12.69265747,0.00000000,0.00000000,0.00000000); //object(funturf_law) (17)
    CreateObject(2898,1079.25622559,-1791.49328613,12.68274498,0.00000000,0.00000000,0.00000000); //object(funturf_law) (18)
    CreateObject(983,1078.19995117,-1788.73107910,13.33828545,0.00000000,0.00000000,90.00000000); //object(fenceshit3) (5)
    CreateObject(2898,1075.36474609,-1791.41418457,12.68191433,0.00000000,0.00000000,0.00000000); //object(funturf_law) (19)
    CreateObject(984,1078.31225586,-1797.65832520,13.35926437,0.00000000,0.00000000,0.00000000); //object(fenceshit2) (1)
    CreateObject(1214,1079.89355469,-1792.05273438,12.71267223,0.00000000,0.00000000,0.00000000); //object(bollard) (6)
    CreateObject(1214,1079.96606445,-1795.26367188,12.72258472,0.00000000,0.00000000,0.00000000); //object(bollard) (7)
    CreateObject(1214,1080.01733398,-1798.49182129,12.72258472,0.00000000,0.00000000,0.00000000); //object(bollard) (8)
    CreateObject(1214,1079.98889160,-1801.73144531,12.73420715,0.00000000,0.00000000,0.00000000); //object(bollard) (9)
    CreateObject(983,1078.22741699,-1804.12939453,13.35613155,0.00000000,0.00000000,90.00000000); //object(fenceshit3) (6)
    CreateObject(1214,1079.86340332,-1788.76757812,12.65481281,0.00000000,0.00000000,0.00000000); //object(bollard) (10)
    CreateObject(1215,1084.66772461,-1801.48925781,13.21998978,0.00000000,0.00000000,0.00000000); //object(bollardlight) (6)
    CreateObject(1215,1078.28613281,-1789.90734863,13.27699566,0.00000000,0.00000000,0.00000000); //object(bollardlight) (11)
    CreateObject(973,1096.89733887,-1777.12365723,13.35697174,0.00000000,0.00000000,0.00000000); //object(sub_roadbarrier) (1)
    CreateObject(973,1087.61901855,-1777.14855957,13.35759163,0.00000000,0.00000000,0.00000000); //object(sub_roadbarrier) (2)
    CreateObject(973,1078.39514160,-1777.17980957,13.35837078,0.00000000,0.00000000,0.00000000); //object(sub_roadbarrier) (3)
    CreateObject(973,1069.18383789,-1777.15771484,13.35782051,0.00000000,0.00000000,0.00000000); //object(sub_roadbarrier) (4)
    CreateObject(973,1063.94006348,-1777.21667480,13.35928917,0.00000000,0.00000000,0.00000000); //object(sub_roadbarrier) (5)
    CreateObject(973,1101.75231934,-1772.54541016,13.18156910,0.00000000,0.00000000,90.00000000); //object(sub_roadbarrier) (6)
    CreateObject(973,1101.74011230,-1753.77697754,13.18161392,0.00000000,0.00000000,90.00000000); //object(sub_roadbarrier) (7)
    CreateObject(973,1101.73815918,-1763.13757324,13.18162060,0.00000000,0.00000000,90.00000000); //object(sub_roadbarrier) (8)
    CreateObject(973,1096.93493652,-1735.91967773,13.41804695,0.00000000,0.00000000,180.00000000); //object(sub_roadbarrier) (9)
    CreateObject(973,1087.64428711,-1735.91125488,13.39284039,0.00000000,0.00000000,179.99450684); //object(sub_roadbarrier) (10)
    CreateObject(973,1078.38952637,-1735.93054199,13.36760044,0.00000000,0.00000000,179.99450684); //object(sub_roadbarrier) (11)
    CreateObject(973,1069.10729980,-1735.89587402,13.34062004,0.00000000,0.00000000,179.99450684); //object(sub_roadbarrier) (12)
    CreateObject(973,1064.16613770,-1735.96264648,13.32627392,0.00000000,0.00000000,179.99450684); //object(sub_roadbarrier) (13)
    CreateObject(973,1059.42028809,-1740.66369629,13.30979156,0.00000000,0.00000000,270.00000000); //object(sub_roadbarrier) (14)
    CreateObject(973,1059.40954590,-1750.01440430,13.29611778,0.00000000,0.00000000,270.00000000); //object(sub_roadbarrier) (15)
    CreateObject(973,1059.36169434,-1759.26171875,13.26015282,0.00000000,0.00000000,270.00000000); //object(sub_roadbarrier) (16)
    CreateObject(973,1059.32531738,-1768.63317871,13.21904850,0.00000000,0.00000000,270.00000000); //object(sub_roadbarrier) (17)
    CreateObject(973,1059.27368164,-1772.56286621,13.19681549,0.00000000,0.00000000,270.00000000); //object(sub_roadbarrier) (18)
    CreateObject(4639,1103.38500977,-1748.09277344,14.26232338,0.00000000,0.00000000,0.00000000); //object(paypark_lan02) (1)
    CreateObject(4639,1103.51489258,-1734.88745117,14.47477341,0.00000000,0.00000000,0.00000000); //object(paypark_lan02) (2)
    CreateObject(973,1103.67468262,-1741.19091797,13.33957100,0.00000000,0.00000000,181.99450684); //object(sub_roadbarrier) (19)
    CreateObject(973,1103.74121094,-1740.93835449,13.34781933,0.00000000,0.00000000,2.00000000); //object(sub_roadbarrier) (20)
    CreateObject(1214,1108.33520508,-1740.90332031,12.39843750,0.00000000,0.00000000,0.00000000); //object(bollard) (11)
    CreateObject(1214,1099.17651367,-1741.23022461,12.54674530,0.00000000,0.00000000,0.00000000); //object(bollard) (12)
    CreateObject(1215,1084.69555664,-1798.34533691,13.28710270,0.00000000,0.00000000,0.00000000); //object(bollardlight) (12)
    CreateObject(1215,1084.70239258,-1795.11462402,13.27415180,0.00000000,0.00000000,0.00000000); //object(bollardlight) (13)
    CreateObject(1215,1084.63049316,-1791.75988770,13.27689266,0.00000000,0.00000000,0.00000000); //object(bollardlight) (14)
    CreateObject(1215,1084.57849121,-1788.77783203,13.27689266,0.00000000,0.00000000,0.00000000); //object(bollardlight) (15)
    CreateObject(1215,1081.57739258,-1788.69372559,13.21897221,0.00000000,0.00000000,0.00000000); //object(bollardlight) (16)
    CreateObject(1215,1081.35205078,-1791.96093750,13.27689266,0.00000000,0.00000000,0.00000000); //object(bollardlight) (17)
    CreateObject(1215,1081.39367676,-1795.38098145,13.28710270,0.00000000,0.00000000,0.00000000); //object(bollardlight) (18)
    CreateObject(1215,1081.41162109,-1798.53686523,13.28710270,0.00000000,0.00000000,0.00000000); //object(bollardlight) (19)
    CreateObject(1215,1081.30175781,-1801.67163086,13.29853058,0.00000000,0.00000000,0.00000000); //object(bollardlight) (20)
    CreateObject(983,1074.97521973,-1791.23437500,13.56073189,0.00000000,0.00000000,90.00000000); //object(fenceshit3) (7)
    CreateObject(983,1074.76965332,-1788.74304199,13.39539623,0.00000000,0.00000000,90.00000000); //object(fenceshit3) (8)
    CreateObject(1215,1073.33483887,-1789.94006348,13.27616501,0.00000000,0.00000000,0.00000000); //object(bollardlight) (21)
    CreateObject(640,1088.98242188,-1801.44409180,13.35191345,0.00000000,0.00000000,0.00000000); //object(kb_planter_bush2) (1)
    CreateObject(640,1088.99279785,-1796.17663574,13.36159801,0.00000000,0.00000000,0.00000000); //object(kb_planter_bush2) (2)
    CreateObject(640,1089.00793457,-1791.43957520,13.40971279,0.00000000,0.00000000,0.00000000); //object(kb_planter_bush2) (3)
    CreateObject(640,1092.85583496,-1791.47705078,13.36630440,0.00000000,0.00000000,0.00000000); //object(kb_planter_bush2) (4)
    CreateObject(640,1092.83569336,-1801.97875977,13.35289288,0.00000000,0.00000000,0.00000000); //object(kb_planter_bush2) (6)
    CreateObject(640,1096.85327148,-1791.50244141,13.35388565,0.00000000,0.00000000,0.00000000); //object(kb_planter_bush2) (7)
    CreateObject(640,1096.82861328,-1802.11437988,13.35388565,0.00000000,0.00000000,0.00000000); //object(kb_planter_bush2) (9)
    CreateObject(1215,1092.86926270,-1793.87622070,13.63421249,0.00000000,0.00000000,0.00000000); //object(bollardlight) (22)
    CreateObject(1215,1092.78002930,-1799.51354980,13.62080097,0.00000000,0.00000000,0.00000000); //object(bollardlight) (23)
    CreateObject(1215,1096.75317383,-1799.63525391,13.62179375,0.00000000,0.00000000,0.00000000); //object(bollardlight) (24)
    CreateObject(1215,1096.76391602,-1793.95764160,13.62179375,0.00000000,0.00000000,0.00000000); //object(bollardlight) (25)
    CreateObject(1215,1096.80017090,-1789.17102051,13.62179375,0.00000000,0.00000000,0.00000000); //object(bollardlight) (26)
    CreateObject(1215,1092.85742188,-1789.11425781,13.63421249,0.00000000,0.00000000,0.00000000); //object(bollardlight) (27)
    CreateObject(1215,1092.76892090,-1803.62243652,13.62080097,0.00000000,0.00000000,0.00000000); //object(bollardlight) (28)
    CreateObject(1215,1096.81945801,-1803.73657227,13.62179375,0.00000000,0.00000000,0.00000000); //object(bollardlight) (29)
    CreateObject(1215,1088.98986816,-1796.48217773,13.62950611,0.00000000,0.00000000,0.00000000); //object(bollardlight) (30)
    CreateObject(1215,1089.09729004,-1801.67065430,13.61982155,0.00000000,0.00000000,0.00000000); //object(bollardlight) (31)
    CreateObject(1215,1089.03942871,-1791.20434570,13.67762089,0.00000000,0.00000000,0.00000000); //object(bollardlight) (32)
    // Vehicels (cars) (auto) (bikes) (fahrräder)
    AddStaticVehicleEx(510,1087.19689941,-1802.78381348,13.35150814,90.00000000,-1,-1,15); //Mountain Bike
    AddStaticVehicleEx(510,1087.33947754,-1799.87194824,13.35150814,90.00000000,-1,-1,15); //Mountain Bike
    AddStaticVehicleEx(510,1087.24780273,-1796.78186035,13.40567017,90.00000000,-1,-1,15); //Mountain Bike
    AddStaticVehicleEx(510,1087.18249512,-1793.55432129,13.40857983,90.00000000,-1,-1,15); //Mountain Bike
    AddStaticVehicleEx(510,1087.23010254,-1790.48620605,13.40857983,90.00000000,-1,-1,15); //Mountain Bike
    AddStaticVehicleEx(510,1079.79846191,-1793.62292480,13.41842651,270.00000000,-1,-1,15); //Mountain Bike
    AddStaticVehicleEx(510,1079.74572754,-1796.89904785,13.41842651,270.00000000,-1,-1,15); //Mountain Bike
    AddStaticVehicleEx(510,1079.90454102,-1799.98571777,13.43004894,270.00000000,-1,-1,15); //Mountain Bike
    AddStaticVehicleEx(510,1079.73742676,-1803.02600098,13.43004894,270.00000000,-1,-1,15); //Mountain Bike
    return 1;
    }



    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if (strcmp("/oparking", cmdtext, true, 10) == 0)
    {
    MoveObject(gate1, 1104.36437988,-1734.08593750,13.54362965,2.0);
    SetTimer("GateClosetGate",5000,0);
    return 1;
    }


    if (strcmp("/oparking1", cmdtext, true, 10) == 0)
    {
    MoveObject(gate2, 1104.37780762,-1747.96472168,13.33844852,2.0);
    SetTimer("GateClosetGate2",5000,0);
    return 1;
    }
    return 1;
    }


    public OnFilterScriptExit()
    {
    return 1;
    }
    public GateClosetGate()
    {
    MoveObject(gate1, 1104.36437988,-1734.08593750,13.54362965,2.0);
    return 1;
    }
    public GateClosetGate2()
    {
    MoveObject(gate2, 1104.37780762,-1747.96472168,13.33844852,2.0);
    return 1;
    }

    Als erstes ein Enum erstellen:
    enum PetrolData
    {
    psActive,
    Float:psMinX,
    Float:psMinY,
    Float:psMaxX,
    Float:psMaxY,
    }
    new PetrolInfo[20][PetrolData];//Die 20 auf die Anzahl an Stationen ändern.
    Dann unter OnGameModeInit die Tankstellen laden und darin speichern.
    mysql_query("SELECT * FROM samp_petrolstations");
    mysql_store_result();
    if(mysql_num_rows() > 0)
    {
    new line[750], i=0;
    while(mysql_fetch_row(line))
    {
    sscanf(line,"e<p<|>{i}iffff>", PetrolInfo[i]);
    i++;
    }
    return 0;
    }
    Und die IsPlayerInPetrolStation funktion:
    stock IsPlayerInPetrolStation(playerid)
    {
    new Float:pX, Float:pY, Float:pZ;
    GetPlayerPos(playerid,pX,pY,pZ);
    for(new i=0; i<sizeof(PetrolInfo); i++)
    {
    if(IsPlayerInArea(playerid, PetrolInfo[i][psMinX], PetrolInfo[i][psMinY], PetrolInfo[i][psMaxX], PetrolInfo[i][psMaxY])) return 1;
    }
    return 0;
    }


    Vorraussetzung dafür ist aber, das du minY,minX,maxX und maxY in der Datenbank als Float wert speicherst, und nicht wie du als string(carchar).