//========= News TOR ==========//
if (strcmp(cmdtext, "/ntor", true) == 0)
{
if(PlayerInfo[playerid][pLeader] == 9 || PlayerInfo [playerid] [pMember] == 9)
{
if(IsPlayerInRangeOfPoint(playerid, 5.0, 1643.12670898,-1714.77258301,15.86996269))
{
if(nstatus1 == false)
{
SendClientMessage(playerid, COLOR_GREEN, "Tor geöffnet.");
MoveObject(News1, 1643.12670898,-1714.77258301,5.86996269, 3.5);
nstatus1 = true;
}
else if(nstatus1 == true)
{
SendClientMessage(playerid, COLOR_GREEN, "Tor geschlossen.");
MoveObject(News1, 1643.12670898,-1714.77258301,15.86996269, 3.5);
nstatus1 = false;
}
}
else if (IsPlayerInRangeOfPoint(playerid, 5.0, 1643.59997559,-1696.34716797,15.82934380))
{
if(nstatus2 == false)
{
SendClientMessage(playerid, COLOR_GREEN, "Tor geöffnet.");
MoveObject(News2, 1643.59997559,-1696.34716797,5.82934380, 3.5);
nstatus2 = true;
}
else if(nstatus2 == true)
{
SendClientMessage(playerid, COLOR_RED, "Tor geschlossen.");
MoveObject(News2, 1643.59997559,-1696.34716797,15.82934380, 3.5);
nstatus2 = false;
}
}
else
{
SendClientMessage(playerid, COLOR_RED, "Du bist nicht an einer der Tore!");
}
}
else
{
SendClientMessage(playerid, COLOR_RED, "Du bist kein Nachrichtenreporter!");
}
return 1;
}
Beiträge von Fl3xX
-
-
Alles kla tut mir leid
Screen vom Tor das dann aufgemacht und dann zu gemacht wurde:
http://imageshack.us/photo/my-images/100/samp094g.png/
//News
News1 = CreateObject(971,1643.12670898,-1714.77258301,15.86996269,0.00000000,359.50000000,266.80380249); //object(subwaygate) (1)
News2 = CreateObject(971,1643.59997559,-1696.34716797,15.82934380,0.00000000,0.00000000,270.11499023); //object(subwaygate) (2) -
Hallo leute
auf meinem Server den ich bei SAMP4You miete drehen sich komischer weise beim aufmachen die tore.
Und beim zumachen bleiben sie gedreht!
Im Script an den Koordinaten ist kein fehler.
Bitte helft mir -
//FBI Tor Hauptzentrale
if(strcmp(cmd,"/fbitor",true) == 0)
{
if(IsACop(playerid))
{
if(fbitorvar == 0)
{
MoveObject(fbitor, 980, 1245.6999511719, -778.70001220703, 87.300003051758, 0, 0, 0); //tor offen
SendClientMessage(playerid, COLOR_GREEN, "Tor geöffnet");
PlaySoundForPlayer(playerid,1035);
SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
fbitorvar = 1;
}
else
{
MoveObject(fbitor, 980, 1245.5999755859, -778.59997558594, 92.699996948242, 0, 0, 0); // tor zu
SendClientMessage(playerid, COLOR_RED, "Tor geschlossen");
PlaySoundForPlayer(playerid,1035);
SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
fbitorvar = 0;
}
}
else SendClientMessage(playerid,COLOR_RED," Du bist kein Beamter");
return 1;
}Jetzt hab ich es geändert geht aber immernoch nicht ..
-
Joa ist mir jetzt auch aufgefallen.. Danke euch falls es nicht geht melde ich mich nochmal
-
ehm ne, aber ich muss das oder?
-
hab ich schon
-
was muss ich da dann ändern?
-
Hi leute,
ich will mein FBI Tor schließen lassen und auch öffnen lassen..
Es funktioniert aber leider nicht..
//FBI Tor Hauptzentraleif(strcmp(cmd,"/fbitor",true) == 0)
{
if(IsACop(playerid))
{
if(fbitorvar == 0)
{
MoveObject(fbitor, 980, 1245.5999755859, -778.59997558594, 92.699996948242, 0, 0, 0);
SendClientMessage(playerid, COLOR_GREEN, "Tor geöffnet");
PlaySoundForPlayer(playerid,1035);
SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
fbitorvar = 1;
}
else
{
MoveObject(fbitor, 980, 1245.5999755859, -778.59997558594, 92.699996948242, 0, 0, 0);
SendClientMessage(playerid, COLOR_RED, "Tor geschlossen");
PlaySoundForPlayer(playerid,1035);
SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
fbitorvar = 0;
}
}
else SendClientMessage(playerid,COLOR_RED," Du bist kein Beamter");
return 1;
}CreateObject(980, 1245.5999755859, -778.59997558594, 92.699996948242, 0, 0, 0);
das ist das tor
Bitte helft mir..
-
Also ich hab das geändert, aber dennoch geht es nicht..
-
Hmm das hab ich mir auch so gedacht aber in meinem Gf gibt es das nicht und die ganzen Objekte sind dort drunter aufgelistet..
Bei suchen von Public OnGameInit findet er nicht.. -
Hi leute, wie oben schon steht brauche ich eure hilfe um meine map auf meinem Server zu spielen, aber bei mir klapt das noch nicht so gut.
Also ich zeig euch mal einen ausschnitt:
Function OnGameModeInit()
{
versteckup = CreatePickup(1247, 1, -1113.7653, -1621.5535, 76.3739, 0); // Versteck
AntiDeAMX2();
AllowFireCMD();
SetTimer("OnFireUpdate", 500, 1);
//SetTimer("autofire", 150000, 1);
SetTimer("Hostname", 5000, 1);
DestroyDynamicObject(35);
SetTimer("Autofire", 2400000, 1);
ResetElevatorQueue();
Elevator_Initialize();
SetWeather(2);
noooc = 0;
SetNameTagDrawDistance(55.0);
ManualVehicleEngineAndLights();
//SetTimer("BaumTimer",1140000,1);
//SetTimer("FallTimer",1000,1);
Und dann kommen viele andere Vorgegebene Objecte und dann will ich meins einfügen das dann so aussieht:
//Vinewood Haus 1CreateDynamicObject(829, 1111.826171875, -674.13629150391, 114.60299682617, 0, 0, 0);
CreateDynamicObject(617, 1113.4743652344, -675.60406494141, 113.22242736816, 0, 0, 0);
CreateDynamicObject(654, 1105.6876220703, -673.62579345703, 112.79576873779, 0, 0, 0);
CreateDynamicObject(654, 1092.2548828125, -685.80529785156, 112.6484375, 0, 0, 0);
CreateDynamicObject(654, 1105.1733398438, -683.07366943359, 112.76697540283, 0, 0, 0);
CreateDynamicObject(654, 1080.1322021484, -681.99993896484, 112.6484375, 0, 0, 0);
CreateDynamicObject(654, 1083.5412597656, -676.34802246094, 112.6484375, 0, 0, 0);
CreateDynamicObject(654, 1079.2391357422, -671.31994628906, 112.6484375, 0, 0, 0);
CreateDynamicObject(654, 1084.1717529297, -669.58374023438, 112.6484375, 0, 0, 0);
CreateDynamicObject(669, 1106.1407470703, -627.67742919922, 106.71917724609, 0, 0, 0);
CreateDynamicObject(669, 1080.8679199219, -625.02587890625, 112.26956939697, 0, 0, 0);
CreateDynamicObject(673, 1103.5698242188, -637.11187744141, 109.99169158936, 0, 0, 0);
CreateDynamicObject(673, 1104.3486328125, -633.21575927734, 108.75240325928, 0, 0, 0);
CreateDynamicObject(673, 1109.4173583984, -668.14288330078, 112.89487457275, 0, 0, 0);
CreateDynamicObject(673, 1105.4368896484, -666.66925048828, 112.78050231934, 0, 0, 0);
CreateDynamicObject(626, 1096.5257568359, -647.30786132813, 114.69703674316, 0, 0, 192);
CreateDynamicObject(626, 1093.1518554688, -647.24383544922, 114.69703674316, 0, 0, 191.9970703125);
CreateDynamicObject(638, 1101.5283203125, -649.62280273438, 113.34547424316, 0, 0, 270);
CreateDynamicObject(638, 1104.1352539063, -649.62640380859, 113.34547424316, 0, 0, 270);
CreateDynamicObject(638, 1106.6158447266, -649.62890625, 113.20081329346, 0, 0, 270);
CreateDynamicObject(638, 1109.1374511719, -649.65026855469, 113.04100036621, 0, 0, 270);
CreateDynamicObject(638, 1089.3874511719, -649.58111572266, 113.34547424316, 0, 0, 0);
CreateDynamicObject(646, 1090.3791503906, -646.98712158203, 114.06496429443, 0, 0, 0);
CreateDynamicObject(646, 1099.6090087891, -647.09136962891, 114.06496429443, 0, 0, 0);
CreateDynamicObject(647, 1105.3603515625, -634.87817382813, 111.15254211426, 0, 0, 0);
CreateDynamicObject(647, 1111.6326904297, -638.56146240234, 112.24231719971, 0, 0, 0);
CreateDynamicObject(807, 1086.0620117188, -686.25115966797, 112.8893737793, 0, 0, 0);
CreateDynamicObject(807, 1081.69140625, -674.74145507813, 112.8893737793, 0, 0, 0);
CreateDynamicObject(807, 1079.9050292969, -678.94970703125, 112.8893737793, 0, 0, 0);
CreateDynamicObject(807, 1077.2701416016, -663.82452392578, 112.8893737793, 0, 0, 0);
CreateDynamicObject(867, 1109.1784667969, -672.06396484375, 113.75492095947, 0, 0, 0);
CreateDynamicObject(867, 1107.8800048828, -680.42523193359, 113.68057250977, 0, 0, 78);
CreateDynamicObject(1334, 1077.130859375, -630.20611572266, 113.57376861572, 0, 0, 180);
CreateDynamicObject(1332, 1080.2624511719, -630.07012939453, 113.52362823486, 0, 0, 180);
CreateDynamicObject(1328, 1081.8464355469, -630.29858398438, 112.97607421875, 0, 0, 0);
CreateDynamicObject(1328, 1083.1654052734, -630.359375, 112.97607421875, 0, 0, 0);
CreateDynamicObject(1465, 1086.8575439453, -649.05456542969, 113.81301879883, 0, 0, 178);
CreateDynamicObject(1465, 1088.8983154297, -654.8779296875, 118.74586486816, 0, 0, 270);
CreateDynamicObject(8572, 1105.6662597656, -660.22674560547, 114.8736038208, 0, 0, 0);
CreateDynamicObject(1221, 1083.8189697266, -648.86273193359, 113.11022949219, 0, 0, 0);
CreateDynamicObject(1221, 1083.833984375, -648.85247802734, 114.02989959717, 0, 0, 0);
CreateDynamicObject(1221, 1082.2410888672, -648.96069335938, 113.10469818115, 0, 0, 0);
CreateDynamicObject(1221, 1081.2711181641, -648.97790527344, 113.09375762939, 0, 0, 0);
CreateDynamicObject(1221, 1081.7266845703, -649.01416015625, 114.01140594482, 0, 0, 0);
CreateDynamicObject(1299, 1082.4685058594, -654.92962646484, 118.03713989258, 0, 0, 0);
CreateDynamicObject(1265, 1091.6594238281, -647.19860839844, 113.11747741699, 0, 0, 0);
CreateDynamicObject(1343, 1084.1090087891, -630.30413818359, 113.21675109863, 0, 0, 0);
CreateDynamicObject(1438, 1085.8464355469, -654.99230957031, 117.58128356934, 0, 0, 0);
CreateDynamicObject(638, 1110.8670654297, -650.69256591797, 112.98652648926, 0, 0, 0);
CreateDynamicObject(638, 1110.8791503906, -653.40765380859, 113.13143920898, 0, 0, 0);
CreateDynamicObject(638, 1110.8718261719, -656.05010986328, 113.27369689941, 0, 0, 0);
CreateDynamicObject(638, 1110.869140625, -657.82476806641, 113.34547424316, 0, 0, 0);
CreateDynamicObject(646, 1093.4925537109, -661.12103271484, 114.06496429443, 0, 0, 274);
CreateDynamicObject(646, 1096.6163330078, -661.19384765625, 114.06496429443, 0, 0, 273.9990234375);
CreateDynamicObject(632, 1101.7133789063, -659.72998046875, 112.6484375, 0, 0, 0);
CreateDynamicObject(632, 1089.7340087891, -659.93200683594, 113.14054870605, 0, 0, 0);
CreateDynamicObject(3461, 1084.7774658203, -627.62316894531, 113.72207641602, 0, 0, 0);
CreateDynamicObject(3461, 1101.5849609375, -630.04357910156, 109.33207702637, 0, 0, 0);
CreateDynamicObject(3461, 1083.4494628906, -622.95007324219, 113.02161407471, 0, 0, 0);
CreateDynamicObject(3461, 1083.5454101563, -625.45068359375, 113.54312133789, 0, 0, 0);
CreateDynamicObject(3461, 1102.6940917969, -625.03686523438, 108.30288696289, 0, 0, 0);
CreateDynamicObject(3461, 1102.8116455078, -627.52008056641, 108.75765228271, 0, 0, 0);
CreateDynamicObject(3461, 1101.4981689453, -639.05102539063, 112.32090759277, 0, 0, 0);
CreateDynamicObject(3461, 1101.7624511719, -634.33764648438, 110.63355255127, 0, 0, 0);
CreateDynamicObject(3461, 1105.3028564453, -639.79113769531, 112.47239685059, 0, 0, 0);
CreateDynamicObject(3461, 1108.8908691406, -640.50665283203, 112.62149047852, 0, 0, 0);
CreateDynamicObject(3461, 1112.4241943359, -641.16577148438, 112.75208282471, 0, 0, 0);
CreateDynamicObject(3461, 1115.8610839844, -641.96405029297, 112.95399475098, 0, 0, 0);
CreateDynamicObject(3461, 1086.3572998047, -662.05169677734, 114.22344970703, 0, 0, 0);
CreateDynamicObject(3461, 1103.2784423828, -662.20080566406, 114.22997283936, 0, 0, 0);
CreateDynamicObject(3461, 1103.1839599609, -683.66247558594, 114.23086547852, 0, 0, 0);
CreateDynamicObject(3461, 1086.5251464844, -683.708984375, 114.22344970703, 0, 0, 0);
CreateDynamicObject(3461, 1075.7103271484, -662.42114257813, 114.22344970703, 0, 0, 0);
CreateDynamicObject(3461, 1116.7156982422, -665.15405273438, 114.23780822754, 0, 0, 0);
CreateDynamicObject(3461, 1081.1553955078, -622.79632568359, 113.37891387939, 0, 0, 0);
CreateDynamicObject(3461, 1105.5495605469, -625.58203125, 107.98336029053, 0, 0, 0);Bitte helft mir mal
-
10/10 Punkte.
Gefällt mir sehr
Schön gemappt, mach weiter so! -
Also:
Call of Duty 4
Call of Duty Modern Warfare 2 oder 3 was bald rauskommt.
Battlefield Bad Company 2
Battlefield 3
Crysis 1 und 2
World of Warcraft
FEAR 3
Medal of HonorEdit: Brotherhood und Assassins Creed 2 Natürlich Den ersten Teil find ich nicht so gut.
Ich hab Vista und das ist in Ordnung aber hart an der Grenze so schlecht.