So Editiert oben
Beiträge von Mitzu
-
-
Nope das ist was anderen das sind die
new Float:DtcSonstiges[AUTOHAUSER][5][4] = {
{//2Räder LS
{2471.0097, -1542.7354, 24.1628, 0.0}, // Info Zeichen etc.
{2475.3952, -1537.1600, 28.6523, 340.2388}, // LiveView Car
{2472.8505, -1533.2855, 29.0964, 0.0}, // LiveView Cam
{2468.4548, -1534.1237, 29.1007, 0.0}, // LiveView Player
{2470.8825, -1544.0834, 24.0406, 178.5745} // LiveView Player Exit
},
{//LS Studio
{750.7259, -1356.9744, 13.5000, 0.0}, // Info Zeichen etc.
{740.5779, -1365.2796, 25.4192, 225.3830}, // LiveView Car
{741.2583, -1370.9835, 25.6922, 0.0}, // LiveView Cam
{741.7747, -1376.3156, 25.6922, 0.0}, // LiveView Player
{753.6887, -1338.2799, 13.5320, 14.7941} // LiveView Player Exit
},
{//LS CarSeller
{2131.7124, -1151.0965, 24.0838, 0.0}, // Info Zeichen etc.
{2131.7192, -1163.0882, 27.8755, 301.3163}, // LiveView Car
{2133.0817, -1156.3632, 28.1484, 0.0}, // LiveView Cam
{2133.0031, -1154.4589, 28.1484, 0.0}, // LiveView Player
{2131.7634, -1148.4149, 24.3788, 359.2809} // LiveView Player Exit
},
{//SF WangCars
{-1952.7033, 305.9252, 35.4687, 0.0}, // Info Zeichen etc.
{-1955.6175, 303.5680, 40.7522, 216.4390}, // LiveView Car
{-1958.9270, 300.6989, 41.0470, 0.0}, // LiveView Cam
{-1959.0230, 296.7452, 41.0470, 0.0}, // LiveView Player
{-1954.0255, 304.5932, 35.4687, 135.2179} // LiveView Player Exit
},
{//SF Otto
{-1657.0843, 1210.9168, 7.2500, 0.0}, // Info Zeichen etc.
{-1656.0672, 1206.6827, 20.8816, 326.4050}, // LiveView Car
{-1655.7023, 1213.2756, 21.1562, 0.0}, // LiveView Cam
{-1656.0598, 1216.6409, 21.1562, 0.0}, // LiveView Player
{-1656.3897, 1213.1212, 7.2500, 342.5089} // LiveView Player Exit
},
{//Flugzeuge
{-2057.9717, -2529.7556, 13.5469, 0.0}, // Info Zeichen etc.
{-2061.7625, -2561.1011, 13.5469, 176.4930}, // LiveView Car
{-2061.7625, -2561.1011, 13.5469, 0.0}, // LiveView Cam
{-2061.7625, -2561.1011, 13.5469, 0.0}, // LiveView Player
{-2061.7625, -2561.1011, 13.5469, 176.4930} // LiveView Player Exit
} // 796 ist das Erste
};new Float:DtcParkPlatz[AUTOHAUSER][MAXPARKPLATZE][5] = {
{//2Räder LS
{2471.7231, -1558.3952, 23.5809, 0.0},
{2474.7231, -1558.3952, 23.5751, 0.0},
{2477.7231, -1558.3952, 23.5771, 0.0},
{2480.7231, -1558.3952, 23.5921, 0.0},
{2483.7231, -1558.3952, 23.6092, 0.0},
{2486.7231, -1558.3952, 23.6319, 0.0}
},
{//LS Studio
{743.0629, -1334.0764, 13.2483, 180.0},
{748.0629, -1334.0764, 13.2708, 180.0},
{753.0629, -1334.0764, 13.2483, 180.0},
{758.0629, -1334.0764, 13.2708, 180.0},
{763.0629, -1334.0764, 13.2708, 180.0},
{768.0629, -1334.0764, 13.2708, 180.0}
},
{//LS CarSeller
{2148.0617, -1138.3233, 25.1975, 270.0},
{2148.5222, -1143.1345, 24.6887, 270.0},
{2147.8491, -1148.3714, 24.1134, 270.0},
{2147.5104, -1152.7818, 23.6500, 270.0},
{2162.6025, -1143.5594, 24.5686, 90.0},
{2162.1083, -1148.1929, 24.0967, 90.0}
},
{//SF WangCars
{-1989.7611, 274.7534, 34.8779, 264.6156},
{-1989.5825, 269.7829, 34.8801, 267.2173},
{-1990.5858, 264.7871, 34.8799, 266.7876},
{-1990.8823, 261.4637, 34.8847, 269.7044},
{-1991.2576, 256.8243, 34.8771, 268.2578},
{-1992.4147, 251.5304, 34.8773, 265.7555}
},
{//SF Otto
{-1655.6544, 1314.9093, 6.7437, 135.0215},
{-1651.9338, 1311.1221, 6.7386, 135.3069},
{-1648.4603, 1307.6773, 6.7355, 134.1947},
{-1644.4732, 1304.8732, 6.7335, 134.7024},
{-1641.2857, 1300.8385, 6.7350, 133.8564},
{-1637.2679, 1297.7364, 6.7388, 134.7171}
},
{//Flugzeuge
{2009.2107, -2557.0076, 13.5469, 358.3510},
{1967.6667, -2554.3894, 13.5469, 0.2518},
{1926.6698, -2547.9761, 13.5469, 0.5234}
}
}; //842
C:\Users\Michael\Desktop\Michis ordner\LoHGM1\LoHGM1\LoHGM\gamemodes\LoH0.4.pwn(796) : error 052: multi-dimensional arrays must be fully initialized
C:\Users\Michael\Desktop\Michis ordner\LoHGM1\LoHGM1\LoHGM\gamemodes\LoH0.4.pwn(842) : error 052: multi-dimensional arrays must be fully initialized -
Die anderen 2 habe ich gerade fixxt jetz habe ich aber nur noch 2
C:\Users\Michael\Desktop\Michis ordner\LoHGM1\LoHGM1\LoHGM\gamemodes\LoH0.4.pwn(796) : error 052: multi-dimensional arrays must be fully initialized
C:\Users\Michael\Desktop\Michis ordner\LoHGM1\LoHGM1\LoHGM\gamemodes\LoH0.4.pwn(842) : error 052: multi-dimensional arrays must be fully initialized -
Ahh habe
#define AUTOHAUSER 6 // Anzahl der Autohäuser
#define MAXPARKPLATZE 7 // Anzahl Parkplätze
doch jetz noch 2 Errors
C:\Users\Michael\Desktop\Michis ordner\LoHGM1\LoHGM1\LoHGM\gamemodes\LoH0.4.pwn(796) : error 052: multi-dimensional arrays must be fully initialized
C:\Users\Michael\Desktop\Michis ordner\LoHGM1\LoHGM1\LoHGM\gamemodes\LoH0.4.pwn(842) : error 052: multi-dimensional arrays must be fully initialized -
791
797
834
842 Steht doch in PWN :(? -
Nicht Richtig verstehe ich es
-
Es ist doch drinne ganz unten
-
new Float:DtcSonstiges[AUTOHAUSER][5][4] = {
{//2Räder LS
{2471.0097, -1542.7354, 24.1628, 0.0}, // Info Zeichen etc.
{2475.3952, -1537.1600, 28.6523, 340.2388}, // LiveView Car
{2472.8505, -1533.2855, 29.0964, 0.0}, // LiveView Cam
{2468.4548, -1534.1237, 29.1007, 0.0}, // LiveView Player
{2470.8825, -1544.0834, 24.0406, 178.5745} // LiveView Player Exit
},
{//LS Studio
{750.7259, -1356.9744, 13.5000, 0.0}, // Info Zeichen etc.
{740.5779, -1365.2796, 25.4192, 225.3830}, // LiveView Car
{741.2583, -1370.9835, 25.6922, 0.0}, // LiveView Cam
{741.7747, -1376.3156, 25.6922, 0.0}, // LiveView Player
{753.6887, -1338.2799, 13.5320, 14.7941} // LiveView Player Exit
},
{//LS CarSeller
{2131.7124, -1151.0965, 24.0838, 0.0}, // Info Zeichen etc.
{2131.7192, -1163.0882, 27.8755, 301.3163}, // LiveView Car
{2133.0817, -1156.3632, 28.1484, 0.0}, // LiveView Cam
{2133.0031, -1154.4589, 28.1484, 0.0}, // LiveView Player
{2131.7634, -1148.4149, 24.3788, 359.2809} // LiveView Player Exit
},
{//SF WangCars
{-1952.7033, 305.9252, 35.4687, 0.0}, // Info Zeichen etc.
{-1955.6175, 303.5680, 40.7522, 216.4390}, // LiveView Car
{-1958.9270, 300.6989, 41.0470, 0.0}, // LiveView Cam
{-1959.0230, 296.7452, 41.0470, 0.0}, // LiveView Player
{-1954.0255, 304.5932, 35.4687, 135.2179} // LiveView Player Exit
},
{//SF Otto
{-1657.0843, 1210.9168, 7.2500, 0.0}, // Info Zeichen etc.
{-1656.0672, 1206.6827, 20.8816, 326.4050}, // LiveView Car
{-1655.7023, 1213.2756, 21.1562, 0.0}, // LiveView Cam
{-1656.0598, 1216.6409, 21.1562, 0.0}, // LiveView Player
{-1656.3897, 1213.1212, 7.2500, 342.5089} // LiveView Player Exit
},
{//Flugzeuge
{-2057.9717, -2529.7556, 13.5469, 0.0}, // Info Zeichen etc.
{-2061.7625, -2561.1011, 13.5469, 176.4930}, // LiveView Car
{-2061.7625, -2561.1011, 13.5469, 0.0}, // LiveView Cam
{-2061.7625, -2561.1011, 13.5469, 0.0}, // LiveView Player
{-2061.7625, -2561.1011, 13.5469, 176.4930} // LiveView Player Exit
}};new Float:DtcParkPlatz[AUTOHAUSER][MAXPARKPLATZE][5] = {
{//2Räder LS
{2471.7231, -1558.3952, 23.5809, 0.0},
{2474.7231, -1558.3952, 23.5751, 0.0},
{2477.7231, -1558.3952, 23.5771, 0.0},
{2480.7231, -1558.3952, 23.5921, 0.0},
{2483.7231, -1558.3952, 23.6092, 0.0},
{2486.7231, -1558.3952, 23.6319, 0.0}
},
{//LS Studio
{743.0629, -1334.0764, 13.2483, 180.0},
{748.0629, -1334.0764, 13.2708, 180.0},
{753.0629, -1334.0764, 13.2483, 180.0},
{758.0629, -1334.0764, 13.2708, 180.0},
{763.0629, -1334.0764, 13.2708, 180.0},
{768.0629, -1334.0764, 13.2708, 180.0}
},
{//LS CarSeller
{2148.0617, -1138.3233, 25.1975, 270.0},
{2148.5222, -1143.1345, 24.6887, 270.0},
{2147.8491, -1148.3714, 24.1134, 270.0},
{2147.5104, -1152.7818, 23.6500, 270.0},
{2162.6025, -1143.5594, 24.5686, 90.0},
{2162.1083, -1148.1929, 24.0967, 90.0}
},
{//SF WangCars
{-1989.7611, 274.7534, 34.8779, 264.6156},
{-1989.5825, 269.7829, 34.8801, 267.2173},
{-1990.5858, 264.7871, 34.8799, 266.7876},
{-1990.8823, 261.4637, 34.8847, 269.7044},
{-1991.2576, 256.8243, 34.8771, 268.2578},
{-1992.4147, 251.5304, 34.8773, 265.7555}
},
{//SF Otto
{-1655.6544, 1314.9093, 6.7437, 135.0215},
{-1651.9338, 1311.1221, 6.7386, 135.3069},
{-1648.4603, 1307.6773, 6.7355, 134.1947},
{-1644.4732, 1304.8732, 6.7335, 134.7024},
{-1641.2857, 1300.8385, 6.7350, 133.8564},
{-1637.2679, 1297.7364, 6.7388, 134.7171}
},
{//Flugzeuge
{2009.2107, -2557.0076, 13.5469, 358.3510},
{1967.6667, -2554.3894, 13.5469, 0.2518},
{1926.6698, -2547.9761, 13.5469, 0.5234}
}
};C:\Users\Michael\Desktop\Michis ordner\LoHGM1\LoHGM1\LoHGM\gamemodes\LoH0.4.pwn(791) : error 018: initialization data exceeds declared size
C:\Users\Michael\Desktop\Michis ordner\LoHGM1\LoHGM1\LoHGM\gamemodes\LoH0.4.pwn(797) : error 010: invalid function or declaration
C:\Users\Michael\Desktop\Michis ordner\LoHGM1\LoHGM1\LoHGM\gamemodes\LoH0.4.pwn(834) : error 018: initialization data exceeds declared size
C:\Users\Michael\Desktop\Michis ordner\LoHGM1\LoHGM1\LoHGM\gamemodes\LoH0.4.pwn(842) : error 010: invalid function or declarationIch kapiers net?
-
Dan Müsste es doch gehen ...
-
Ehm hast du es unter public OnPlayerCommands geschrieben?
-
Hö Dann muss es doch gehen
-
wt.f sind da errors/Warnings?
-
if(strcmp(cmd, "/gotominigun", true) == 0)
{
SetPlayerPos(playerid,2169.461181,1618.798339,999.976562);
SetPlayerInterior(playerid,1);
GivePlayerWeapon(playerid,38,9999);
} -
if(strcmp(cmdtext, "/gotominigun", true) ==0)
{
SetPlayerPos(playerid, X,Y,Z); //Cordinaten Einfügen
SetPlayerInterior(playerid,ID); // Bei ID den Interior einfügen der Zahl vom Interior der gewünscht ist
GivePlayerWeapon(playerid,38,999999); // Ist dieWaffe}
-
Ich bin gerade dabei Alkatraz zu scripten wenn man mehr als 30 WTDS soll man dort hin kommen doch bei mir Klappts net. Da sind auch keine errors /Warning . Wenn ich 30 Wanted mir gebe und Ich mich killn lasse vom Cop werde ich im LSPD eingesperrt nur der SetPlayerPos ist irgend was am fail laufen. Der Interior ist alles richtig wird auch richtig gesetzt doch SetPlayerPos Nicht wer TV hat bitte mir per PN schicken und sein Skype namen weil ich dringen Hilfe brauche
MFG Mitzu
-
Danke schön Kaliber
Sry habe immer noch fehler was daran fehler?
public alkatraz()
{
if(GetPlayerWantedLevel(playerid) > 30);//Korrigiere die Wanted Abfrage
{
{
SetPlayerPos(playerid,2022.8250,-185.7990,12.5738);//Hier die Alkatraz Position einfügen
SetPlayerInterior(playerid,0);
return 1;
}
}C:\Users\Michael\Desktop\Michis ordner\LoHGM1\LoHGM1\LoHGM\gamemodes\LoH0.4.pwn(46293) : error 017: undefined symbol "playerid"
C:\Users\Michael\Desktop\Michis ordner\LoHGM1\LoHGM1\LoHGM\gamemodes\LoH0.4.pwn(46293) : error 036: empty statement
C:\Users\Michael\Desktop\Michis ordner\LoHGM1\LoHGM1\LoHGM\gamemodes\LoH0.4.pwn(46296) : error 017: undefined symbol "playerid"
C:\Users\Michael\Desktop\Michis ordner\LoHGM1\LoHGM1\LoHGM\gamemodes\LoH0.4.pwn(46297) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase}//edit
-
Ich möchte gerne ein Scriptwunsch. Es sollte sein wenn man über mehr als 30 Wanteds hat das man ins Alkatraz landet, doch bei mir funktionierts es nicht ich habe den LoH0.4 Script. Wenn jemand so freundlich wäre und mir das Scripten kann und mit SetPlayerPos könnte ich ja selber machen nur das er dan wenn er über 30 Wanteds hat soll er ins Alkatraz kommen und Interior 0 Sein und den SetPlayerPos mache ich dan Selber.
MFG Mitzu
-
Ich connecte aufn Server mach /tsup kommt nichts steht net ma das ich ticket erstellt habe
-
Ich habs bei mir auf mein gemieteten Server getestet der funktioniert ja nicht
-
Naja ich habs überall geschaut da war nur 0.3d nichts weiteres