dcmd_fill und coords Problemme

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Hallo alle,
    ich habe ein Tanksystem drin und es gibt 2 probleme ich habe die coords geändert jetzt kommt 1 error


    error 029: invalid expression, assumed zero
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.


    2. mir wird zwar 100 liter tank angezeigt aber er sinkt nicht er bleibt immer 100




    MFG Cake

  • das sind die coords


    if(!IsPlayerInRangeOfPoint(playerid,2.0,1000.5323,-940.9221,42.1487,97.4279 || !IsPlayerInRangeOfPoint(playerid,2.0,1007.1821,-933.7119,42.1731,277.7350 // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,1938.9042,-1776.3755,13.3808,179.8374 || !IsPlayerInRangeOfPoint(playerid,2.0,1944.3123,-1769.3580,13.3820,0.911 // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,1380.9349,463.2896,20.1310,63.2571 || !IsPlayerInRangeOfPoint(playerid,2.0,1383.0538,455.8885,19.8995,243.8884 // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,653.2905,-569.9843,16.3285,180.9602 || !IsPlayerInRangeOfPoint(playerid,2.0,-99.2766,-1171.7705,2.4701,155.8398 //tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,-1667.5259,410.9921,7.1734,314.2079 || !IsPlayerInRangeOfPoint(playerid,2.0,-2029.4103,158.7331,28.8301,359.7822 // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,-2024.0455,154.7949,28.8271,178.6731 || !IsPlayerInRangeOfPoint(playerid,2.0,-2413.9492,970.0224,45.2878,181.6576 // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,-2407.4719,982.5601,45.2859,357.6207 || !IsPlayerInRangeOfPoint(playerid,2.0,,-2248.6003,-2558.2173,31.8950,331.0103 // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,-1605.4547,-2714.4626,48.5321,234.7095 || !IsPlayerInRangeOfPoint(playerid,2.0,2115.1289,923.3563,10.8127,269.1026 // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,-1464.8555,1858.5363,32.6268,273.8470 || !IsPlayerInRangeOfPoint(playerid,2.0,-1477.6841,1865.5970,32.6286,93.7996 // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,-1329.5178,2672.1833,50.0551,82.0899 || !IsPlayerInRangeOfPoint(playerid,2.0,-1327.6125,2682.8066,50.0548,81.7993) // tankw


    bei dem anderen weiß ich nicht was ich posten muss

  • Da fehlt überall die Klammer zu? IsPlayerInRangeOfPoint(playerid,2.0,1000.5323,-940.9221,42.1487,97.4279)

  • dan kommen warnings,
    wen ich alles in klammern setze



    bitte um hilfe , weil der bug nervt
    if(!IsPlayerInRangeOfPoint(playerid,2.0,1000.5323,-940.9221,42.1487,97.4279) || (!IsPlayerInRangeOfPoint(playerid,2.0,1007.1821,-933.7119,42.1731,277.7350) // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,1938.9042,-1776.3755,13.3808,179.8374) || (!IsPlayerInRangeOfPoint(playerid,2.0,1944.3123,-1769.3580,13.3820,0.911) // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,1380.9349,463.2896,20.1310,63.2571) || (!IsPlayerInRangeOfPoint(playerid,2.0,1383.0538,455.8885,19.8995,243.8884) // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,653.2905,-569.9843,16.3285,180.9602) || (!IsPlayerInRangeOfPoint(playerid,2.0,-99.2766,-1171.7705,2.4701,155.8398) //tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,-1667.5259,410.9921,7.1734,314.2079) || (!IsPlayerInRangeOfPoint(playerid,2.0,-2029.4103,158.7331,28.8301,359.7822) // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,-2024.0455,154.7949,28.8271,178.6731) || (!IsPlayerInRangeOfPoint(playerid,2.0,-2413.9492,970.0224,45.2878,181.6576) // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,-2407.4719,982.5601,45.2859,357.6207) || (!IsPlayerInRangeOfPoint(playerid,2.0,,-2248.6003,-2558.2173,31.8950,331.0103) // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,-1605.4547,-2714.4626,48.5321,234.7095) || (!IsPlayerInRangeOfPoint(playerid,2.0,2115.1289,923.3563,10.8127,269.1026) // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,-1464.8555,1858.5363,32.6268,273.8470) || (!IsPlayerInRangeOfPoint(playerid,2.0,-1477.6841,1865.5970,32.6286,93.7996) // tankw
    || !IsPlayerInRangeOfPoint(playerid,2.0,-1329.5178,2672.1833,50.0551,82.0899) || (!IsPlayerInRangeOfPoint(playerid,2.0,-1327.6125,2682.8066,50.0548,81.7993) // tankw



    (2228) : warning 202: number of arguments does not match definition
    (2228) : warning 202: number of arguments does not match definition
    (2229) : warning 202: number of arguments does not match definition
    (2229) : warning 202: number of arguments does not match definition
    (2230) : warning 202: number of arguments does not match definition
    (2230) : warning 202: number of arguments does not match definition
    (2231) : warning 202: number of arguments does not match definition
    (2231) : warning 202: number of arguments does not match definition
    (2232) : warning 202: number of arguments does not match definition
    (2232) : warning 202: number of arguments does not match definition
    (2233) : warning 202: number of arguments does not match definition
    (2233) : warning 202: number of arguments does not match definition
    (2234) : warning 202: number of arguments does not match definition
    (2234) : error 029: invalid expression, assumed zero
    (2239) : error 033: array must be indexed (variable "-unknown-")
    (2240) : error 001: expected token: ")", but found "return"
    (2240) : error 001: expected token: ")", but found ";"
    (2242) : warning 215: expression has no effect
    (2242) : warning 215: expression has no effect
    (2242) : warning 215: expression has no effect
    (2242) : warning 215: expression has no effect
    (2242) : error 001: expected token: ";", but found ")"
    (2242) : error 029: invalid expression, assumed zero
    (2242) : warning 215: expression has no effect
    (3788) : warning 219: local variable "playerid" shadows a variable at a preceding level
    (4245) : warning 219: local variable "playerid" shadows a variable at a preceding level
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    6 Errors.

    4 Mal editiert, zuletzt von EliteCake () aus folgendem Grund: alles, text, text, text