if(strcmp(cmdtext, "/roadblock", true)==0 || strcmp(cmdtext, "/rb", true)==0)
{
if (!IsACop(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Du bist kein Cop!");
if (PlayerInfo[playerid][pRank] < 1)
{
SendClientMessage(playerid, COLOR_GREY, "Du musst mindestens Rang 1 haben, um diesen Befehl nutzen zu können!");
return 1;
}
if (PlayerInfo[playerid][pRoadblock] != -25) return SendClientMessage(playerid, COLOR_GREY, "Du kannst nur 25 Straßensperren errichten, gib /rrb ein um eine vorhandene Sperre zu entfernen.");
new Float:X, Float:Y, Float:Z, Float:A;
GetPlayerPos(playerid, X, Y, Z);
GetPlayerFacingAngle(playerid, A);
PlayerInfo[playerid][pRoadblock] = CreateDynamicObject(979, X, Y, Z, 0.0, 0.0, A+180);
SetPlayerPos(playerid, X, Y, Z+4);
GameTextForPlayer(playerid, "~w~Strassensperre ~r~platziert", 5000, 5);
SendClientMessage(playerid, COLOR_GREEN, "Starßensperre erfolgreich platziert, gib /rrb oder /roadunblock ein um sie zu entfernen.");
//roadblocktimer = 1;
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "HQ: Officer %s hat eine Straßensperre platziert, auf der Karte ist sie als Checkpoint zu sehen.", sendername);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(IsACop(i))
{
SetPlayerCheckpoint(playerid, X, Y, Z-10, 1.0);
SendClientMessage(i, TEAM_BLUE_COLOR, string);
if (PlayerInfo[i][pRank] >= 5 && PlayerInfo[i][pMember] || PlayerInfo[i][pLeader] == 1)
{
SendClientMessage(i, COLOR_YELLOW, "Du kannst alle Sperren mit /rrball entfernen");
}
}
}
}
return 1;
}
Beiträge von PaT_Johnson
-
-
Brauche hilfe ich will das man 25 Straßensperren machen kann bitte Hilfe!
Also Derzeit kann man gar keine machen
if(strcmp(cmdtext, "/roadblock", true)==0 strcmp(cmdtext, "/rb", true)==0)
{
if (!IsACop(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Du bist kein Cop!");
if (PlayerInfo[playerid][pRank] < 1)
{
SendClientMessage(playerid, COLOR_GREY, "Du musst mindestens Rang 1 haben, um diesen Befehl nutzen zu können!");
return 1;
}
if (PlayerInfo[playerid][pRoadblock] != -25) return SendClientMessage(playerid, COLOR_GREY, "Du kannst nur 25 Straßensperren errichten, gib /rrb ein um eine vorhandene Sperre zu entfernen.");
new Float:X, Float:Y, Float:Z, Float:A;
GetPlayerPos(playerid, X, Y, Z);
GetPlayerFacingAngle(playerid, A);
PlayerInfo[playerid][pRoadblock] = CreateDynamicObject(979, X, Y, Z, 0.0, 0.0, A+180);
SetPlayerPos(playerid, X, Y, Z+4);
GameTextForPlayer(playerid, "~w~Strassensperre ~r~platziert", 5000, 5);
SendClientMessage(playerid, COLOR_GREEN, "Starßensperre erfolgreich platziert, gib /rrb oder /roadunblock ein um sie zu entfernen.");
//roadblocktimer = 1;
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "HQ: Officer %s hat eine Straßensperre platziert, auf der Karte ist sie als Checkpoint zu sehen.", sendername);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(IsACop(i))
{
SetPlayerCheckpoint(playerid, X, Y, Z-10, 1.0);
SendClientMessage(i, TEAM_BLUE_COLOR, string);
if (PlayerInfo[i][pRank] >= 5 && PlayerInfo[i][pMember] PlayerInfo[i][pLeader] == 1)
{
SendClientMessage(i, COLOR_YELLOW, "Du kannst alle Sperren mit /rrball entfernen");
}
}
}
}
return 1;
} -
Ja, Aber bei mir sieht es so aus
YakuzaVehs[0] = AddStaticVehicle(560, 672.8254, -1258.6053, 13.2234, 0.0000, -1, -1);
YakuzaVehs[1] = AddStaticVehicle(560, 672.7965, -1264.8230, 13.2234, 0.0000, -1, -1);
YakuzaVehs[2] = AddStaticVehicle(560, 672.6950, -1283.7306, 13.2234, 0.0000, -1, -1);
YakuzaVehs[3] = AddStaticVehicle(560, 672.7526, -1289.8409, 13.2234, 0.0000, -1, -1);
YakuzaVehs[4] = AddStaticVehicle(560, 672.8136, -1296.3136, 13.2234, 0.0000, -1, -1);
YakuzaVehs[5] = AddStaticVehicle(411, 657.2498, -1261.2931, 13.3434, 0.0000, -1, -1);
YakuzaVehs[6] = AddStaticVehicle(411, 657.3336, -1275.9896, 13.3434, 0.0000, -1, -1);
YakuzaVehs[7] = AddStaticVehicle(411, 657.2372, -1268.1810, 13.3434, 0.0000, -1, -1);
YakuzaVehs[8] = AddStaticVehicle(411, 657.1998, -1284.2115, 13.3434, 0.0000, -1, -1);
YakuzaVehs[9] = AddStaticVehicle(411, 657.2681, -1292.5601, 13.3434, 0.0000, -1, -1);
YakuzaVehs[10] = AddStaticVehicle(411, 657.2255, -1300.3268, 13.3434, 0.0000, -1, -1);
YakuzaVehs[11] = AddStaticVehicle(521, 687.9639, -1263.0062, 12.9894, 92.0393, -1, -1);
YakuzaVehs[12] = AddStaticVehicle(521, 687.9883, -1264.4089, 12.9894, 92.0393, -1, -1);
YakuzaVehs[13] = AddStaticVehicle(521, 688.0446, -1267.6499, 12.9894, 92.0393, -1, -1);
YakuzaVehs[14] = AddStaticVehicle(521, 688.0153, -1265.9607, 12.9894, 92.0393, -1, -1);
YakuzaVehs[15] = AddStaticVehicle(521, 687.8988, -1261.5771, 12.9894, 92.0393, -1, -1);
YakuzaVehs[16] = AddStaticVehicle(521, 687.8213, -1259.8771, 12.9894, 92.0393, -1, -1);
YakuzaVehs[17] = AddStaticVehicle(521, 687.7511, -1258.3373, 12.9894, 92.0393, -1, -1); -
Hi,
Mein Mapper hat Cars Gemappt aber sie haben unterschideliche Farben wie änder ich die?
Danke im Vorausund noch eine Frage wie mache ich Häuse weg oder füge häuser hinzu ?
-
Ich brauche Hilfe beim Häuser Einfügen Bitte Help.
Derzeitige Häuser
-2639.734375,168.677398,7.195300,1.200000,-3.400000,999.400024,0,0,0,0,0,0,Zu Verkaufen,Trailer,200000,0,0,2,1,0,0,50,1,2045,542,-1,-1,114,3
2066.600097,-1703.500000,14.100000,295.399993,1473.199951,1080.257812,0,0,0,0,0,0,Blackviper1995, Bedsit,200000,0,0,15,1,1,1,5,1,5245,542,-1,-1,282,1
-2706.559326,865.453125,70.703102,267.100006,305.000000,999.099975,0,0,0,0,0,0,Zu Verkaufen, Bedsit,200000,0,0,2,1,0,1,50,1,50,542,-1,-1,114,3
1111.500000,-974.700012,42.700000,301.299987,306.299987,1003.500000,0,0,0,0,0,0,Michael_Boom, Bedsit,200000,0,0,4,1,1,1,5,1,5,418,-1,-1,207,1
2486.600097,-2020.500000,13.500000,344.299987,305.200012,999.099975,0,0,0,0,0,0,Zu Verkaufen, Bedsit,200000,0,0,6,1,0,0,1000,1,0,542,-1,-1,114,3
2652.800048,-1991.099975,13.500000,446.100006,507.899993,1001.400024,0,0,0,0,0,0,Zu Verkaufen,2 Raum Apartment,200000,0,0,12,1,0,1,200,200,0,542,-1,-1,114,5
-2722.041259,923.907775,67.593803,-42.400001,1408.199951,1084.400024,0,0,0,0,0,0,Zu Verkaufen,3 Raum Bungalow,200000,0,0,8,1,0,1,5000,500,0,542,-1,-1,114,5
1905.900024,-1113.699951,26.600000,2464.100097,-1698.599975,1013.500000,0,0,0,0,0,0,Zu Verkaufen,3 Raum Bungalow,200000,0,0,2,1,0,1,1,0,18,542,-1,-1,114,5
836.299987,-894.299987,68.699996,386.100006,1471.800048,1080.099975,0,0,0,0,0,0,Zu Verkaufen,3 Raum Apartment,200000,0,0,15,1,0,1,100,0,0,418,-1,-1,204,5
2142.699951,-1605.500000,14.300000,221.600006,1143.599975,1082.599975,0,0,0,0,0,0,Zu Verkaufen,3 Raum Apartment,200000,0,0,4,1,0,1,19,1,0,542,-1,-1,114,3
768.099975,-1696.500000,5.099997,260.600006,1238.800048,1084.199951,0,0,0,0,0,0,Zu Verkaufen,4 Raum Apartment,200000,0,0,9,1,0,0,100,1,900,542,-1,-1,114,3
652.099975,-1619.900024,15.000000,261.000000,1286.000000,1080.199951,0,0,0,0,0,0,Zu Verkaufen,4 Raum House,200000,0,0,4,1,0,0,50,1,0,542,-1,-1,205,7
-2641.144287,935.170288,71.953102,745.299987,1437.699951,1102.699951,0,0,0,0,0,0,Zu Verkaufen,4 Raum Apartment,200000,0,0,6,1,0,0,200,1,0,542,-1,-1,114,7
-2655.336425,986.743225,64.991302,376.299987,1417.199951,1081.300048,0,0,0,0,0,0,Zu Verkaufen,4 Raum Apartment,200000,0,0,15,1,0,0,100,1,2,542,-1,-1,114,7
812.700012,-1456.599975,13.699995,27.100000,1341.099975,1084.300048,0,0,0,0,0,0,Zu Verkaufen,4 Raum House,200000,0,0,10,1,0,0,1,0,0,542,-1,-1,114,7
2434.899902,-1320.800048,24.799999,2526.399902,-1679.000000,1015.400024,0,0,0,0,0,0,Zu Verkaufen,4 Raum Bedsit,200000,0,0,1,1,0,0,50,500,150,542,-1,-1,114,7
2847.800048,-1309.599975,14.699995,222.800003,1288.699951,1082.099975,0,0,0,0,0,0,Zu Verkaufen,4 Raum Apartment,200000,0,0,1,1,0,0,500,35000,6020,542,-1,-1,114,7
2144.399902,-1803.099975,16.100000,23.000000,1405.599975,1084.400024,0,0,0,0,0,0,Defjam,4 Raum House,200000,0,0,5,1,1,0,1,0,1,418,-1,-1,282,1
-2688.637939,137.059997,4.342597,235.300003,1189.199951,1080.199951,0,0,0,0,0,0,Zu Verkaufen,4 Raum House,200000,0,0,3,1,0,1,500,0,84000,542,-1,-1,114,9
-2710.635742,968.619384,54.460899,447.000000,1400.300048,1084.300048,0,0,0,0,0,0,Zu Verkaufen,5 Raum Apartment,200000,0,0,2,1,0,0,100,1,800,542,-1,-1,114,5
1257.671752,-785.509216,92.030197,234.199996,1064.900024,1084.210571,0,0,0,0,0,0,[G.4.L]Flo,5 Raum House,1,1,0,6,0,1,0,1,1,1255,418,-1,-1,35,5
1243.000000,-1100.900024,27.899999,327.899993,1478.300048,1084.400024,0,0,0,0,0,0,Zu Verkaufen,5 Raum Slum,200000,0,0,15,1,0,0,200,1,2600,542,-1,-1,114,5
827.900024,-858.500000,70.300003,295.399993,1473.199951,1080.199951,0,0,0,0,0,0,[Aleex],5 Raum Apartment,200000,1,0,15,0,1,0,500,0,0,542,-1,-1,282,3
300.153198,-1154.362915,81.390098,140.399993,1370.300048,1083.865600,0,0,0,0,0,0,Mr.Tie,6 Raum Haus,1,0,0,5,1,1,0,2500,1,1402,418,-1,-1,34,5
1111.500000,-741.900024,100.099998,140.399993,1370.300048,1083.865600,0,0,0,0,0,0,Zu Verkaufen,6 Raum Luxus,200000,0,0,5,1,0,0,199,1,1852,542,-1,-1,114,7
251.600006,-1220.900024,75.800003,301.299987,306.000000,1003.539123,0,0,0,0,0,0,The State,6 Raum House,200000,0,0,4,1,0,0,250,0,500,418,-1,-1,34,8
1468.400024,-903.700012,54.799999,231.399993,1114.099975,1080.900024,0,0,0,0,0,0,Philip.kr,7 Raum Luxus,200000,1,0,5,1,1,0,1,0,4232,542,-1,-1,33,5
1421.800048,-884.599975,50.599998,225.600006,1023.500000,1084.000000,0,0,0,0,0,0,Zu Verkaufen,8 Raum Luxus,200000,0,0,7,1,0,0,100,0,600,542,-1,-1,114,6
-2523.704345,2239.173828,5.398396,-285.899993,1470.800048,1084.300048,0,0,0,0,0,0,Zu Verkaufen,4 Raum Luxus,200000,0,0,15,1,0,0,1,1,5003,542,-1,-1,114,4
-2551.979980,2266.743408,5.475500,-262.700012,1456.599975,1084.300048,0,0,0,0,0,0,Zu Verkaufen,3 Raum Apartment,200000,0,0,4,1,0,0,1,1,264,542,-1,-1,114,8
-2379.456787,2444.236083,10.169400,-68.800003,1354.699951,1080.199951,0,0,0,0,0,0,Zu Verkaufen,2 Raum Apartment,200000,0,0,6,1,0,0,200,1,200,542,-1,-1,114,9
-2234.689697,888.874511,66.653099,2254.300048,-1140.000000,1050.599975,0,0,0,0,0,0,Zu Verkaufen,2 Raum Apartment,200000,0,0,9,1,0,0,250,1000,300,542,-1,-1,114,5
-2524.408691,-144.885604,21.764200,2261.300048,-1135.900024,1050.599975,0,0,0,0,0,0,Zu Verkaufen,3 Raum Apartment,200000,0,0,10,1,0,0,500,700,0,542,-1,-1,114,5
-2621.281005,-112.409301,4.342597,2324.399902,-1147.500000,1050.699951,0,0,0,0,0,0,Zu Verkaufen,8 Raum Luxus,200000,0,0,12,1,0,0,1,0,0,542,-1,-1,114,8
1534.405151,-800.220825,72.849502,267.100006,305.000000,999.099975,0,0,0,0,0,0,Zu Verkaufen,2 Raum Apartment,200000,0,0,2,1,0,0,100,1,0,542,-1,-1,114,5
1093.698974,-805.992614,107.419601,83.300003,1324.699951,1083.800048,0,0,0,0,0,0,The State,4 Raum Luxus,200000,0,0,9,1,0,0,875,0,21402,418,-1,-1,282,5
1034.398925,-811.986389,101.851600,27.100000,1341.099975,1084.300048,0,0,0,0,0,0,Zu Verkaufen,3 Raum Apartment,200000,0,0,10,1,0,0,1,1,0,542,-1,-1,114,5
989.808593,-828.400024,95.468597,27.100000,1341.099975,1084.300048,0,0,0,0,0,0,Zu Verkaufen,3 Raum Apartment,200000,0,0,10,1,0,0,500,1,600,542,-1,-1,114,5
937.479187,-848.054992,93.686203,267.100006,305.000000,999.099975,0,0,0,0,0,0,The State,2 Raum Apartment,200000,0,0,2,1,0,0,50,0,0,418,-1,-1,34,5
924.422180,-853.300109,93.456497,-285.899993,1470.800048,1084.300048,0,0,0,0,0,0,Zu Verkaufen,3 Raum Apartment,200000,0,0,15,1,0,0,1,1,6764,542,-1,-1,114,5
724.965026,-998.985229,52.734401,244.500000,305.000000,999.099975,0,0,0,0,0,0,The State,2 Raum Apartment,200000,0,0,1,1,0,0,100,0,100,418,-1,-1,34,3
700.052673,-1059.923339,49.421699,260.600006,1238.800048,1084.199951,0,0,0,0,0,0,Zu Verkaufen,3 Raum Apartment,200000,0,0,9,1,0,0,500,1,500,542,-1,-1,114,5
646.007080,-1117.406494,44.207000,260.600006,1238.800048,1084.199951,0,0,0,0,0,0,Zu Verkaufen,3 Raum Apartment,200000,0,0,9,1,0,0,100,100,1416,542,-1,-1,114,5
298.648193,-1338.110961,53.441501,489.700012,1402.500000,1080.264526,0,0,0,0,0,0,[G.4.L]PaT,3 Raum Apartment,500000,0,0,2,1,1,0,1,0,-266,418,-1,-1,35,5
255.076095,-1366.652709,53.109401,83.300003,1324.699951,1083.800048,1,0,0,0,0,0,[G.4.L]Chris_J,4 Raum Luxus,100000,1,0,9,1,1,0,150,0,30713,418,-1,-1,35,5
228.343307,-1405.099731,51.609401,2468.216064,-1698.125244,1013.507812,0,0,0,0,0,0,[G.4.L]Manu,3 Raum Apartment,200000,0,0,2,1,1,0,5,0,3385,542,-1,-1,32,5
143.211105,-1469.668945,25.203599,295.399993,1473.199951,1080.199951,0,0,0,0,0,0,Zu Verkaufen,4 Raum Luxus,200000,0,0,15,1,0,0,1,0,81,542,-1,-1,114,5
189.651901,-1308.123168,70.249702,2324.399902,-1147.500000,1050.699951,1,0,0,0,0,0,[FRR]JaN,5 Raum Luxus,200000,1,0,12,0,1,0,250,200,10588,542,-1,-1,282,6
253.222793,-1269.800903,74.361602,225.600006,1023.500000,1084.000000,0,0,0,0,0,0,SweetChaja,5 Raum Luxus,1,1,0,7,1,1,0,100,0,5098,418,-1,-1,34,1
351.796997,-1197.365234,76.515602,27.100000,1341.099975,1084.300048,0,0,0,0,0,0,Zu Verkaufen,3 Raum Apartment,200000,0,0,10,1,0,0,100,1,10000,542,-1,-1,114,5
416.314300,-1154.621582,76.687599,27.100000,1341.099975,1084.300048,0,0,0,0,0,0,Zu Verkaufen,3 Raum Apartment,200000,0,0,10,1,0,0,50,1,86370,542,-1,-1,114,5
1331.929199,-632.797729,109.134902,260.600006,1238.800048,1084.257812,0,0,0,0,0,0,Markus.,5 Raum Luxus,1,1,0,9,0,1,0,25,25,-92,418,-1,-1,35,5
1095.036743,-647.118774,113.648399,260.600006,1238.800048,1084.257812,0,0,0,0,0,0,xJeakEx,3 Raum Apartment,100000,0,0,9,1,1,0,9999,0,9999,418,-1,-1,35,5
898.343627,-677.525512,116.890403,-285.899993,1470.800048,1084.300048,0,0,0,0,0,0,The State,3 Raum Apartment,200000,0,0,15,1,0,0,200,0,500,418,-1,-1,282,5
946.091125,-710.105224,122.619903,222.800003,1288.699951,1082.099975,0,0,0,0,0,0,Zu Verkaufen,3 Raum Apartment,200000,0,0,1,1,0,0,250,1,2000,542,-1,-1,114,5
867.772094,-716.696289,105.679702,260.600006,1238.800048,1084.199951,0,0,0,0,0,0,Zu Verkaufen,3 Raum Apartment,200000,0,0,9,1,0,0,50000,1,0,542,-1,-1,114,5
808.702880,-759.021728,76.531402,27.100000,1341.099975,1084.300048,0,0,0,0,0,0,Zu Verkaufen,3 Raum Apartment,200000,0,0,10,1,0,0,100,1000,0,542,-1,-1,114,5
785.815185,-827.886718,70.289596,244.500000,305.000000,999.099975,0,0,0,0,0,0,Zu Verkaufen,2 Raum Apartment,200000,0,0,1,1,0,0,175,25,0,542,-1,-1,114,5
653.318725,-1713.983642,14.764800,83.300003,1324.699951,1083.800048,0,0,0,0,0,0,[SOG]Daniel_Bond,4 Raum Luxus,200000,0,0,9,1,1,0,1,1,1649,542,-1,-1,208,5
769.121520,-1745.967407,13.077300,295.399993,1473.199951,1080.199951,0,0,0,0,0,0,Zu Verkaufen,4 Raum Luxus,200000,0,0,15,1,0,0,100,0,3700,542,-1,-1,114,5
767.696411,-1655.742309,5.609395,83.300003,1324.699951,1083.800048,0,0,0,0,0,0,Zu Verkaufen,4 Raum Luxus,200000,0,0,9,1,0,0,1,1,-254,542,-1,-1,114,1
900.857971,-1471.006347,14.223400,295.399993,1473.199951,1080.199951,0,0,0,0,0,0,Giannix,4 Raum Luxus,200000,1,0,15,0,1,0,1,0,165,542,-1,-1,282,3
900.934875,-1447.329223,14.201889,83.300003,1324.699951,1083.800048,0,0,0,0,0,0,The State,4 Raum Luxus,200000,0,0,9,1,0,0,1,0,16192,418,-1,-1,31,5
875.448486,-1512.975585,14.160490,295.399993,1473.199951,1080.199951,0,0,0,0,0,0,The State,4 Raum Luxus,1,0,0,15,1,0,0,25,0,1974,418,-1,-1,30,5
822.459289,-1504.833862,14.259400,83.300003,1324.699951,1083.800048,0,0,0,0,0,0,Zu Verkaufen,4 Raum Luxus,200000,0,0,9,1,0,0,1,1,151,542,-1,-1,114,5
852.299804,-1422.255615,13.782896,231.399993,1114.099975,1080.900024,0,0,0,0,0,0,The State,4 Raum Luxus,200000,0,0,5,1,0,0,900,0,224,418,-1,-1,34,5
1761.148681,-2124.421875,14.056591,27.100000,1341.099975,1084.300048,0,0,0,0,0,0,Zu Verkaufen,3 Raum Apartment,200000,0,0,10,1,0,0,100,1,0,542,-1,-1,114,4
1667.637451,-2107.559814,14.072299,-285.899993,1470.800048,1084.300048,0,0,0,0,0,0,Zu Verkaufen,3 Raum Apartment,200000,0,0,15,1,0,0,325,1,40325,542,-1,-1,114,5
2385.426269,-1712.206787,14.242197,260.600006,1238.800048,1084.199951,0,0,0,0,0,0,Zu Verkaufen,3 Raum Apartment,200000,0,0,9,1,0,0,100,1,0,542,-1,-1,114,5
2244.382324,-1637.959716,15.907400,-285.899993,1470.800048,1084.300048,0,0,0,0,0,0,Zu Verkaufen,3 Raum Apartment,200000,0,0,15,1,0,0,1000,0,0,542,-1,-1,114,5
2389.394042,-1346.174438,25.076999,260.600006,1238.800048,1084.199951,0,0,0,0,0,0,Zu Verkaufen,3 Raum Apartment,200000,0,0,9,1,0,0,30,1,240,542,-1,-1,114,5
2393.154541,-1646.338012,13.905097,-285.899993,1470.800048,1084.300048,0,0,0,0,0,0,Zu Verkaufen,3 Raum Apartment,200000,0,0,15,1,0,0,1,0,280,542,-1,-1,114,5
2514.657470,-1241.259399,39.022300,27.100000,1341.099975,1084.300048,0,0,0,0,0,0,Zu Verkaufen,3 Raum Apartment,200000,0,0,10,1,0,0,1000,0,0,542,-1,-1,114,5
2250.125488,-1280.870117,25.476600,222.800003,1288.699951,1082.099975,0,0,0,0,0,0,Zu Verkaufen,3 Raum Apartment,200000,0,0,1,1,0,0,1,1,4,542,-1,-1,114,3
2191.633789,-1276.290405,25.156299,222.800003,1288.699951,1082.099975,0,0,0,0,0,0,Zu Verkaufen,3 Raum Apartment,200000,0,0,1,1,0,0,100,1,6100,542,-1,-1,114,5
-88.024696,-1211.928833,2.890599,446.100006,507.899993,1001.400024,0,0,0,0,0,0,Zu Verkaufen,2 Raum Apartment,50000,0,0,12,1,0,1,200,200,0,542,-1,-1,114,5
2023.719848,-1053.050170,25.596099,446.100006,507.899993,1001.400024,0,0,0,0,0,0,Zu Verkaufen,2 Raum Apartment,200000,0,0,12,1,0,1,200,200,0,542,-1,-1,114,5
2036.523437,-1059.533691,25.650800,446.100006,507.899993,1001.400024,0,0,0,0,0,0,Zu Verkaufen,2 Raum Apartment,200000,0,0,12,1,0,1,200,200,0,542,-1,-1,114,5
2051.547363,-1066.068115,25.783599,446.100006,507.899993,1001.400024,0,0,0,0,0,0,Zu Verkaufen,2 Raum Apartment,200000,0,0,12,1,0,1,200,200,0,542,-1,-1,114,5
-2590.924804,818.847229,49.984401,446.100006,507.899993,1001.400024,0,0,0,0,0,0,Zu Verkaufen,2 Raum Apartment,200000,0,0,12,1,0,1,200,200,0,542,-1,-1,114,5
-2621.004638,790.634826,48.476299,446.100006,507.899993,1001.400024,0,0,0,0,0,0,Zu Verkaufen,2 Raum Apartment,200000,0,0,12,1,0,1,200,200,0,542,-1,-1,114,5
-1061.859863,1562.458740,33.231300,222.800003,1288.699951,1082.099975,0,0,0,0,0,0,Zu Verkaufen,3 Raum Apartment,200000,0,0,1,1,0,0,100,1,6100,542,-1,-1,114,5
1022.654907,-1417.237670,13.423500,222.800003,1288.699951,1082.099975,0,0,0,0,0,0,Zu Verkaufen,3 Raum Apartment,200000,0,0,1,1,0,0,1,1,6100,542,-1,-1,114,5
-2794.291992,21.322399,7.187500,222.800003,1288.699951,1082.099975,0,0,0,0,0,0,Zu Verkaufen,3 Raum Apartment,200000,0,0,1,1,0,0,100,1,6100,542,-1,-1,114,5
-2839.254394,866.677124,44.054698,83.300003,1324.699951,1083.800048,0,0,0,0,0,0,Zu Verkaufen,4 Raum Luxus,200000,0,0,9,1,0,0,50,1,150,542,-1,-1,114,5
-2880.713378,779.769226,35.289501,83.300003,1324.699951,1083.800048,0,0,0,0,0,0,Zu Verkaufen,4 Raum Luxus,200000,0,0,9,1,0,0,50,1,150,542,-1,-1,114,5
-1691.233276,1367.267456,7.179697,295.399993,1473.199951,1080.199951,0,0,0,0,0,0,Zu Verkaufen,5 Raum Apartment,200000,0,0,15,1,0,0,100,1,11900,542,-1,-1,114,5
-1669.411132,1393.131347,7.179697,295.399993,1473.199951,1080.199951,0,0,0,0,0,0,Zu Verkaufen,5 Raum Apartment,200000,0,0,15,1,0,0,100,1,11900,542,-1,-1,114,5
-1635.889770,1392.923339,7.179697,295.399993,1473.199951,1080.199951,0,0,0,0,0,0,Zu Verkaufen,5 Raum Apartment,200000,0,0,15,1,0,0,100,1,11900,542,-1,-1,114,5
1956.679321,738.076477,10.820300,295.399993,1473.199951,1080.199951,0,0,0,0,0,0,Zu Verkaufen,5 Raum Apartment,200000,0,0,15,1,0,0,100,1,11900,542,-1,-1,114,5
1915.768066,742.145996,10.819800,295.399993,1473.199951,1080.199951,0,0,0,0,0,0,Zu Verkaufen,5 Raum Apartment,200000,0,0,15,1,0,0,100,1,12400,542,-1,-1,114,5
2042.547485,732.278686,11.460900,295.399993,1473.199951,1080.199951,0,0,0,0,0,0,Zu Verkaufen,5 Raum Apartment,200000,0,0,15,1,0,0,100,1,12200,542,-1,-1,114,5
2065.166503,730.160888,11.468297,295.399993,1473.199951,1080.199951,0,0,0,0,0,0,Zu Verkaufen,5 Raum Apartment,200000,0,0,15,1,0,0,100,1,11900,542,-1,-1,114,5
2469.367187,-1647.052124,13.518198,295.399993,1473.199951,1080.199951,0,0,0,0,0,0,Zu Verkaufen,5 Raum Apartment,200000,0,0,15,1,0,0,100,1,11900,542,-1,-1,114,5
-2239.549560,1154.224121,59.584899,295.399993,1473.199951,1080.199951,0,0,0,0,0,0,Zu Verkaufen,5 Raum Apartment,200000,0,0,15,1,0,0,100,1,11900,542,-1,-1,114,5
-2476.000732,1310.993774,15.703900,2324.399902,-1147.500000,1050.699951,0,0,0,0,0,0,Zu Verkaufen,5 Raum Luxus,200000,0,0,12,1,0,0,250,1,79250,542,-1,-1,114,5
-2434.297363,1338.247924,8.511300,2324.399902,-1147.500000,1050.699951,0,0,0,0,0,0,Zu Verkaufen,5 Raum Luxus,200000,0,0,12,1,0,0,250,1,79250,542,-1,-1,114,5
-2435.023193,1274.050903,25.704900,2324.399902,-1147.500000,1050.699951,0,0,0,0,0,0,Zu Verkaufen,5 Raum Luxus,200000,0,0,12,1,0,0,250,1,79250,542,-1,-1,114,5
-2476.851806,1244.342773,33.609401,2324.399902,-1147.500000,1050.699951,0,0,0,0,0,0,Zu Verkaufen,5 Raum Luxus,200000,0,0,12,1,0,0,250,1,79250,542,-1,-1,114,5
-2574.347656,1151.420776,55.726600,2324.399902,-1147.500000,1050.699951,0,0,0,0,0,0,Zu Verkaufen,5 Raum Luxus,200000,0,0,12,1,0,0,250,1,80000,542,-1,-1,114,5
-2493.511230,1141.173095,55.726600,2324.399902,-1147.500000,1050.699951,0,0,0,0,0,0,Zu Verkaufen,5 Raum Luxus,200000,0,0,12,1,0,0,250,1,79250,542,-1,-1,114,5
-2451.083984,1140.728271,55.733299,2324.399902,-1147.500000,1050.699951,0,0,0,0,0,0,Zu Verkaufen,5 Raum Luxus,200000,0,0,12,1,0,0,250,1,83250,542,-1,-1,114,5
-795.502990,1557.044189,27.124399,2324.399902,-1147.500000,1050.699951,0,0,0,0,0,0,Zu Verkaufen,5 Raum Luxus,200000,0,0,12,1,0,0,250,1,79250,542,-1,-1,114,5
1409.961303,-921.167480,38.421901,0.000000,2324.399902,-1147.500000,0,0,0,0,0,0,Zu Verkaufen,7 Raum Luxus,200000,0,0,1,1,0,0,0,250,1,418,-1,-1,206,3
1327.350830,-1091.872558,27.976600,231.399993,1114.099975,1080.900024,0,0,0,0,0,0,The State,7 Raum Luxus,200000,0,0,5,1,0,0,1,0,4029,418,-1,-1,34,5
1242.920410,-878.036987,46.640598,231.399993,1114.099975,1080.900024,0,0,0,0,0,0,Zu Verkaufen,7 Raum Luxus,200000,0,0,5,1,0,0,1,1,4029,542,-1,-1,114,5
1247.060058,-909.020385,46.601600,231.399993,1114.099975,1080.900024,0,0,0,0,0,0,Zu Verkaufen,7 Raum Luxus,200000,0,0,5,1,0,0,1,1,4029,542,-1,-1,114,5
1252.338256,-902.091369,46.593898,231.399993,1114.099975,1080.900024,0,0,0,0,0,0,Zu Verkaufen,7 Raum Luxus,200000,0,0,5,1,0,0,1,1,4029,542,-1,-1,114,5
-2420.677978,2406.498779,13.027500,231.399993,1114.099975,1080.900024,0,0,0,0,0,0,Zu Verkaufen,7 Raum Luxus,200000,0,0,5,1,0,0,1,1,4029,542,-1,-1,114,5
-2349.116455,2422.472900,7.335000,231.399993,1114.099975,1080.900024,0,0,0,0,0,0,Zu Verkaufen,7 Raum Luxus,200000,0,0,5,1,0,0,1,1,4029,542,-1,-1,114,5
-2437.360595,2354.259521,5.198997,231.399993,1114.099975,1080.900024,0,0,0,0,0,0,Zu Verkaufen,7 Raum Luxus,200000,0,0,5,1,0,0,1,1,4029,542,-1,-1,114,5
-2626.831542,2291.910156,8.308400,231.399993,1114.099975,1080.900024,0,0,0,0,0,0,Zu Verkaufen,7 Raum Luxus,200000,0,0,5,1,0,0,1,1,4029,542,-1,-1,114,5
-2625.956054,2318.726806,8.301300,231.399993,1114.099975,1080.900024,0,0,0,0,0,0,Zu Verkaufen,7 Raum Luxus,200000,0,0,5,1,0,0,1,1,4029,542,-1,-1,114,5
-2630.074951,2427.654785,14.227890,231.399993,1114.099975,1080.900024,0,0,0,0,0,0,Zu Verkaufen,7 Raum Luxus,200000,0,0,5,1,0,0,1,1,4029,542,-1,-1,114,5
-2634.755615,2402.563232,11.244500,231.399993,1114.099975,1080.900024,0,0,0,0,0,0,Zu Verkaufen,7 Raum Luxus,200000,0,0,5,1,0,0,1,1,4029,542,-1,-1,114,5
-2472.489990,2450.702392,17.322998,231.399993,1114.099975,1080.900024,0,0,0,0,0,0,Zu Verkaufen,7 Raum Luxus,200000,0,0,5,1,0,0,1,1,4029,542,-1,-1,114,5
-2479.945556,2449.522216,17.322998,231.399993,1114.099975,1080.900024,0,0,0,0,0,0,Zu Verkaufen,7 Raum Luxus,200000,0,0,5,1,0,0,1,1,4033,542,-1,-1,114,5
2060.848632,-1075.637329,25.336999,231.399993,1114.099975,1080.900024,0,0,0,0,0,0,Zu Verkaufen,7 Raum Luxus,200000,0,0,5,1,0,0,1,1,4029,542,-1,-1,114,5
2094.822998,-1145.144042,26.592899,231.399993,1114.099975,1080.900024,0,0,0,0,0,0,Zu Verkaufen,7 Raum Luxus,200000,0,0,5,1,0,0,1,1,4029,542,-1,-1,114,5
2091.374267,-1185.174926,27.057100,231.399993,1114.099975,1080.900024,0,0,0,0,0,0,Zu Verkaufen,7 Raum Luxus,200000,0,0,5,1,0,0,100,1,8941,542,-1,-1,114,5
1284.662353,-1065.953247,31.678899,231.399993,1114.099975,1080.900024,0,0,0,0,0,0,DreamZz,7 Raum Luxus,200000,1,0,5,1,1,0,1,0,4029,542,-1,-1,282,5
953.994628,-909.952880,45.765598,231.399993,1114.099975,1080.900024,0,0,0,0,0,0,[G.4.L]Oliver,7 Raum Luxus,200000,1,0,5,1,1,0,250,0,0,418,-1,-1,34,5
398.263885,-1271.325317,50.019798,231.399993,1114.099975,1080.900024,0,0,0,0,0,0,Zu Verkaufen,7 Raum Luxus,200000,0,0,5,1,0,0,1,1,4029,542,-1,-1,114,5
432.289001,-1253.865966,51.580898,231.399993,1114.099975,1080.900024,0,0,0,0,0,0,Zu Verkaufen,7 Raum Luxus,200000,0,0,5,1,0,0,1,1,4029,542,-1,-1,114,5
1378.838500,-1753.174438,14.140600,2324.399902,-1147.500000,1050.699951,0,0,0,0,0,0,The State,8 Raum Luxus,200000,0,0,12,1,0,0,50,1,356,418,-1,-1,281,8
315.927490,-1770.721923,4.672399,2324.399902,-1147.500000,1050.699951,0,0,0,0,0,0,David,8 Raum Luxus,1,0,0,12,1,1,0,100,0,3815,542,-1,-1,35,5
280.865112,-1768.228149,4.528995,2324.399902,-1147.500000,1050.699951,0,0,0,0,0,0,Zu Verkaufen,8 Raum Luxus,200000,0,0,12,1,0,0,1,0,0,542,-1,-1,114,8 -
-
Der Script!
Also ein Teil davon
if(listitem == 2) //Hand { if(DOENER [playerid] == 0) { if(GetPlayerMoney(playerid) >= 75) { GivePlayerMoney(playerid,-2); SendClientMessage(playerid,0xFFFA00FF,"Du hast dir einen Döner auf die Hand gekauft!"); SendClientMessage(playerid,0xFFFA00FF,"Du kannst ihn per /eatdoener essen!"); DOENER [playerid] = 1; } else { SendClientMessage(playerid,0xFF0037FF,"Dönerverkäufer: Du hast nicht genug Geld für einen Döner!"); } } else { SendClientMessage(playerid,0xFF0037FF,"Sie haben bereits einen Döner auf der Hand!"); } } } return 1;}
Die Errors#
Zeile (160) : Falsch eingerückt
0 Errors, 1 Warnungen
Kompilierung erfolgreich -
Aber ich muss ja OnPlayerLogin oder OnPlayerSpawn
DIALOG_STYLE_MSGBOX usw.... aber ich weiß ned wie das geht -
Hilfe ich brauche Hilfe bei der MSG_BOX
Ich hab
#define DIALOG_MESSAGE_OFTHEDAY 9999Aber wo muss ich das reinschreiben ?OnPlayerSpawn oder Login
Wenn wo ?Aber wie ? -
if(strcmp(cmd, "/tv", true) == 0 || strcmp(cmd, "/recon", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] > 0 || PlayerInfo[playerid][pSupporter] > 0)
{
if(WatchingTV[playerid] < 1)
{
GetPlayerPos(playerid, Unspec[playerid][Coords][0],Unspec[playerid][Coords][1],Unspec[playerid][Coords][2]);
}
}
if(Spectate[playerid] == 255 && PlayerInfo[playerid][pLocal] != 255 || Spectate[playerid] == 255 && PlayerInfo[playerid][pAdmin] > 0)
{
GetPlayerPos(playerid, Unspec[playerid][sPx], Unspec[playerid][sPy], Unspec[playerid][sPz]);
Unspec[playerid][sPint] = PlayerInfo[playerid][pInt];
Unspec[playerid][sLocal] = PlayerInfo[playerid][pLocal];
PlayerInfo[playerid][pLocal] = 255;
gTeam[playerid] = 0;
}
tmp = strtok(cmdtext, idx);
if(strcmp("off", tmp, true, strlen(tmp)) == 0)
{
if(WatchingTV[playerid] > 0)
{
WatchingTV[playerid] = 0;
Spectate[playerid] = 253;
GameTextForPlayer(playerid, "~w~ TV~n~~r~ Aus", 5000, 6);
PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Mit dem Befehl schaltest du den Fernseher aus [Einschalten mit /tv [ID]!");
return 1;
}
}
if(PlayerInfo[playerid][pAdmin] > 0 || PlayerInfo[playerid][pSupporter] > 0)
{
giveplayerid = ReturnUser(tmp);
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
Spectate[playerid] = giveplayerid;
new Float:health;
GetPlayerHealth(Spectate[playerid], health);
GetPlayerName(Spectate[playerid], giveplayer, sizeof(giveplayer));
new cash = GetPlayerMoney(Spectate[playerid]);
if (PlayerInfo[playerid][pAdmin] >= 1)
{
format(string, sizeof(string), "Recon: (%d) %s $%d H:%.0f",Spectate[playerid],giveplayer,cash,health);
}
else
{
format(string, sizeof(string), "UAV: (%d) %s",Spectate[playerid],giveplayer);
}
SendClientMessage(playerid, COLOR_GREEN, string);
WatchingTV[playerid] = 1;
}
}
else
{
SendClientMessage(playerid, COLOR_GREEN, "Ziel ist nicht verfügbar.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREEN, "Du bist nicht befugt!");
return 1;
}
}
return 1;
} -
Hi,
Brauche Hilfe beim SoL Script!
Und Zwar beim Command /tv
Wenn man /tv macht dan sieht man den Spieler aber wenn man /tv'en Aufhört Spawnt man beim ZiviSpawn oder LSPD Spawn kommt darauf an welche frak man ist
Bitte Helpif(strcmp(cmd, "/tv", true) == 0 strcmp(cmd, "/recon", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] > 0 PlayerInfo[playerid][pSupporter] > 0)
{
if(WatchingTV[playerid] < 1)
{
GetPlayerPos(playerid, Unspec[playerid][Coords][0],Unspec[playerid][Coords][1],Unspec[playerid][Coords][2]);
}
}
if(Spectate[playerid] == 255 && PlayerInfo[playerid][pLocal] != 255 Spectate[playerid] == 255 && PlayerInfo[playerid][pAdmin] > 0)
{
GetPlayerPos(playerid, Unspec[playerid][sPx], Unspec[playerid][sPy], Unspec[playerid][sPz]);
Unspec[playerid][sPint] = PlayerInfo[playerid][pInt];
Unspec[playerid][sLocal] = PlayerInfo[playerid][pLocal];
PlayerInfo[playerid][pLocal] = 255;
gTeam[playerid] = 0;
}
tmp = strtok(cmdtext, idx);
if(strcmp("off", tmp, true, strlen(tmp)) == 0)
{
if(WatchingTV[playerid] > 0)
{
WatchingTV[playerid] = 0;
Spectate[playerid] = 253;
GameTextForPlayer(playerid, "~w~ TV~n~~r~ Aus", 5000, 6);
PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Mit dem Befehl schaltest du den Fernseher aus [Einschalten mit /tv [ID]!");
return 1;
}
}
if(PlayerInfo[playerid][pAdmin] > 0 PlayerInfo[playerid][pSupporter] > 0)
{
giveplayerid = ReturnUser(tmp);
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
Spectate[playerid] = giveplayerid;
new Float:health;
GetPlayerHealth(Spectate[playerid], health);
GetPlayerName(Spectate[playerid], giveplayer, sizeof(giveplayer));
new cash = GetPlayerMoney(Spectate[playerid]);
if (PlayerInfo[playerid][pAdmin] >= 1)
{
format(string, sizeof(string), "Recon: (%d) %s $%d H:%.0f",Spectate[playerid],giveplayer,cash,health);
}
else
{
format(string, sizeof(string), "UAV: (%d) %s",Spectate[playerid],giveplayer);
}
SendClientMessage(playerid, COLOR_GREEN, string);
WatchingTV[playerid] = 1;
}
}
else
{
SendClientMessage(playerid, COLOR_GREEN, "Ziel ist nicht verfügbar.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREEN, "Du bist nicht befugt!");
return 1;
}
}
return 1;
} -
@ Talik Richtig
-
Hi,
Ich brauche Hilfe beim Wanted System
ich möchte das man /su macht nicht TaP und dan auf den namen
Please HELP -
Sry mehr weiß ich ned
Function OnPlayerSpawn(playerid)
{
M_OnPlayerSpawn(playerid);
TextDrawShowForPlayer(playerid,Copyright);
TextDrawShowForPlayer(playerid,Datum);
if(PlayerInfo[playerid][pTot] == 1 && PlayerInfo[playerid][pLevel] > 2)
{
SendClientMessage(playerid, COLOR_LIGHTRED, " ");
SendClientMessage(playerid, COLOR_LIGHTRED, " ");
SendClientMessage(playerid, COLOR_LIGHTRED, " ");
SendClientMessage(playerid, COLOR_LIGHTRED, " ");
SendClientMessage(playerid, COLOR_LIGHTRED, " ");
SendClientMessage(playerid, COLOR_LIGHTRED, " ");
SendClientMessage(playerid, COLOR_LIGHTRED, " ");
SendClientMessage(playerid, COLOR_LIGHTRED, " ");
SendClientMessage(playerid, COLOR_LIGHTRED, " ");
SendClientMessage(playerid, COLOR_YELLOW, "|________ Krankenhaus Behandlung ________|");
SendClientMessage(playerid, COLOR_LIGHTRED, "Du bist im Krankenhaus und wirst behandelt.");
SendClientMessage(playerid, COLOR_LIGHTRED, "Die Behandlung wird maximal 2 Minuten dauern.");
SetPlayerSpawn(playerid);
if(IsPlayerInFrac(playerid, 1))
{
SetPlayerColor(playerid,NAMECOLOR_LSCOP);
}
else if(IsPlayerInFrac(playerid, 4))
{
SetPlayerColor(playerid, NAMECOLOR_MEDIC);
}
else
{
SetPlayerColor(playerid,TEAM_HIT_COLOR);
}
ResetPlayerWeapons(playerid);
return 1;
}
STDPlayer[playerid] = 0;
gTeam[playerid] = PlayerInfo[playerid][pTeam]; //Set the Team
if (gTeam[playerid] == 4) //medic / criminal reset team
{
gTeam[playerid] = 3;
}
if(gPlayerLogged[playerid] == 0)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "** Du musst dich voher einloggen oder dir einen Account erstellen! ***");
Kick(playerid);
return 1;
/*
if(gPlayerAccount[playerid] == 1)
{
ForceClassSelection(playerid);
TogglePlayerSpectating(playerid, 0);
}
else if(gPlayerAccount[playerid] == 0)
{
ForceClassSelection(playerid);
TogglePlayerSpectating(playerid, 0);
}
return 1;
*/ -
Hi, Brauche hilfe und zwar ich möchte das man nach dem KH
Zu seinem Spawn kommt /Haus oder Fraktion Spawn
Danke im Voraus -
Ich brächte hilfe beim ändern des laufstils
Danke im Voraus ! -
2.) Und was genau hast du nun für ein Problem?
Das Der Pawn Compiler abstürtzt aber wenn ich aufzug raus mache dann gehts zum compilen
-
Hi
ich brauche dringend hilfe beim Aufzug >Command<
Wenn ein Guter Scripter das Thema durchlist
Dann kann er mir ja bitte helfen danke im voraus.
(INFO: ich suche einen festen scripter für unseren Server)
Userzahl jeden tag so um die 9 UserAlso Das Script
if (strcmp("/aufzug",cmdtext,true) == 0)
{
if(IsACop(playerid))
{
if(IsPlayerInRangeOfPoint(playerid,3.0,246.4199,88.0086,1003.6406))
{
SetPlayerPos(playerid,2262.4421,2458.3706,38.6837);
SetPlayerInterior(playerid,0);
return 1;
}
else if(IsPlayerInRangeOfPoint(playerid,4.0,2247.8225,2482.3672,38.6837))
{
SetPlayerPos(playerid,246.4199,88.0086,1003.6406);
SetPlayerInterior(playerid,6);
return 1;
}
}
else if(IsPlayerInRangeOfPoint(playerid,3.0,221.5378,74.1897,1005.0391))
{
SetPlayerPos(playerid,2268.0806,2448.0520,3.5313);
SetPlayerFacingAngle(playerid,179.5966);
SetPlayerInterior(playerid,0);
return 1;
}
}
else if(IsPlayerInRangeOfPoint(playerid,3.0,2268.1135,2449.2478,3.5313))
{
SetPlayerPos(playerid,219.8107,76.9222,1005.0391);
SetPlayerFacingAngle(playerid,42.9369);
SetPlayerInterior(playerid,6);
return 1;
}
}
if(IsPlayerInFrac(playerid, 9))
{
if(IsPlayerInRangeOfPoint(playerid,3.0, 1654.1954,-1654.9637,22.5156) IsPlayerInRangeOfPoint(playerid, 3.0, 1658.7493,-1691.7506,15.6094) IsPlayerInRangeOfPoint(playerid, 3.0, 1649.4564,-1641.6837,83.7813))
{
ShowPlayerDialog(playerid, NEWS, DIALOG_STYLE_LIST, "News Reporter Fahrstuhl", "Dach / Helilandeplatz\nParkgarage\nNewsstand", "Auswählen", "Beenden");
return 1;
}
} -
Ich will das nur für die Admins steht [Info].........Hat den Server betreten.
Derzeitiger CodeTdHeadline = TextDrawCreate(473.000000, 363.000000, "Verbindungsinfo...");
TextDrawBackgroundColor(TdHeadline, 255);
TextDrawFont(TdHeadline, 2);
TextDrawLetterSize(TdHeadline, 0.289999, 1.399999);
TextDrawColor(TdHeadline, -65281);
TextDrawSetOutline(TdHeadline, 0);
TextDrawSetProportional(TdHeadline, 1);
TextDrawSetShadow(TdHeadline, 1);
TextDrawUseBox(TdHeadline, 1);
TextDrawBoxColor(TdHeadline, 150);
TextDrawTextSize(TdHeadline, 639.000000, 0.000000); -
Schau dir mal die Zeilen an:
if(IsPlayerInRangeOfPoint(playerid,3.0,246.4199,88.0086,1003.6406)
else if(IsPlayerInRangeOfPoint(playerid,4.0,2247.8225,2482.3672,38.6837)
Bei beiden öffnest du 2x eine Runde Klammer, schließt aber immer nur eine. Schau bei BiGGian im Code hat er diese einfach noch hinzugefügt
Hab schon aber Trotzdem Danke