Beiträge von Firex

    PTor = CreateDynamicObject(980, 1285.7044677734, -2056.2905273438, 60.493286132813, 0, 0, 268.69067382813); CreateDynamicObject(1411, 1542.4188232422, -1617.8602294922, 14.909199714661, 0, 0, 179.36633300781); CreateDynamicObject(1411, 1546.8046875, -1617.8602294922, 14.909199714661, 0, 0, 179.36633300781); CreateDynamicObject(987, 1271.3460693359, -2066.4575195313, 58.268760681152, 0, 0, 1.9849853515625); CreateDynamicObject(987, 1260.0238037109, -2066.0588378906, 58.632766723633, 0, 0, 358.01147460938); CreateDynamicObject(987, 1248.2941894531, -2065.640625, 58.959381103516, 0, 0, 358.01147460938); CreateDynamicObject(987, 1248.1477050781, -2077.6740722656, 58.959381103516, 0, 0, 89.321044921875); CreateDynamicObject(987, 1236.1539306641, -2077.5300292969, 59.301239013672, 0, 0, 359.99407958984); CreateDynamicObject(987, 1226.3400878906, -2077.9165039063, 62.467338562012, 0, 20, 1.9739990234375); CreateDynamicObject(987, 1215.0379638672, -2078.3530273438, 67.09992980957, 0, 19.9951171875, 1.9720458984375); CreateDynamicObject(987, 1204.5518798828, -2078.5939941406, 68.0078125, 0, 6, 1.9720458984375); CreateDynamicObject(987, 1192.9985351563, -2078.5537109375, 68.0078125, 0, 0, 359.98156738281); CreateDynamicObject(987, 1180.7021484375, -2078.2373046875, 68.0078125, 0, 0, 1.9630126953125); CreateDynamicObject(987, 1169.2437744141, -2077.8703613281, 68.0078125, 0, 0, 359.97802734375); CreateDynamicObject(987, 1157.1839599609, -2077.5979003906, 68.0078125, 0, 0, 357.99304199219); CreateDynamicObject(987, 1145.3959960938, -2078.470703125, 68.0078125, 0, 0, 1.9630126953125); CreateDynamicObject(987, 1134.8515625, -2084.810546875, 68.379463195801, 0, 0, 29.752807617188); CreateDynamicObject(987, 1122.9443359375, -2081.46875, 68.052200317383, 0, 0, 344.09704589844); CreateDynamicObject(987, 1104.4772949219, -2081.1721191406, 67.850105285645, 0, 0, 359.97802734375); CreateDynamicObject(987, 1110.8765869141, -2081.3010253906, 67.789253234863, 0, 0, 359.97802734375); CreateDynamicObject(987, 1103.8836669922, -2069.4655761719, 68.0078125, 0, 0, 272.638671875); CreateDynamicObject(987, 1103.8276367188, -2049.9479980469, 68.0078125, 0, 0, 268.66674804688); CreateDynamicObject(987, 1103.6760253906, -2057.6564941406, 68.0078125, 0, 0, 270.65173339844); CreateDynamicObject(987, 1092.0418701172, -2049.8217773438, 68.0078125, 0, 0, 359.97253417969); CreateDynamicObject(987, 1103.9931640625, -2012.6794433594, 68.0078125, 0, 0, 268.66516113281); CreateDynamicObject(987, 1104.1031494141, -2000.8336181641, 68.0078125, 0, 0, 268.66516113281); CreateDynamicObject(987, 1104.1633300781, -1993.6872558594, 68.000610351563, 0, 0, 268.66516113281); CreateDynamicObject(987, 1115.9229736328, -1993.8077392578, 68.0078125, 0, 0, 179.34045410156); CreateDynamicObject(987, 1127.4691162109, -1993.9140625, 68.0078125, 0, 0, 179.34045410156); CreateDynamicObject(987, 1138.8135986328, -1994.0496826172, 68.0078125, 0, 0, 179.33532714844); CreateDynamicObject(987, 1144.8559570313, -1994.1440429688, 68.0078125, 0, 0, 179.33532714844); CreateDynamicObject(987, 1156.4154052734, -1994.1315917969, 68.0078125, 0, 0, 179.33532714844); CreateDynamicObject(987, 1168.1905517578, -1994.421875, 68.0078125, 0, 0, 179.33532714844); CreateDynamicObject(987, 1179.6098632813, -1994.6033935547, 68.0078125, 0, 0, 179.33532714844); CreateDynamicObject(987, 1191.4947509766, -1994.6541748047, 68.0078125, 0, 0, 179.33532714844); CreateDynamicObject(987, 1203.4559326172, -1994.8194580078, 68.0078125, 0, 0, 179.33532714844); CreateDynamicObject(987, 1209.4223632813, -1994.8581542969, 68.0078125, 0, 0, 179.33532714844); CreateDynamicObject(987, 1219.0595703125, -1995.1260986328, 64.712440490723, 0, 339, 179.33532714844); CreateDynamicObject(987, 1230.0378417969, -1995.0677490234, 60.682498931885, 0, 338.99963378906, 179.32983398438); CreateDynamicObject(987, 1237.3948974609, -1996.2811279297, 58.446220397949, 0, 338.994140625, 169.3193359375); CreateDynamicObject(987, 1247.703125, -2001.8818359375, 58.784080505371, 0, 0, 149.55139160156); CreateDynamicObject(987, 1259.4650878906, -2002.1066894531, 58.457725524902, 0, 0, 179.32434082031); CreateDynamicObject(987, 1271.2088623047, -2002.5087890625, 58.172088623047, 0, 0, 179.32434082031); CreateDynamicObject(987, 1283.2843017578, -2002.9580078125, 57.81481552124, 0, 0, 179.32434082031); CreateDynamicObject(987, 1284.2028808594, -2046.5366210938, 57.968658447266, 0, 0, 89.999694824219); CreateDynamicObject(987, 1284.2243652344, -2037.6640625, 57.922889709473, 0, 0, 91.984680175781); CreateDynamicObject(987, 1283.9755859375, -2026.1364746094, 57.891025543213, 0, 0, 93.969665527344); CreateDynamicObject(987, 1283.4029541016, -2014.8031005859, 57.872924804688, 0, 0, 89.999694824219); CreateDynamicObject(3928, 1115.2088623047, -2055.3310546875, 73.4296875, 0, 0, 0); CreateDynamicObject(3928, 1115.3857421875, -2016.8051757813, 73.4296875, 0, 0, 0); CreateDynamicObject(3928, 1152.0716552734, -2052.6557617188, 68.000602722168, 0, 0, 0); CreateDynamicObject(3928, 1151.9936523438, -2019.1083984375, 68.0078125, 0, 0, 0); CreateDynamicObject(3749, 1285.4970703125, -2056.361328125, 63.584011077881, 0, 0, 268.68713378906); CreateDynamicObject(1616, 1288.0886230469, -2052.4279785156, 65.599098205566, 0, 0, 160.78454589844); CreateDynamicObject(987, 1103.5568847656, -2024.4208984375, 68.0078125, 0, 0, 181.32543945313); CreateDynamicObject(987, 1187.5186767578, -2077.6181640625, 68.0078125, 0, 0, 356.00805664063);

    PS : ANDERER /ptor befehl


    (10) : warning 216: nested comment


    (7145) : warning 202: number of arguments does not match definition
    (7145) : warning 202: number of arguments does not match definition
    (26841) : warning 211: possibly unintended assignment
    (26860) : warning 211: possibly unintended assignment
    (28438) : error 029: invalid expression, assumed zero
    (28438) : error 001: expected token: ";", but found "if"
    (28461) : error 017: undefined symbol "TorP"
    (28463) : error 017: undefined symbol "PTor"
    (28465) : error 017: undefined symbol "TorP"
    (28465) : warning 215: expression has no effect
    (28467) : error 017: undefined symbol "TorP"
    (28469) : error 017: undefined symbol "PTor"
    (28471) : error 017: undefined symbol "TorP"
    (28471) : warning 215: expression has no effect
    (28481) : error 029: invalid expression, assumed zero
    (28481 -- 28483) : error 029: invalid expression, assumed zero
    (28483 -- 28484) : error 029: invalid expression, assumed zero
    (28483 -- 28484) : fatal error 107: too many error messages on one line


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    12 Errors.

    Hallo Breadfish


    Ich habe ein Proplem wenn ich den Befehl /ptor entklammer


    dann kommen errors




    Der Befehl : //================ TOR ================/// if(strcmp(cmd,"/ptor",true) == 0) { if(PlayerInfo[playerid][pTot] == 1) { SendClientMessage(playerid, COLOR_GREY, "Tote können keine Befehle nutzen!"); return 1; } new pName[MAX_PLAYER_NAME]; GetPlayerName(playerid,pName,sizeof pName); if(PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7 || IsACop(playerid) || IsPlayerInFrac(playerid, 22)) { if(IsPlayerInRangeOfPoint(playerid, 20.0, 1426.56945801,-1901.34228516,12.76267624) || IsPlayerInRangeOfPoint(playerid, 20.0, 1426.33483887,-1901.32604980,12.75741196)) { MoveObject(leo2,1426.33483887,-1901.32604980,2.75741196,3.0); MoveObject(leo1,1426.56945801,-1901.34228516,2.76267624,3.0); SendClientMessage(playerid, COLOR_GREEN, "Du hast das Tor geöffent, es schließt in 10 Sekunden."); PlaySoundForPlayer(playerid,1035); SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036); SetTimer("leozu1",10000,0); SetTimer("leozu2",10000,0); } else if(IsPlayerInRangeOfPoint(playerid, 20.0, 1285.7044677734, -2056.2905273438, 60.493286132813)) { if(TorP == false) { MoveObject(PTor, 1285.7044677734, -2056.2905273438, 54.938991546631, 3.0); SendClientMessage(playerid, COLOR_GREEN, "Tor geöffnet"); TorP = true; } else if(TorP == true) { MoveObject(PTor, 1285.7044677734, -2056.2905273438, 60.493286132813, 3.0); SendClientMessage(playerid, COLOR_RED, "Tor geschlossen"); TorP = false; } } else { SendClientMessage(playerid, COLOR_GRAD1, "Du bist zu weit vom Tor entfernt!"); } } else SendClientMessage(playerid,COLOR_GRAD1,"Du bist kein Mitglied der Regierung!"); return 1; }*/