Beiträge von Sean_PauL

    Hallo ich bin auf der suche nach einen filterscript oderso wo ich ingame einfach was eingeben kann und das haus dann direkt in die property.cfg gespeichert wird sonst muss man ingame immer /save dann mit nem hausgenerator das dauert ewig

    Also alle häuser die icons werden ja unter property gespeichert ich wollte fragen ob einer eine property hat wo in ganz ls undso überall die haus icons schon sind

    if(strcmp(cmd,"/respawnallcars",true) == 0)
    {
    if(PlayerInfo[playerid][pAdmin] >= 4)
    {
    format(string,sizeof(string),"[ADMIN]: %s(%d) hat alle Fahrzeuge respawnt.",sendername,playerid);
    ABroadCast(COLOR_LIGHTRED,string,1);
    for(new v=0; v<MAX_VEHICLES; v++)
    {
    if(GetVehicleDriver(v) == -1)
    {
    SetVehicleToRespawn(v);
    SetVehicleHealth(v,1000);
    SetVehicleHealth(v,1000);
    }
    }
    }
    return 1;
    }
    Das 2 weiß ich nicht was du meinst://

    Also wen ich mit autos ganz normal fahre z.b da steht 80 von 80 tank der auf 0 steht muss man austeigen kann nicht weiterfahren nur wen ich alle cars respawne dann steht der tank nicht 80 von 80 sondern bei allen 15 von 80 wie bekomme ich das weg?

    Also ich wollte ein haussystem einfügen damit ich ingame häuser erstellen kann undso nur mein problem ist im script sind noch house icons/häuser Wie lösche ich das das die häuser/icons alle weg sind und ich dan neue mit dem haussystem erstellen kann

    Also ich habe ein problem bei jeden 2 login sehe ich viele objecte auf meinen server nichtmehr, nach dem server restart geht es wieder nach dem 2 login dan wieder nicht benutze den streamer von Einstein
    Kann ich das igend wie beheben?

    Also in script sind nur ein paar häuser nicht grade viele nur ich will machen das ich alles häuser kaufbar machen kann nur ich will
    kein anderes house system benutzen ich will die gleichen icons undso bei anderen häusern machen kann mir jemand helfen ?

    Also ich habe mir ne parkour map gebaut nur ich will das als event für meinen server benutzen da ich nicht will das die objecte immer da bleiben
    will ich sie auf befehl erscheinen lassen z.b mit /parkour dann kommen die objecte wie mache ich das ?


    CreateObject(972,1531.47973600,-1359.22656300,328.45034800,0.00000000,0.00000000,0.00000000); //object
    CreateObject(972,1550.99121100,-1359.23681600,328.45581100,0.00000000,0.00000000,0.00000000); //object(1)
    CreateObject(972,1542.70861800,-1365.28625500,328.15380900,0.00000000,0.00000000,-89.38141604); //object(2)
    CreateObject(974,1551.05700700,-1345.10205100,331.23623700,0.00000000,0.00000000,0.00000000); //object(3)
    CreateObject(974,1538.19177200,-1345.07312000,331.24121100,0.00000000,0.00000000,0.00000000); //object(4)
    CreateObject(978,1544.50683600,-1337.02807600,329.04757700,94.53809349,0.00000000,-88.52197935); //object(5)
    CreateObject(978,1544.70898400,-1345.88708500,327.34652700,-245.79883682,256.97151382,14.61042378); //object(6)
    CreateObject(978,1544.23742700,-1324.61401400,329.04776000,94.53809349,0.00000000,-88.52197935); //object(7)
    CreateObject(974,1544.29467800,-1316.17517100,328.01788300,91.95972612,0.00000000,0.00000000); //object(9)
    CreateObject(974,1544.08886700,-1307.95434600,326.07467700,91.95972612,0.00000000,0.00000000); //object(10)
    CreateObject(974,1544.86120600,-1299.68432600,328.92422500,91.95972612,0.00000000,0.00000000); //object(11)
    CreateObject(974,1553.25988800,-1299.90087900,330.80770900,91.95972612,0.00000000,0.00000000); //object(12)
    CreateObject(974,1560.94299300,-1300.69543500,328.54486100,91.95972612,0.00000000,0.00000000); //object(13)
    CreateObject(974,1564.03942900,-1299.92248500,331.32266200,183.91950953,0.00000000,-89.38141604); //object(14)
    CreateObject(974,1561.32983400,-1292.13647500,326.95224000,91.95972612,0.00000000,0.00000000); //object(15)
    CreateObject(974,1562.18335000,-1287.30468800,324.15411400,91.95972612,0.00000000,0.00000000); //object(16)
    CreateObject(3258,1559.69677700,-1287.83447300,322.73663300,118.60232089,0.00000000,-88.52197935); //object(17)
    CreateObject(3257,1555.85412600,-1255.20996100,276.35571300,0.00000000,0.00000000,0.00000000); //object(18)
    CreateObject(3287,1565.30419900,-1254.09912100,288.89392100,0.00000000,0.00000000,0.00000000); //object(19)
    CreateObject(3287,1571.85827600,-1254.17468300,288.93530300,0.00000000,0.00000000,0.00000000); //object(20)
    CreateObject(3502,1537.46252400,-1282.56335400,314.28128100,0.00000000,0.00000000,0.00000000); //object(22)
    CreateObject(3502,1538.06433100,-1274.25805700,313.83450300,-6.01605685,0.00000000,-7.73493023); //object(23)
    CreateObject(3502,1539.64648400,-1267.35376000,312.58728000,-12.03211370,0.00000000,-16.32929716); //object(24)
    CreateObject(3502,1541.58178700,-1256.78161600,307.05413800,-85.08423258,0.00000000,-16.32929716); //object(25)
    CreateObject(974,1541.15478500,-1254.38464400,311.65838600,91.95972612,0.00000000,0.00000000); //object(26)
    CreateObject(974,1541.23645000,-1262.01538100,310.14981100,91.95972612,0.00000000,0.00000000); //object(28)
    CreateObject(974,1546.33313000,-1258.03479000,310.41314700,91.95972612,0.00000000,0.00000000); //object(29)
    CreateObject(974,1536.39111300,-1257.45532200,310.30587800,91.95972612,0.00000000,11.17267701); //object(30)
    CreateObject(974,1540.46557600,-1255.21789600,298.40844700,91.95972612,0.00000000,3.43774677); //object(31)
    CreateObject(974,1544.44763200,-1255.29968300,298.42996200,91.95972612,0.00000000,-4.29718346); //object(32)
    CreateObject(3257,1585.73034700,-1253.02539100,272.12976100,0.00000000,0.00000000,-88.52197935); //object(33)
    CreateObject(3257,1585.98681600,-1261.29406700,272.13314800,0.00000000,0.00000000,-268.14419083); //object(34)
    CreateObject(3631,1594.14160200,-1257.08642600,286.86883500,0.00000000,0.00000000,1.71887339); //object(35)
    CreateObject(3631,1604.56164600,-1256.77233900,286.85174600,0.00000000,0.00000000,1.71887339); //object(36)
    CreateObject(3631,1615.55175800,-1256.58337400,286.85958900,0.00000000,0.00000000,1.71887339); //object(37)
    CreateObject(3636,1633.98425300,-1255.84838900,276.36599700,82.50592250,0.00000000,-1.71887339); //object(38)
    CreateObject(3636,1650.99963400,-1256.63537600,274.60452300,82.50592250,0.00000000,-1.71887339); //object(39)
    CreateObject(3636,1666.38598600,-1255.20495600,272.61486800,82.50592250,0.00000000,17.18873385); //object(40)
    CreateObject(3636,1681.09021000,-1248.78125000,273.70929000,82.50592250,0.00000000,27.50197417); //object(41)
    CreateObject(3636,1694.77307100,-1239.38745100,274.84780900,82.50592250,0.00000000,39.53408786); //object(42)
    CreateObject(6867,1714.95483400,-1178.67041000,297.15399200,0.00000000,0.00000000,-51.56620156); //object(43)
    CreateObject(974,1706.98413100,-1211.47265600,277.03076200,90.24085273,0.00000000,-49.84732818); //object(44)
    CreateObject(974,1701.03759800,-1204.87646500,276.81738300,90.24085273,0.00000000,-49.84732818); //object(45)
    CreateObject(974,1693.76635700,-1197.61450200,276.82901000,90.24085273,0.00000000,-49.84732818); //object(46)
    CreateObject(974,1702.92028800,-1178.17627000,279.18060300,90.24085273,0.00000000,-49.84732818); //object(47)
    CreateObject(974,1697.31506300,-1182.87817400,279.61947600,90.24085273,0.00000000,-49.84732818); //object(48)
    CreateObject(974,1690.98498500,-1185.70861800,280.65783700,90.24085273,0.00000000,-49.84732818); //object(49)
    CreateObject(974,1707.23571800,-1118.80554200,273.88061500,90.24085273,0.00000000,-49.84732818); //object(50)
    CreateObject(974,1711.80139200,-1115.36169400,276.67355300,90.24085273,0.00000000,-49.84732818); //object(51)
    CreateObject(974,1716.70105000,-1121.03784200,278.09811400,90.24085273,0.00000000,-49.84732818); //object(52)
    CreateObject(974,1722.69030800,-1124.65515100,279.08462500,90.24085273,0.00000000,-49.84732818); //object(53)
    CreateObject(974,1727.63134800,-1129.97741700,280.64492800,90.24085273,0.00000000,-49.84732818); //object(54)
    CreateObject(974,1732.61572300,-1125.55322300,282.77932700,90.24085273,0.00000000,-49.84732818); //object(55)
    CreateObject(974,1740.99438500,-1120.95617700,280.22213700,90.24085273,0.00000000,-49.84732818); //object(56)
    CreateObject(974,1744.08374000,-1121.66052200,281.85693400,183.06007284,0.00000000,39.53408786); //object(57)
    CreateObject(974,1779.22509800,-1161.04113800,280.83062700,268.14419083,0.00000000,39.53408786); //object(58)
    CreateObject(3330,1804.41137700,-1187.47509800,270.03402700,-31.79915763,0.00000000,37.81521448); //object(59)
    CreateObject(3330,1820.63317900,-1210.19104000,233.51001000,-55.00394833,0.00000000,37.81521448); //object(60)
    CreateObject(3411,1879.03271500,-1241.67932100,183.44625900,0.00000000,0.00000000,-53.28501765); //object(61)
    CreateObject(4550,1957.40417500,-1183.40344200,126.30550400,124.61832044,0.00000000,126.33730842); //object(62)


    Hier nochma die objecte

    Also ich will mein script kompliemieren und dan kommt das -.-


    C:\Users\user\Desktop\WICHTIG\GTR\pawno\include\morphinc.inc(3) : warning 219: local variable "x2" shadows a variable at a preceding level
    C:\Users\user\Desktop\WICHTIG\GTR\pawno\include\morphinc.inc(3) : warning 219: local variable "y2" shadows a variable at a preceding level
    C:\Users\user\Desktop\WICHTIG\GTR\pawno\include\morphinc.inc(3) : warning 219: local variable "z2" shadows a variable at a preceding level
    C:\Users\user\Desktop\Bestes script\gamemodes\hd.pwn(15611) : error 021: symbol already defined: "strtok"
    C:\Users\user\Desktop\Bestes script\gamemodes\hd.pwn(15626) : error 047: array sizes do not match, or destination array is too small
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    2 Errors.


    Zeilen dazu


    strtok(const string[], &index)
    {
    new length = strlen(string);
    while ((index < length) && (string[index] <= ' '))
    {
    index++;
    }


    new offset = index;
    new result[20];
    while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
    {
    result[index - offset] = string[index];
    index++;
    }
    result[index - offset] = EOS;
    return result;
    }


    WICHTIG ich weiß ich muss es ausklammern oder ganz löschen dann klappt das kompliemieren auch aber dan lädt er aufem server die objecte nicht -.-

    Also ich wolte eben mein script kompliemieren und bekomme folgende errors



    C:\Users\user\Desktop\WICHTIG\GTR\pawno\include\morphinc.inc(3) : warning 219: local variable "x2" shadows a variable at a preceding level
    C:\Users\user\Desktop\WICHTIG\GTR\pawno\include\morphinc.inc(3) : warning 219: local variable "y2" shadows a variable at a preceding level
    C:\Users\user\Desktop\WICHTIG\GTR\pawno\include\morphinc.inc(3) : warning 219: local variable "z2" shadows a variable at a preceding level
    C:\Users\user\Desktop\Bestes script\gamemodes\hd.pwn(15611) : error 021: symbol already defined: "strtok"
    C:\Users\user\Desktop\Bestes script\gamemodes\hd.pwn(15626) : error 047: array sizes do not match, or destination array is too small
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    2 Errors.


    Die zeilen dazu




    15610 strtok(const string[], &index)
    15611 {
    new length = strlen(string);
    while ((index < length) && (string[index] <= ' '))
    {
    index++;
    }


    new offset = index;
    new result[20];
    while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
    {
    result[index - offset] = string[index];
    index++;
    }
    result[index - offset] = EOS;
    15626 return result;
    }


    wen ich diese zeilen aus dem script rausnehme geht es nur dan lädt er aufem server viele objecte nicht