10/10
Gute Idee!
Beiträge von FishToast
-
-
oops, warum habe ich das nicht gesehen? naja fail: if(IsACop(playerid)||PlayerInfo[playerid][pLeader] == 7 ||PlayerInfo[playerid][pMember] == 7))
ich danke dir //Close -
Hi,
immer wenn ich compile kommt die Meldung die schon in der Überschrift genannt ist. Ich hatte das Problem schonmal aber das ist schon ewig her und jetzt weis ich nicht mehr wie ich es behebe. Ich finde einfach keinen Fehler an einem bestimmtem Command. Wenn ich den Command rausnehme compilet er aber sonst kommt die Meldung.
if(strcmp(cmd, "/ucl",true) == 0)
{
if(IsACop(playerid)||(PlayerInfo[playerid][pLeader] == 7 ||(PlayerInfo[playerid][pMember] == 7)
{
new uclcar = GetPlayerVehicleID(playerid);
if(IsFBICar(uclcar) || IsPraesiCar(uclcar))
{
if(UCL[GetPlayerVehicleID(playerid)] == 0)
{
if(GetVehicleModel(uclcar) == 560)
{
sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene4[GetPlayerVehicleID(playerid)] = CreateObject(19292,0,0,0,0,0,0,100);
AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.5,0.0,0.85,0,0,0);//Dach sirene
AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
AttachObjectToVehicle(sirene4[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0,0.9,0.4,0,0,0);//Mittig im Fenster
UCL[GetPlayerVehicleID(playerid)] = 1;
return 1;
}
else if(GetVehicleModel(uclcar) == 541)
{
sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.45,-0.1,0.65,0,0,0);//Dach sirene
AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
UCL[GetPlayerVehicleID(playerid)] = 1;
return 1;
}
else if(GetVehicleModel(uclcar) == 426)
{
sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.5,0,0.88,0,0,0);//Dach sirene
AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
UCL[GetPlayerVehicleID(playerid)] = 1;
return 1;
}
}
else if(UCL[GetPlayerVehicleID(playerid)] == 1)
{
DestroyObject(sirene[GetPlayerVehicleID(playerid)]);
DestroyObject(sirene1[GetPlayerVehicleID(playerid)]);
DestroyObject(sirene2[GetPlayerVehicleID(playerid)]);
DestroyObject(sirene3[GetPlayerVehicleID(playerid)]);
DestroyObject(sirene4[GetPlayerVehicleID(playerid)]);
UCL[GetPlayerVehicleID(playerid)] = 0;
return 1;
}
}
}
else
{
SendClientMessage(playerid,COLOR_GREY,"Du bist kein Beamter!");
}
return 1;
}
Bitte um Hilfe
MFG FishToast -
in systemsteuerung-> system und sicherheit-> firewall kannst du programme durch die firewall kommunizieren lassen. Öffentliche ports gibst du auf deinem router frei, in dem du per internet auf den router connectest
MFG -
oh tut mir leid muss mal wieder regelns lesen
-
wenn du den roller vermietest dann lass ihn doch einfach wieder am mietpunkt spawnen.
-
Guten Abend,
ich komme gleich zur Sache... . Ich suche ein Pickup welches aussieht wie eine Kiste. Diese Kiste dreht sich auch noch. Wisst ihr zufällig welches Pickup ich meine? Wisst ihr die Pickup ID? Ich habe schon lange nach dieser Pickup ID gesucht aber jetzt vergeht mir die Lust und ich frage euch. Ich hoffe ihr könnt mit helfen und wisst welche Kiste ich meine.
MFG
FishToast -
also das hier ist die ban.log datei die erstellt wird:
public BanLog(string[])
{
new entry[256];
format(entry, sizeof(entry), "%s\n",string);
new File:hFile;
hFile = fopen("ban.log", io_append);
fwrite(hFile, entry);
fclose(hFile);
}
Diese soll einfach nur mit zb: /banlist abgefragt werden und dem spieler in sendclientmessages geschickt werden ingame.
die ban.log sieht so aus:
Spoiler anzeigen AdmCmd: XXX wurde von XXX gebannt, Grund: XXX (XX-XX-XXXX) -
Guten Abend,
ich wollte eben einen /banliste Befehl erstellen udn kam auf die Idee einfach die ban.log abzufragen wo alle accountbans drinnstehen. Nur jetzt stelle ich mir die Frage:
Wie fragt man eine .log datei ab so das ich sie mit einem Befehl sehe?
Habt ihr eine Idee wie man sowas anstellt? Wenn ja dann helft mir bitte
MFG FishToast -
wie meinst du das mit zu viele objecte? ich füge jeden tag neue objecte bei ongamemodeinit ein, und die funktionieren alle! nur die mit /evakuieren funktionieren nicht!
-
ich hatte zuerst CreateObject und das hat nicht gefunzt und das andere geht auch nicht! woran könnte es noch liegen? es funktioniert immer noch nicht
-
ich werde es jetzt so ausprobieren:
Spoiler anzeigen
if(strcmp(cmd, "/evakuieren", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 4)
{
CreateObject(8613,2446.50000000,-2688.80004883,17.00000000,0.00000000,0.00000000,0.00000000); //object(vgssstairs03_lvs) (1)
CreateObject(8613,2507.60009766,-2672.30004883,17.00000000,0.00000000,0.00000000,180.00000000); //object(vgssstairs03_lvs) (2)
CreateObject(737,-2766.89990234,358.60000610,3.50000000,0.00000000,0.00000000,0.00000000); //object(aw_streettree3) (1)
CreateObject(737,-2765.80004883,394.39999390,3.40000010,0.00000000,0.00000000,0.00000000); //object(aw_streettree3) (2)
CreateObject(737,-2652.60009766,387.79998779,3.29999995,0.00000000,0.00000000,0.00000000); //object(aw_streettree3) (3)
CreateObject(737,-2651.50000000,363.29998779,3.40000010,0.00000000,0.00000000,0.00000000); //object(aw_streettree3) (4)
CreateObject(737,-2434.19995117,512.29998779,29.39999962,0.00000000,0.00000000,0.00000000); //object(aw_streettree3) (5)
CreateObject(737,-2420.69995117,538.79998779,29.39999962,0.00000000,0.00000000,0.00000000); //object(aw_streettree3) (6)
CreateObject(2921,-2410.10009766,478.79998779,34.20000076,0.00000000,0.00000000,0.00000000); //object(kmb_cam) (1)
CreateObject(2921,-2447.50000000,529.59997559,37.50000000,0.00000000,0.00000000,148.00000000); //object(kmb_cam) (2)
CreateObject(10389,824.79998779,-3952.60009766,1.29999995,0.00000000,0.00000000,0.00000000); //object(mission_07_sfs) (1)
CreateObject(10389,863.79998779,-3952.69995117,1.29999995,0.00000000,0.00000000,180.00000000); //object(mission_07_sfs) (2)
CreateObject(10389,814.90002441,-4001.69995117,1.29999995,0.00000000,0.00000000,89.99450684); //object(mission_07_sfs) (3)
CreateObject(10389,883.40002441,-3893.69995117,1.29999995,0.00000000,0.00000000,359.99450684); //object(mission_07_sfs) (4)
CreateObject(10389,833.50000000,-3903.30004883,1.29999995,0.00000000,0.00000000,269.98901367); //object(mission_07_sfs) (5)
CreateObject(10389,874.40002441,-4021.10009766,1.29999995,0.00000000,0.00000000,269.98901367); //object(mission_07_sfs) (6)
CreateObject(13592,872.29998779,-3905.80004883,10.00000000,0.00000000,0.00000000,96.00000000); //object(loopbig) (1)
CreateObject(13592,824.50000000,-3934.00000000,10.00000000,0.00000000,0.00000000,95.99853516); //object(loopbig) (2)
CreateObject(13603,778.90002441,-3908.00000000,0.00000000,0.00000000,0.00000000,0.00000000); //object(stad_tag) (1)
CreateObject(13608,823.00000000,-3748.10009766,17.20000076,0.00000000,0.00000000,0.00000000); //object(sumoring) (1)
CreateObject(979,2321.60009766,-2114.19995117,13.30000019,0.00000000,0.00000000,46.00000000); //object(sub_roadleft) (1)
CreateObject(979,2316.10009766,-2119.80004883,13.30000019,0.00000000,0.00000000,45.99975586); //object(sub_roadleft) (2)
CreateObject(979,2334.19995117,-2357.30004883,13.39999962,0.00000000,0.00000000,45.99975586); //object(sub_roadleft) (3)
CreateObject(979,2341.00000000,-2350.50000000,13.19999981,0.00000000,0.00000000,45.99975586); //object(sub_roadleft) (4)
CreateObject(979,2267.60009766,-2659.60009766,13.30000019,0.00000000,0.00000000,91.99975586); //object(sub_roadleft) (5)
CreateObject(979,2267.89990234,-2667.69995117,13.19999981,0.00000000,0.00000000,91.99951172); //object(sub_roadleft) (6)
CreateObject(979,-2909.50000000,-1174.90002441,9.30000019,0.00000000,0.00000000,167.99743652); //object(sub_roadleft) (9)
CreateObject(979,-2919.10009766,-1173.00000000,9.30000019,0.00000000,0.00000000,167.99743652); //object(sub_roadleft) (10)
CreateObject(979,-1738.30004883,-1664.69995117,36.09999847,0.00000000,0.00000000,291.99743652); //object(sub_roadleft) (11)
CreateObject(979,-1736.50000000,-1669.50000000,36.09999847,0.00000000,0.00000000,291.99462891); //object(sub_roadleft) (12)
CreateObject(979,-1236.69995117,-2337.39990234,18.00000000,0.00000000,0.00000000,55.99462891); //object(sub_roadleft) (13)
CreateObject(979,-1151.00000000,-2636.80004883,10.30000019,0.00000000,0.00000000,89.99182129); //object(sub_roadleft) (15)
CreateObject(979,-1231.30004883,-2329.60009766,17.70000076,0.00000000,0.00000000,53.99084473); //object(sub_roadleft) (16)
CreateObject(979,-1229.50000000,-2326.80004883,17.60000038,0.00000000,0.00000000,53.98937988); //object(sub_roadleft) (17)
CreateObject(979,-1151.29980469,-2641.09960938,11.10000038,0.00000000,0.00000000,89.98901367); //object(sub_roadleft) (18)
CreateObject(979,-1187.09997559,-2852.60009766,67.59999847,0.00000000,0.00000000,93.98901367); //object(sub_roadleft) (19)
CreateObject(979,-1186.59997559,-2861.00000000,67.59999847,0.00000000,0.00000000,93.98803711); //object(sub_roadleft) (20)
CreateObject(979,-1186.09997559,-2868.50000000,67.59999847,0.00000000,0.00000000,93.98803711); //object(sub_roadleft) (21)
CreateObject(979,-2900.30004883,-1177.00000000,9.30000019,0.00000000,0.00000000,167.99743652); //object(sub_roadleft) (26)
CreateObject(979,-1748.69995117,-712.50000000,29.20000076,0.00000000,0.00000000,213.99743652); //object(sub_roadleft) (27)
CreateObject(979,-1753.59997559,-715.59997559,29.29999924,0.00000000,0.00000000,213.99719238); //object(sub_roadleft) (28)
CreateObject(979,-1484.80004883,-1251.19995117,101.19999695,0.00000000,0.00000000,213.99719238); //object(sub_roadleft) (29)
CreateObject(979,-1492.09997559,-1256.59997559,100.90000153,0.00000000,0.00000000,213.99719238); //object(sub_roadleft) (30)
CreateObject(979,-1499.40002441,-1261.00000000,101.09999847,0.00000000,0.00000000,213.99719238); //object(sub_roadleft) (31)
CreateObject(979,-1506.19995117,-1266.50000000,100.69999695,0.00000000,0.00000000,213.99719238); //object(sub_roadleft) (32)
CreateObject(979,-1510.80004883,-1270.40002441,100.40000153,0.00000000,0.00000000,213.99719238); //object(sub_roadleft) (33)
CreateObject(979,-1534.30004883,-1316.40002441,53.29999924,0.00000000,0.00000000,213.99719238); //object(sub_roadleft) (34)
CreateObject(979,-1541.19995117,-1321.50000000,53.00000000,0.00000000,0.00000000,213.99719238); //object(sub_roadleft) (35)
CreateObject(979,-1486.69995117,-1608.69995117,41.40000153,0.00000000,0.00000000,243.99719238); //object(sub_roadleft) (36)
CreateObject(979,-1489.80004883,-1616.80004883,41.09999847,0.00000000,0.00000000,243.99536133); //object(sub_roadleft) (37)
CreateObject(979,-1493.50000000,-1623.40002441,41.29999924,0.00000000,0.00000000,243.99536133); //object(sub_roadleft) (38)
CreateObject(979,-2002.80004883,-1300.09997559,38.00000000,0.00000000,0.00000000,213.99536133); //object(sub_roadleft) (39)
CreateObject(979,-1995.30004883,-1294.50000000,37.59999847,0.00000000,0.00000000,213.99169922); //object(sub_roadleft) (40)
CreateObject(979,-1987.09997559,-1289.50000000,38.00000000,0.00000000,0.00000000,213.99169922); //object(sub_roadleft) (41)
CreateObject(979,-1986.00000000,-1185.19995117,39.29999924,0.00000000,0.00000000,185.99169922); //object(sub_roadleft) (42)
CreateObject(979,-1989.00000000,-1185.80004883,39.50000000,0.00000000,0.00000000,185.98754883); //object(sub_roadleft) (43)
CreateObject(979,-1912.69995117,-1164.00000000,38.50000000,0.00000000,0.00000000,185.98754883); //object(sub_roadleft) (44)
CreateObject(979,-1895.30004883,-1161.59997559,38.50000000,0.00000000,0.00000000,185.98754883); //object(sub_roadleft) (46)
CreateObject(979,-1739.90002441,-569.90002441,16.29999924,0.00000000,0.00000000,271.98754883); //object(sub_roadleft) (47)
CreateObject(979,-1903.59997559,-1162.69995117,38.50000000,0.00000000,0.00000000,185.98754883); //object(sub_roadleft) (48)
CreateObject(979,-1876.69995117,-1152.00000000,29.79999924,0.00000000,0.00000000,271.98303223); //object(sub_roadleft) (49)
CreateObject(979,-1876.40002441,-1160.19995117,29.79999924,0.00000000,0.00000000,271.98303223); //object(sub_roadleft) (50)
CreateObject(979,-1739.80004883,-579.29998779,16.20000076,0.00000000,0.00000000,271.98303223); //object(sub_roadleft) (53)
CreateObject(979,-1739.30004883,-588.79998779,16.20000076,0.00000000,0.00000000,271.98303223); //object(sub_roadleft) (54)
CreateObject(979,-1637.19995117,485.50000000,22.70000076,0.00000000,0.00000000,307.98242188); //object(sub_roadleft) (57)
CreateObject(979,-951.39941406,986.79980469,34.40000153,0.00000000,0.00000000,307.97973633); //object(sub_roadleft) (58)
CreateObject(979,-1641.69995117,490.20001221,22.60000038,0.00000000,0.00000000,307.97973633); //object(sub_roadleft) (59)
CreateObject(979,-1142.90002441,1115.80004883,38.00000000,0.00000000,0.00000000,319.97973633); //object(sub_roadleft) (60)
CreateObject(979,-1135.40002441,1110.09997559,38.00000000,0.00000000,0.00000000,319.97680664); //object(sub_roadleft) (61)
CreateObject(979,-1128.19995117,1103.69995117,38.00000000,0.00000000,0.00000000,319.97680664); //object(sub_roadleft) (62)
CreateObject(979,-1121.30004883,1097.90002441,38.09999847,0.00000000,0.00000000,319.97680664); //object(sub_roadleft) (63)
CreateObject(979,-2696.60009766,2142.89990234,55.70000076,0.00000000,0.00000000,359.97680664); //object(sub_roadleft) (64)
CreateObject(979,-2687.39990234,2143.10009766,55.29999924,0.00000000,0.00000000,359.97253418); //object(sub_roadleft) (65)
CreateObject(979,-2678.10009766,2143.00000000,55.29999924,0.00000000,0.00000000,359.97253418); //object(sub_roadleft) (66)
CreateObject(979,-2668.60009766,2143.00000000,55.29999924,0.00000000,0.00000000,359.97253418); //object(sub_roadleft) (67)
CreateObject(979,-2495.89990234,37.20000076,130.19999695,0.00000000,0.00000000,359.97253418); //object(sub_roadleft) (68)
CreateObject(979,-2647.60009766,342.70001221,4.19999981,0.00000000,0.00000000,267.97247314); //object(sub_roadleft) (69)
CreateObject(979,-2664.69995117,425.50000000,4.19999981,0.00000000,0.00000000,323.96752930); //object(sub_roadleft) (70)
CreateObject(979,-2648.19995117,324.50000000,4.19999981,0.00000000,0.00000000,267.96752930); //object(sub_roadleft) (72)
CreateObject(979,-2653.10009766,319.50000000,4.19999981,0.00000000,0.00000000,181.96751404); //object(sub_roadleft) (73)
CreateObject(979,-2661.89990234,319.29998779,4.19999981,0.00000000,0.00000000,181.96655273); //object(sub_roadleft) (74)
CreateObject(979,-2711.69995117,323.50000000,4.19999981,0.00000000,0.00000000,181.96655273); //object(sub_roadleft) (75)
CreateObject(979,-2671.19921875,319.09960938,4.19999981,0.00000000,0.00000000,181.96655273); //object(sub_roadleft) (76)
CreateObject(979,-2702.50000000,323.70001221,4.00000000,0.00000000,0.00000000,181.96655273); //object(sub_roadleft) (77)
CreateObject(979,-2693.10009766,324.10000610,4.00000000,0.00000000,0.00000000,181.96655273); //object(sub_roadleft) (79)
CreateObject(979,-2657.30004883,420.10000610,4.19999981,0.00000000,0.00000000,323.96484375); //object(sub_roadleft) (80)
CreateObject(979,-2650.00000000,414.60000610,4.19999981,0.00000000,0.00000000,323.96484375); //object(sub_roadleft) (81)
CreateObject(979,-2645.60009766,407.70001221,4.19999981,0.00000000,0.00000000,277.96484375); //object(sub_roadleft) (82)
CreateObject(979,-2700.00000000,450.79998779,4.00000000,0.00000000,0.00000000,359.95959473); //object(sub_roadleft) (83)
CreateObject(979,-2709.30004883,451.00000000,4.00000000,0.00000000,0.00000000,359.95605469); //object(sub_roadleft) (84)
CreateObject(979,-2767.19995117,428.60000610,4.30000019,0.00000000,0.00000000,359.95605469); //object(sub_roadleft) (85)
CreateObject(979,-2718.79980469,451.09960938,4.00000000,0.00000000,0.00000000,359.95605469); //object(sub_roadleft) (86)
CreateObject(979,-2757.69995117,428.50000000,4.19999981,0.00000000,0.00000000,359.95605469); //object(sub_roadleft) (87)
CreateObject(979,-2748.50000000,428.29998779,4.19999981,0.00000000,0.00000000,359.95605469); //object(sub_roadleft) (88)
CreateObject(979,-2770.50000000,318.89999390,4.30000019,0.00000000,0.00000000,179.95605469); //object(sub_roadleft) (89)
CreateObject(979,-2761.39990234,318.79998779,4.19999981,0.00000000,0.00000000,179.95056152); //object(sub_roadleft) (90)
CreateObject(979,-2752.10009766,318.39999390,4.19999981,0.00000000,0.00000000,179.95056152); //object(sub_roadleft) (91)
CreateObject(979,-2743.29980469,318.19921875,4.19999981,0.00000000,0.00000000,179.95056152); //object(sub_roadleft) (94)
CreateObject(3884,-2789.69995117,419.10000610,25.60000038,0.00000000,0.00000000,0.00000000); //object(samsite_sfxrf) (1)
CreateObject(3884,-2788.19995117,373.60000610,47.70000076,0.00000000,0.00000000,0.00000000); //object(samsite_sfxrf) (2)
CreateObject(3884,-2788.39990234,330.39999390,25.39999962,0.00000000,0.00000000,190.00000000); //object(samsite_sfxrf) (3)
CreateObject(3884,-2730.89990234,312.10000610,23.29999924,0.00000000,0.00000000,189.99755859); //object(samsite_sfxrf) (4)
CreateObject(3884,-2681.50000000,314.20001221,23.29999924,0.00000000,0.00000000,189.99755859); //object(samsite_sfxrf) (5)
CreateObject(3884,-2730.80004883,440.00000000,23.29999924,0.00000000,0.00000000,3.99755859); //object(samsite_sfxrf) (6)
CreateObject(3884,-2637.69921875,376.50000000,28.50000000,0.00000000,0.00000000,271.99401855); //object(samsite_sfxrf) (7)
CreateObject(3884,-2681.69921875,440.39941406,23.29999924,0.00000000,0.00000000,3.99353027); //object(samsite_sfxrf) (8)
CreateObject(2985,-2698.69995117,450.20001221,3.29999995,0.00000000,0.00000000,100.00000000); //object(minigun_base) (1)
CreateObject(2985,-2648.60009766,329.50000000,3.40000010,0.00000000,0.00000000,343.99755859); //object(minigun_base) (2)
CreateObject(979,-2648.00000000,334.29998779,4.19999981,0.00000000,0.00000000,267.96752930); //object(sub_roadleft) (96)
CreateObject(2985,-2704.60009766,378.00000000,10.00000000,0.00000000,348.00000000,349.99291992); //object(minigun_base) (3)
CreateObject(2985,-2708.30004883,374.39999390,8.00000000,0.00000000,344.00000000,231.99291992); //object(minigun_base) (4)
CreateObject(2892,-2706.19995117,454.10000610,3.20000005,0.00000000,0.00000000,88.00000000); //object(temp_stinger) (1)
CreateObject(2892,-2706.50000000,315.79998779,3.20000005,0.00000000,0.00000000,87.99499512); //object(temp_stinger) (2)
CreateObject(2892,-2644.50000000,334.50000000,3.20000005,0.00000000,350.00000000,351.99499512); //object(temp_stinger) (3)#
SendClientMessage(playerid,COLOR_WHITE,"((San Fierro wurde erfolgreich abgesperrt,over*))");
}
return 1;
}
aber die SendClientMessage kommt ja immer nur die objecte bauen nicht auf :), ich werde es probieren, danke -
den code von dir habe ich auch schon vorher probiert, das ging nicht, desswegen habe ich jetzt den anderen mit CreatePlayerObject
hat sonst noch jemand eine idee, danke schon mal dass du versuchst mir zu helfen -
Hey,
ich habe mal wieder an einer Neuheit auf meinem Server rumgebaut. Ein "War-System"+"Quarantäne-System".
Bei /evakuiren sollen sich eigendlich gemappte straßensperren in San Fierro aufbauen. Aber es tut sich nichts!
Spoiler anzeigen //===================================Quarantäne================================
if(strcmp(cmd, "/evakuiren", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] >= 4)
{
for(new i = 0; i <MAX_PLAYERS; i++)
{
CreatePlayerObject(i,8613,2446.50000000,-2688.80004883,17.00000000,0.00000000,0.00000000,0.00000000); //object(vgssstairs03_lvs) (1)
CreatePlayerObject(i,8613,2507.60009766,-2672.30004883,17.00000000,0.00000000,0.00000000,180.00000000); //object(vgssstairs03_lvs) (2)
CreatePlayerObject(i,737,-2766.89990234,358.60000610,3.50000000,0.00000000,0.00000000,0.00000000); //object(aw_streettree3) (1)
CreatePlayerObject(i,737,-2765.80004883,394.39999390,3.40000010,0.00000000,0.00000000,0.00000000); //object(aw_streettree3) (2)
CreatePlayerObject(i,737,-2652.60009766,387.79998779,3.29999995,0.00000000,0.00000000,0.00000000); //object(aw_streettree3) (3)
CreatePlayerObject(i,737,-2651.50000000,363.29998779,3.40000010,0.00000000,0.00000000,0.00000000); //object(aw_streettree3) (4)
CreatePlayerObject(i,737,-2434.19995117,512.29998779,29.39999962,0.00000000,0.00000000,0.00000000); //object(aw_streettree3) (5)
CreatePlayerObject(i,737,-2420.69995117,538.79998779,29.39999962,0.00000000,0.00000000,0.00000000); //object(aw_streettree3) (6)
CreatePlayerObject(i,2921,-2410.10009766,478.79998779,34.20000076,0.00000000,0.00000000,0.00000000); //object(kmb_cam) (1)
CreatePlayerObject(i,2921,-2447.50000000,529.59997559,37.50000000,0.00000000,0.00000000,148.00000000); //object(kmb_cam) (2)
CreatePlayerObject(i,10389,824.79998779,-3952.60009766,1.29999995,0.00000000,0.00000000,0.00000000); //object(mission_07_sfs) (1)
CreatePlayerObject(i,10389,863.79998779,-3952.69995117,1.29999995,0.00000000,0.00000000,180.00000000); //object(mission_07_sfs) (2)
CreatePlayerObject(i,10389,814.90002441,-4001.69995117,1.29999995,0.00000000,0.00000000,89.99450684); //object(mission_07_sfs) (3)
CreatePlayerObject(i,10389,883.40002441,-3893.69995117,1.29999995,0.00000000,0.00000000,359.99450684); //object(mission_07_sfs) (4)
CreatePlayerObject(i,10389,833.50000000,-3903.30004883,1.29999995,0.00000000,0.00000000,269.98901367); //object(mission_07_sfs) (5)
CreatePlayerObject(i,10389,874.40002441,-4021.10009766,1.29999995,0.00000000,0.00000000,269.98901367); //object(mission_07_sfs) (6)
CreatePlayerObject(i,13592,872.29998779,-3905.80004883,10.00000000,0.00000000,0.00000000,96.00000000); //object(loopbig) (1)
CreatePlayerObject(i,13592,824.50000000,-3934.00000000,10.00000000,0.00000000,0.00000000,95.99853516); //object(loopbig) (2)
CreatePlayerObject(i,13603,778.90002441,-3908.00000000,0.00000000,0.00000000,0.00000000,0.00000000); //object(stad_tag) (1)
CreatePlayerObject(i,13608,823.00000000,-3748.10009766,17.20000076,0.00000000,0.00000000,0.00000000); //object(sumoring) (1)
CreatePlayerObject(i,979,2321.60009766,-2114.19995117,13.30000019,0.00000000,0.00000000,46.00000000); //object(sub_roadleft) (1)
CreatePlayerObject(i,979,2316.10009766,-2119.80004883,13.30000019,0.00000000,0.00000000,45.99975586); //object(sub_roadleft) (2)
CreatePlayerObject(i,979,2334.19995117,-2357.30004883,13.39999962,0.00000000,0.00000000,45.99975586); //object(sub_roadleft) (3)
CreatePlayerObject(i,979,2341.00000000,-2350.50000000,13.19999981,0.00000000,0.00000000,45.99975586); //object(sub_roadleft) (4)
CreatePlayerObject(i,979,2267.60009766,-2659.60009766,13.30000019,0.00000000,0.00000000,91.99975586); //object(sub_roadleft) (5)
CreatePlayerObject(i,979,2267.89990234,-2667.69995117,13.19999981,0.00000000,0.00000000,91.99951172); //object(sub_roadleft) (6)
CreatePlayerObject(i,979,-2909.50000000,-1174.90002441,9.30000019,0.00000000,0.00000000,167.99743652); //object(sub_roadleft) (9)
CreatePlayerObject(i,979,-2919.10009766,-1173.00000000,9.30000019,0.00000000,0.00000000,167.99743652); //object(sub_roadleft) (10)
CreatePlayerObject(i,979,-1738.30004883,-1664.69995117,36.09999847,0.00000000,0.00000000,291.99743652); //object(sub_roadleft) (11)
CreatePlayerObject(i,979,-1736.50000000,-1669.50000000,36.09999847,0.00000000,0.00000000,291.99462891); //object(sub_roadleft) (12)
CreatePlayerObject(i,979,-1236.69995117,-2337.39990234,18.00000000,0.00000000,0.00000000,55.99462891); //object(sub_roadleft) (13)
CreatePlayerObject(i,979,-1151.00000000,-2636.80004883,10.30000019,0.00000000,0.00000000,89.99182129); //object(sub_roadleft) (15)
CreatePlayerObject(i,979,-1231.30004883,-2329.60009766,17.70000076,0.00000000,0.00000000,53.99084473); //object(sub_roadleft) (16)
CreatePlayerObject(i,979,-1229.50000000,-2326.80004883,17.60000038,0.00000000,0.00000000,53.98937988); //object(sub_roadleft) (17)
CreatePlayerObject(i,979,-1151.29980469,-2641.09960938,11.10000038,0.00000000,0.00000000,89.98901367); //object(sub_roadleft) (18)
CreatePlayerObject(i,979,-1187.09997559,-2852.60009766,67.59999847,0.00000000,0.00000000,93.98901367); //object(sub_roadleft) (19)
CreatePlayerObject(i,979,-1186.59997559,-2861.00000000,67.59999847,0.00000000,0.00000000,93.98803711); //object(sub_roadleft) (20)
CreatePlayerObject(i,979,-1186.09997559,-2868.50000000,67.59999847,0.00000000,0.00000000,93.98803711); //object(sub_roadleft) (21)
CreatePlayerObject(i,979,-2900.30004883,-1177.00000000,9.30000019,0.00000000,0.00000000,167.99743652); //object(sub_roadleft) (26)
CreatePlayerObject(i,979,-1748.69995117,-712.50000000,29.20000076,0.00000000,0.00000000,213.99743652); //object(sub_roadleft) (27)
CreatePlayerObject(i,979,-1753.59997559,-715.59997559,29.29999924,0.00000000,0.00000000,213.99719238); //object(sub_roadleft) (28)
CreatePlayerObject(i,979,-1484.80004883,-1251.19995117,101.19999695,0.00000000,0.00000000,213.99719238); //object(sub_roadleft) (29)
CreatePlayerObject(i,979,-1492.09997559,-1256.59997559,100.90000153,0.00000000,0.00000000,213.99719238); //object(sub_roadleft) (30)
CreatePlayerObject(i,979,-1499.40002441,-1261.00000000,101.09999847,0.00000000,0.00000000,213.99719238); //object(sub_roadleft) (31)
CreatePlayerObject(i,979,-1506.19995117,-1266.50000000,100.69999695,0.00000000,0.00000000,213.99719238); //object(sub_roadleft) (32)
CreatePlayerObject(i,979,-1510.80004883,-1270.40002441,100.40000153,0.00000000,0.00000000,213.99719238); //object(sub_roadleft) (33)
CreatePlayerObject(i,979,-1534.30004883,-1316.40002441,53.29999924,0.00000000,0.00000000,213.99719238); //object(sub_roadleft) (34)
CreatePlayerObject(i,979,-1541.19995117,-1321.50000000,53.00000000,0.00000000,0.00000000,213.99719238); //object(sub_roadleft) (35)
CreatePlayerObject(i,979,-1486.69995117,-1608.69995117,41.40000153,0.00000000,0.00000000,243.99719238); //object(sub_roadleft) (36)
CreatePlayerObject(i,979,-1489.80004883,-1616.80004883,41.09999847,0.00000000,0.00000000,243.99536133); //object(sub_roadleft) (37)
CreatePlayerObject(i,979,-1493.50000000,-1623.40002441,41.29999924,0.00000000,0.00000000,243.99536133); //object(sub_roadleft) (38)
CreatePlayerObject(i,979,-2002.80004883,-1300.09997559,38.00000000,0.00000000,0.00000000,213.99536133); //object(sub_roadleft) (39)
CreatePlayerObject(i,979,-1995.30004883,-1294.50000000,37.59999847,0.00000000,0.00000000,213.99169922); //object(sub_roadleft) (40)
CreatePlayerObject(i,979,-1987.09997559,-1289.50000000,38.00000000,0.00000000,0.00000000,213.99169922); //object(sub_roadleft) (41)
CreatePlayerObject(i,979,-1986.00000000,-1185.19995117,39.29999924,0.00000000,0.00000000,185.99169922); //object(sub_roadleft) (42)
CreatePlayerObject(i,979,-1989.00000000,-1185.80004883,39.50000000,0.00000000,0.00000000,185.98754883); //object(sub_roadleft) (43)
CreatePlayerObject(i,979,-1912.69995117,-1164.00000000,38.50000000,0.00000000,0.00000000,185.98754883); //object(sub_roadleft) (44)
CreatePlayerObject(i,979,-1895.30004883,-1161.59997559,38.50000000,0.00000000,0.00000000,185.98754883); //object(sub_roadleft) (46)
CreatePlayerObject(i,979,-1739.90002441,-569.90002441,16.29999924,0.00000000,0.00000000,271.98754883); //object(sub_roadleft) (47)
CreatePlayerObject(i,979,-1903.59997559,-1162.69995117,38.50000000,0.00000000,0.00000000,185.98754883); //object(sub_roadleft) (48)
CreatePlayerObject(i,979,-1876.69995117,-1152.00000000,29.79999924,0.00000000,0.00000000,271.98303223); //object(sub_roadleft) (49)
CreatePlayerObject(i,979,-1876.40002441,-1160.19995117,29.79999924,0.00000000,0.00000000,271.98303223); //object(sub_roadleft) (50)
CreatePlayerObject(i,979,-1739.80004883,-579.29998779,16.20000076,0.00000000,0.00000000,271.98303223); //object(sub_roadleft) (53)
CreatePlayerObject(i,979,-1739.30004883,-588.79998779,16.20000076,0.00000000,0.00000000,271.98303223); //object(sub_roadleft) (54)
CreatePlayerObject(i,979,-1637.19995117,485.50000000,22.70000076,0.00000000,0.00000000,307.98242188); //object(sub_roadleft) (57)
CreatePlayerObject(i,979,-951.39941406,986.79980469,34.40000153,0.00000000,0.00000000,307.97973633); //object(sub_roadleft) (58)
CreatePlayerObject(i,979,-1641.69995117,490.20001221,22.60000038,0.00000000,0.00000000,307.97973633); //object(sub_roadleft) (59)
CreatePlayerObject(i,979,-1142.90002441,1115.80004883,38.00000000,0.00000000,0.00000000,319.97973633); //object(sub_roadleft) (60)
CreatePlayerObject(i,979,-1135.40002441,1110.09997559,38.00000000,0.00000000,0.00000000,319.97680664); //object(sub_roadleft) (61)
CreatePlayerObject(i,979,-1128.19995117,1103.69995117,38.00000000,0.00000000,0.00000000,319.97680664); //object(sub_roadleft) (62)
CreatePlayerObject(i,979,-1121.30004883,1097.90002441,38.09999847,0.00000000,0.00000000,319.97680664); //object(sub_roadleft) (63)
CreatePlayerObject(i,979,-2696.60009766,2142.89990234,55.70000076,0.00000000,0.00000000,359.97680664); //object(sub_roadleft) (64)
CreatePlayerObject(i,979,-2687.39990234,2143.10009766,55.29999924,0.00000000,0.00000000,359.97253418); //object(sub_roadleft) (65)
CreatePlayerObject(i,979,-2678.10009766,2143.00000000,55.29999924,0.00000000,0.00000000,359.97253418); //object(sub_roadleft) (66)
CreatePlayerObject(i,979,-2668.60009766,2143.00000000,55.29999924,0.00000000,0.00000000,359.97253418); //object(sub_roadleft) (67)
CreatePlayerObject(i,979,-2495.89990234,37.20000076,130.19999695,0.00000000,0.00000000,359.97253418); //object(sub_roadleft) (68)
CreatePlayerObject(i,979,-2647.60009766,342.70001221,4.19999981,0.00000000,0.00000000,267.97247314); //object(sub_roadleft) (69)
CreatePlayerObject(i,979,-2664.69995117,425.50000000,4.19999981,0.00000000,0.00000000,323.96752930); //object(sub_roadleft) (70)
CreatePlayerObject(i,979,-2648.19995117,324.50000000,4.19999981,0.00000000,0.00000000,267.96752930); //object(sub_roadleft) (72)
CreatePlayerObject(i,979,-2653.10009766,319.50000000,4.19999981,0.00000000,0.00000000,181.96751404); //object(sub_roadleft) (73)
CreatePlayerObject(i,979,-2661.89990234,319.29998779,4.19999981,0.00000000,0.00000000,181.96655273); //object(sub_roadleft) (74)
CreatePlayerObject(i,979,-2711.69995117,323.50000000,4.19999981,0.00000000,0.00000000,181.96655273); //object(sub_roadleft) (75)
CreatePlayerObject(i,979,-2671.19921875,319.09960938,4.19999981,0.00000000,0.00000000,181.96655273); //object(sub_roadleft) (76)
CreatePlayerObject(i,979,-2702.50000000,323.70001221,4.00000000,0.00000000,0.00000000,181.96655273); //object(sub_roadleft) (77)
CreatePlayerObject(i,979,-2693.10009766,324.10000610,4.00000000,0.00000000,0.00000000,181.96655273); //object(sub_roadleft) (79)
CreatePlayerObject(i,979,-2657.30004883,420.10000610,4.19999981,0.00000000,0.00000000,323.96484375); //object(sub_roadleft) (80)
CreatePlayerObject(i,979,-2650.00000000,414.60000610,4.19999981,0.00000000,0.00000000,323.96484375); //object(sub_roadleft) (81)
CreatePlayerObject(i,979,-2645.60009766,407.70001221,4.19999981,0.00000000,0.00000000,277.96484375); //object(sub_roadleft) (82)
CreatePlayerObject(i,979,-2700.00000000,450.79998779,4.00000000,0.00000000,0.00000000,359.95959473); //object(sub_roadleft) (83)
CreatePlayerObject(i,979,-2709.30004883,451.00000000,4.00000000,0.00000000,0.00000000,359.95605469); //object(sub_roadleft) (84)
CreatePlayerObject(i,979,-2767.19995117,428.60000610,4.30000019,0.00000000,0.00000000,359.95605469); //object(sub_roadleft) (85)
CreatePlayerObject(i,979,-2718.79980469,451.09960938,4.00000000,0.00000000,0.00000000,359.95605469); //object(sub_roadleft) (86)
CreatePlayerObject(i,979,-2757.69995117,428.50000000,4.19999981,0.00000000,0.00000000,359.95605469); //object(sub_roadleft) (87)
CreatePlayerObject(i,979,-2748.50000000,428.29998779,4.19999981,0.00000000,0.00000000,359.95605469); //object(sub_roadleft) (88)
CreatePlayerObject(i,979,-2770.50000000,318.89999390,4.30000019,0.00000000,0.00000000,179.95605469); //object(sub_roadleft) (89)
CreatePlayerObject(i,979,-2761.39990234,318.79998779,4.19999981,0.00000000,0.00000000,179.95056152); //object(sub_roadleft) (90)
CreatePlayerObject(i,979,-2752.10009766,318.39999390,4.19999981,0.00000000,0.00000000,179.95056152); //object(sub_roadleft) (91)
CreatePlayerObject(i,979,-2743.29980469,318.19921875,4.19999981,0.00000000,0.00000000,179.95056152); //object(sub_roadleft) (94)
CreatePlayerObject(i,3884,-2789.69995117,419.10000610,25.60000038,0.00000000,0.00000000,0.00000000); //object(samsite_sfxrf) (1)
CreatePlayerObject(i,3884,-2788.19995117,373.60000610,47.70000076,0.00000000,0.00000000,0.00000000); //object(samsite_sfxrf) (2)
CreatePlayerObject(i,3884,-2788.39990234,330.39999390,25.39999962,0.00000000,0.00000000,190.00000000); //object(samsite_sfxrf) (3)
CreatePlayerObject(i,3884,-2730.89990234,312.10000610,23.29999924,0.00000000,0.00000000,189.99755859); //object(samsite_sfxrf) (4)
CreatePlayerObject(i,3884,-2681.50000000,314.20001221,23.29999924,0.00000000,0.00000000,189.99755859); //object(samsite_sfxrf) (5)
CreatePlayerObject(i,3884,-2730.80004883,440.00000000,23.29999924,0.00000000,0.00000000,3.99755859); //object(samsite_sfxrf) (6)
CreatePlayerObject(i,3884,-2637.69921875,376.50000000,28.50000000,0.00000000,0.00000000,271.99401855); //object(samsite_sfxrf) (7)
CreatePlayerObject(i,3884,-2681.69921875,440.39941406,23.29999924,0.00000000,0.00000000,3.99353027); //object(samsite_sfxrf) (8)
CreatePlayerObject(i,2985,-2698.69995117,450.20001221,3.29999995,0.00000000,0.00000000,100.00000000); //object(minigun_base) (1)
CreatePlayerObject(i,2985,-2648.60009766,329.50000000,3.40000010,0.00000000,0.00000000,343.99755859); //object(minigun_base) (2)
CreatePlayerObject(i,979,-2648.00000000,334.29998779,4.19999981,0.00000000,0.00000000,267.96752930); //object(sub_roadleft) (96)
CreatePlayerObject(i,2985,-2704.60009766,378.00000000,10.00000000,0.00000000,348.00000000,349.99291992); //object(minigun_base) (3)
CreatePlayerObject(i,2985,-2708.30004883,374.39999390,8.00000000,0.00000000,344.00000000,231.99291992); //object(minigun_base) (4)
CreatePlayerObject(i,2892,-2706.19995117,454.10000610,3.20000005,0.00000000,0.00000000,88.00000000); //object(temp_stinger) (1)
CreatePlayerObject(i,2892,-2706.50000000,315.79998779,3.20000005,0.00000000,0.00000000,87.99499512); //object(temp_stinger) (2)
CreatePlayerObject(i,2892,-2644.50000000,334.50000000,3.20000005,0.00000000,350.00000000,351.99499512); //object(temp_stinger) (3)
}
SendClientMessage(playerid,COLOR_WHITE,"((*San Fierro wurde erfolgreich abgesperrt,over*))");
}
}
return 1;
}
Ich hoffe ihr könnt mir helfen. Was muss ich verändern dass sich die Objecte bei /evakuiren aufbauen?
Bin dankbar für Hilfe!
MFG FishToast -
Zitat
""hey ich habe ein kleines Problem. Ich habe noch nicht am FS verändert
und der admindia ist noch aktiviert, aber wenn ich ingame /dtdcamenu
eingebe kommt zwar das menu aber wenn ich auf einen der punkte klicke
und dann auf ok klicke kommt kein weiterer dialog, das fs sehr groß und
ich kenn mich nicht mit deinem gescriptetm aus. Könntest du mir bitte
helfen?""
Weis irgendjemand warum das so ist? und nicht funktioniert?
MFG FishToast -
hey ich habe ein kleines Problem. Ich habe noch nicht am FS verändert und der admindia ist noch aktiviert, aber wenn ich ingame /dtdcamenu eingebe kommt zwar das menu aber wenn ich auf einen der punkte klicke und dann auf ok klicke kommt kein weiterer dialog, das fs sehr groß und ich kenn mich nicht mit deinem gescriptetm aus. Könntest du mir bitte helfen?
MFG FishToast -
oh danke
das kommt davon wenn ich alles kopiere und die x,y,z nur einfüge ;D, dann vergisst man das auch mal
THX -
es ist die Zeil mit : "SetPlayerHealth(playerid, 100);
-
hallo,
Codeich habe eben folgenden Error beim compilen bekommen: [Name](18519) : fatal error 103: insufficient memory
Hier die Zeilen und der Befehl mit dem der error zusammenhängt!
if(strcmp(cmdtext,"/trinken",true)==0)
{
if (PlayerToPoint(2, playerid,2527.10009766,-1664.09997559,15.30000019) || (PlayerToPoint(2, playerid,) || (PlayerToPoint(2, playerid,2006.00000000,-1408.40002441,17.10000038) || (PlayerToPoint(2, playerid,1295.80004883,-785.29998779,88.40000153) || (PlayerToPoint(2, playerid,-587.50000000,-539.20001221,25.60000038) || (PlayerToPoint(2, playerid,-322.00000000,1537.19995117,75.69999695) || (PlayerToPoint(2, playerid,-2729.69995117,425.10000610,4.40000010) || (PlayerToPoint(2, playerid,-2014.40002441,-102.19999695,35.59999847) || (PlayerToPoint(2, playerid,-2113.10009766,1092.90002441,71.69999695) || (PlayerToPoint(2, playerid,1896.90002441,722.09997559,10.89999962) || (PlayerToPoint(2, playerid,924.40002441,-1260.59997559,14.69999981) || PlayerInfo[playerid][pLocal] != 255)
{
GivePlayerMoney(playerid, -15);
SetPlayerHealth(playerid, 100);
SendClientMessage(playerid,COLOR_GRAD1,"Dein Leben wurde gefüllt!");
if(GetPlayerWantedLevel(playerid) >= 1)
{
SendClientMessage(playerid,COLOR_GRAD1,"Denk dran! Healen im Kampf ist verboten!");
}
}
}
Bin dankbar für hilfe!
MFG FishToast -
hey,
habe ein Problem mit meinem M_Bot Anticheat include. Immer wenn ich einer Fraktion eine RPG oder Minigun in das Waffenlager tue oder sie jemandem gebe, wird der von Anticheat gebannt der die Waffe bekommt! Wie kann ich deaktivieren, dass derjenige sofort gebannt wird?
if(listitem==4)
{
if(PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 20)
{
if(PlayerInfo[playerid][pRank] >= 5)
{
M_GivePlayerWeapon(playerid,35,2);
SendClientMessage(playerid,WL_COLOR,"** Du hast dir eine RPG genommen!");}
}
}
Bitte um Hilfe und bin dankbar für Hilfe!
MFG FishToast