Welchen Compiler nutzt du??? den originalen oder nen anderen
Beiträge von bombom48
-
-
Ich habe mir ein Respawn system geschrieben.... Allerdings ist es sehr aufwändig und groß.
Als erstet werden alle Fahrzeuge Destroyt und dann alle wieder neu gespawnt
if(IsPlayerAdmin(playerid))if(strcmp("/respawn",cmdtext, true) == 0)
{
DestroyVehicle(1);
DestroyVehicle(2);
DestroyVehicle(3);
DestroyVehicle(4);
DestroyVehicle(5);
DestroyVehicle(6);
DestroyVehicle(7);
DestroyVehicle(8);
DestroyVehicle(9);
DestroyVehicle(10);
DestroyVehicle(11);
DestroyVehicle(12);
DestroyVehicle(13);
DestroyVehicle(14);
DestroyVehicle(15);
DestroyVehicle(16);
DestroyVehicle(17);
DestroyVehicle(18);
DestroyVehicle(19);
DestroyVehicle(20);
DestroyVehicle(21);
DestroyVehicle(22);
DestroyVehicle(23);
DestroyVehicle(24);
DestroyVehicle(25);
DestroyVehicle(26);
DestroyVehicle(27);
DestroyVehicle(28);
DestroyVehicle(29);
DestroyVehicle(30);
DestroyVehicle(31);
DestroyVehicle(32);
DestroyVehicle(33);
DestroyVehicle(34);
DestroyVehicle(35);
DestroyVehicle(36);
DestroyVehicle(37);
DestroyVehicle(38);
DestroyVehicle(39);
DestroyVehicle(40);
DestroyVehicle(41);
DestroyVehicle(42);
DestroyVehicle(43);
DestroyVehicle(44);
DestroyVehicle(45);
DestroyVehicle(46);
DestroyVehicle(47);
DestroyVehicle(48);
DestroyVehicle(49);
DestroyVehicle(50);
DestroyVehicle(51);
DestroyVehicle(52);
DestroyVehicle(53);
DestroyVehicle(54);
DestroyVehicle(55);
DestroyVehicle(56);
DestroyVehicle(57);
DestroyVehicle(58);
DestroyVehicle(59);
DestroyVehicle(60);
DestroyVehicle(61);
DestroyVehicle(62);
DestroyVehicle(63);
DestroyVehicle(64);
DestroyVehicle(65);
DestroyVehicle(66);
DestroyVehicle(67);
DestroyVehicle(68);
DestroyVehicle(69);
DestroyVehicle(70);
DestroyVehicle(71);
DestroyVehicle(72);
DestroyVehicle(73);
DestroyVehicle(74);
DestroyVehicle(75);
DestroyVehicle(76);
DestroyVehicle(77);
DestroyVehicle(78);
DestroyVehicle(79);
DestroyVehicle(80);
DestroyVehicle(81);
DestroyVehicle(82);
DestroyVehicle(83);
DestroyVehicle(84);
DestroyVehicle(85);
DestroyVehicle(86);
DestroyVehicle(87);
DestroyVehicle(89);
DestroyVehicle(90);
DestroyVehicle(91);
DestroyVehicle(92);
DestroyVehicle(93);
DestroyVehicle(94);
DestroyVehicle(95);
DestroyVehicle(96);
DestroyVehicle(97);
DestroyVehicle(98);
DestroyVehicle(99);
DestroyVehicle(100);
DestroyVehicle(101);
DestroyVehicle(102);
DestroyVehicle(103);
DestroyVehicle(104);
DestroyVehicle(105);
DestroyVehicle(106);
DestroyVehicle(107);
DestroyVehicle(108);
DestroyVehicle(109);
DestroyVehicle(110);
DestroyVehicle(111);
DestroyVehicle(112);
DestroyVehicle(113);
DestroyVehicle(114);
DestroyVehicle(115);
DestroyVehicle(116);
DestroyVehicle(117);
DestroyVehicle(118);
DestroyVehicle(119);
DestroyVehicle(120);
DestroyVehicle(121);
DestroyVehicle(122);
DestroyVehicle(123);
DestroyVehicle(124);
DestroyVehicle(125);
DestroyVehicle(126);
DestroyVehicle(127);
DestroyVehicle(128);
DestroyVehicle(129);
DestroyVehicle(130);
DestroyVehicle(131);
DestroyVehicle(132);
DestroyVehicle(133);
DestroyVehicle(134);
DestroyVehicle(135);
DestroyVehicle(136);
DestroyVehicle(137);
DestroyVehicle(138);
DestroyVehicle(139);
DestroyVehicle(140);
DestroyVehicle(141);
DestroyVehicle(142);
DestroyVehicle(143);
DestroyVehicle(144);
DestroyVehicle(145);
DestroyVehicle(146);
DestroyVehicle(147);
DestroyVehicle(148);
DestroyVehicle(149);
DestroyVehicle(150);
DestroyVehicle(151);
DestroyVehicle(152);
DestroyVehicle(153);
DestroyVehicle(154);
DestroyVehicle(155);
DestroyVehicle(156);
DestroyVehicle(157);
DestroyVehicle(158);
DestroyVehicle(159);
DestroyVehicle(160);
DestroyVehicle(161);
DestroyVehicle(162);
DestroyVehicle(163);
DestroyVehicle(164);
DestroyVehicle(165);
DestroyVehicle(166);
DestroyVehicle(167);
DestroyVehicle(168);
DestroyVehicle(169);
DestroyVehicle(170);
DestroyVehicle(171);
DestroyVehicle(172);
DestroyVehicle(173);
DestroyVehicle(174);
DestroyVehicle(175);
DestroyVehicle(176);
DestroyVehicle(177);
DestroyVehicle(178);
DestroyVehicle(179);
DestroyVehicle(180);
DestroyVehicle(181);
DestroyVehicle(182);
DestroyVehicle(183);
DestroyVehicle(184);
DestroyVehicle(185);
DestroyVehicle(186);
DestroyVehicle(187);
DestroyVehicle(189);
DestroyVehicle(190);
DestroyVehicle(191);
DestroyVehicle(192);
DestroyVehicle(193);
DestroyVehicle(194);
DestroyVehicle(195);
DestroyVehicle(196);
DestroyVehicle(197);
DestroyVehicle(198);
DestroyVehicle(199);
DestroyVehicle(200);
DestroyVehicle(301);
DestroyVehicle(302);
DestroyVehicle(303);
DestroyVehicle(304);
DestroyVehicle(305);
DestroyVehicle(306);
DestroyVehicle(307);
DestroyVehicle(308);
DestroyVehicle(309);
DestroyVehicle(310);
DestroyVehicle(311);
DestroyVehicle(312);
DestroyVehicle(313);
DestroyVehicle(314);
DestroyVehicle(315);
DestroyVehicle(316);
DestroyVehicle(317);
DestroyVehicle(318);
DestroyVehicle(319);
DestroyVehicle(320);
DestroyVehicle(321);
DestroyVehicle(322);
DestroyVehicle(323);
DestroyVehicle(324);
DestroyVehicle(325);
DestroyVehicle(326);
DestroyVehicle(327);
DestroyVehicle(328);
DestroyVehicle(329);
DestroyVehicle(330);
DestroyVehicle(331);
DestroyVehicle(332);
DestroyVehicle(333);
DestroyVehicle(334);
DestroyVehicle(335);
DestroyVehicle(336);
DestroyVehicle(337);
DestroyVehicle(338);
DestroyVehicle(339);
DestroyVehicle(340);
DestroyVehicle(341);
DestroyVehicle(342);
DestroyVehicle(343);
DestroyVehicle(344);
DestroyVehicle(345);
DestroyVehicle(346);
DestroyVehicle(347);
DestroyVehicle(348);
DestroyVehicle(349);
DestroyVehicle(350);
DestroyVehicle(351);
DestroyVehicle(352);
DestroyVehicle(353);
DestroyVehicle(354);
DestroyVehicle(355);
DestroyVehicle(356);
DestroyVehicle(357);
DestroyVehicle(358);
DestroyVehicle(359);
DestroyVehicle(360);
DestroyVehicle(361);
DestroyVehicle(362);
DestroyVehicle(363);
DestroyVehicle(364);
DestroyVehicle(365);
DestroyVehicle(366);
DestroyVehicle(367);
DestroyVehicle(368);
DestroyVehicle(369);
DestroyVehicle(370);
DestroyVehicle(371);
DestroyVehicle(372);
DestroyVehicle(373);
DestroyVehicle(374);
DestroyVehicle(375);
DestroyVehicle(376);
DestroyVehicle(377);
DestroyVehicle(378);
DestroyVehicle(379);
DestroyVehicle(380);
DestroyVehicle(381);
DestroyVehicle(382);
DestroyVehicle(383);
DestroyVehicle(384);
DestroyVehicle(385);
DestroyVehicle(386);
DestroyVehicle(387);
DestroyVehicle(389);
DestroyVehicle(390);
DestroyVehicle(391);
DestroyVehicle(392);
DestroyVehicle(393);
DestroyVehicle(394);
DestroyVehicle(395);
DestroyVehicle(396);
DestroyVehicle(397);
DestroyVehicle(398);
DestroyVehicle(399);
DestroyVehicle(400);
DestroyVehicle(401);
DestroyVehicle(402);
DestroyVehicle(403);
DestroyVehicle(404);
DestroyVehicle(405);
DestroyVehicle(406);
DestroyVehicle(407);
DestroyVehicle(408);
DestroyVehicle(409);
DestroyVehicle(410);
DestroyVehicle(411);
DestroyVehicle(412);
DestroyVehicle(413);
DestroyVehicle(414);
DestroyVehicle(415);
DestroyVehicle(416);
DestroyVehicle(417);
DestroyVehicle(418);
DestroyVehicle(419);
DestroyVehicle(420);
DestroyVehicle(421);
DestroyVehicle(422);
DestroyVehicle(423);
DestroyVehicle(424);
DestroyVehicle(425);
DestroyVehicle(426);
DestroyVehicle(427);
DestroyVehicle(428);
DestroyVehicle(429);
DestroyVehicle(430);
DestroyVehicle(431);
DestroyVehicle(432);
DestroyVehicle(433);
DestroyVehicle(434);
DestroyVehicle(435);
DestroyVehicle(436);
DestroyVehicle(437);
DestroyVehicle(438);
DestroyVehicle(439);
DestroyVehicle(440);
DestroyVehicle(441);
DestroyVehicle(442);
DestroyVehicle(443);
DestroyVehicle(444);
DestroyVehicle(445);
DestroyVehicle(446);
DestroyVehicle(447);
DestroyVehicle(448);
DestroyVehicle(449);
DestroyVehicle(450);
DestroyVehicle(451);
DestroyVehicle(452);
DestroyVehicle(453);
DestroyVehicle(454);
DestroyVehicle(455);
DestroyVehicle(456);
DestroyVehicle(457);
DestroyVehicle(458);
DestroyVehicle(459);
DestroyVehicle(460);
DestroyVehicle(461);
DestroyVehicle(462);
DestroyVehicle(463);
DestroyVehicle(464);
DestroyVehicle(465);
DestroyVehicle(466);
DestroyVehicle(467);
DestroyVehicle(468);
DestroyVehicle(469);
DestroyVehicle(470);
DestroyVehicle(471);
DestroyVehicle(472);
DestroyVehicle(473);
DestroyVehicle(474);
DestroyVehicle(475);
DestroyVehicle(476);
DestroyVehicle(477);
DestroyVehicle(478);
DestroyVehicle(479);
DestroyVehicle(480);
DestroyVehicle(481);
DestroyVehicle(482);
DestroyVehicle(483);
DestroyVehicle(484);
DestroyVehicle(485);
DestroyVehicle(486);
DestroyVehicle(487);
DestroyVehicle(489);
DestroyVehicle(490);
DestroyVehicle(491);
DestroyVehicle(492);
DestroyVehicle(493);
DestroyVehicle(494);
DestroyVehicle(495);
DestroyVehicle(496);
DestroyVehicle(497);
DestroyVehicle(498);
DestroyVehicle(499);
DestroyVehicle(500);Und dann die Fahrzeuge die im script schon drinne sind....
Hat jemand eine bessere lösung damit der script kleiner wird.
-
wenig dazu erklärt was das genau macht und wie die befehle sind 3/10
-
aha stimmt ja war Fail von mir das kommt dafon wenn man alles schnell machen will xDDD aber danke :facepalm:
-
Ich habe das jetzt so
if(pickupid == kenny48_enter)
{
SetPlayerPos(playerid, -2640.762939,1406.682006,906.460937);
SetPlayerInterior(playerid, 3);
}if(playerid == kenny48_exit)
{
SetPlayerPos(playerid, 1496.9795,-690.7431,94.7500);
SetPlayerInterior(playerid, 0);
}Allerdings werde ich jetzt nicht geportet wenn ich durch das Icon kenny48_exit gehe dann passiert einfach nichts
-
Code
Alles anzeigenZeile (3206) : Falsch eingerückt Zeile (3206) : Ungültiger Befehl Zeile (3206) : Befehl hat keinen Sinn Zeile (3206) : Erwartete Zeichen ";", aber gefunden "if" Zeile (3208) : Falsch eingerückt 2 Errors, 3 Warnungen Du hast Errors im Skript. Kompilierung abgebrochen PWNMod Compiler Version 1.2 (c) Trooper[Y] In Kooperation mit GTA-Servers.de
@ ||DRS||Andy||DRS||
-
Hier erstmal der code:
if(pickupid == kenny48_enter) SetPlayerPos(playerid, -2640.762939,1406.682006,906.460937); SetPlayerInterior(playerid, 3);
if(playerid == kenny48_exit) SetPlayerPos(playerid, 1496.9795,-690.7431,94.7500); SetPlayerInterior(playerid, 0);kenny48_enter is das Pickup am Haus wo man reingeht
Kenny_exit is das Pickup im Interrior wo man wieder rausgeht
Also folgendes. Ich habe den eingang gemacht und getestet alles funktioniert dann habe ich den code hier hinzugefügt: if(playerid == kenny48_exit) SetPlayerPos(playerid, 1496.9795,-690.7431,94.7500); SetPlayerInterior(playerid, 0); Und dann wollte ich es testen. Bin durch das Pickup (kenny48_enter) gegengen und wurde an die richtige stelle geportet. allerdings in der Falschen virtuellen welt. Ich habe Scripttechnisch alles richtig gemacht denke ich zumindest.
Muss man die beiden If's von einander trennen???
-
ob ich jetzt 0,01 sec länger waren muss bis was passiert is auch egal da der "user" vll nicht so gutes inet hat und außerdem is das egal WEIL ES NUR 0,01 sec is.......... wenn es 0,5 oder sowas währe würde sich das lohnen ansonnsten eher nicht.
-
Wieviele objekte hast du schon???
Vll solltest du einen Objectstreamer benutzen
Ich empfele dier Opas Objekt streamer. Google den einfach
-
Ich benutze zurzeit das Xadmin system aber das gefällt michr nicht so gut.......
Daher suche ich ein adminsystem das folgende ränge hat:
1: Clanmember | Kann: /kick /spec /slap
2: Moderator | /kick /ban /tban /spec /slap /goto
3: Admin | /kick /ban /tban /getcar /spec /slap /goto /gethere /warn
4: SuperAdmin | /kick /ban /tban /getcar /spec /slap /goto /gethere/warn /unwarn
5: Projektmaneger | /kick /ban /tban /getcar /spec /slap /ipban/warn /unwarn/goto /gethere
6: Projektleiter | /kick /ban /tban /getcar /spec /slap /ipban/warn/unwarn/goto /gethere /unban /unbanip und vll noch was wenn ihr/du willstErklärung
/kick = kickt den spieler
/ban = bannt den spieler
/tban = time bannt den spieler z.B. 1stunde
/getcar = portet das auto mit der eingegebenen id her
/spec = spectatet einen spieler
/slap = slapt einen spieler
/ipban = bannt eine ip/warn = warnt einen spieler/unwarn = entfernt einen warn
/goto = portet admin zu spieler
/gethere = portet spieler zu admin
/unban = entbannt einen spieler
/unbanip entbannt eine ipMit Login und Register system
Das adminsystem wird das Alte ersetzen
Danke schonmal im Vorraus.
Bitte helft mir ich habe auch die SuFu genutzt aber nicht das gefunden was ich gesucht habe....