Beiträge von PowerOff

    Der Stock:
    stock Float:PointAngle(playerid, Float:xa, Float:ya, Float:xb, Float:yb)
    {
    new Float:carangle;
    new Float:xc, Float:yc;
    new Float:angle;
    xc = floatabs(floatsub(xa,xb));
    yc = floatabs(floatsub(ya,yb));
    if (yc == 0.0 || xc == 0.0)
    {
    if(yc == 0 && xc > 0) angle = 0.0;
    else if(yc == 0 && xc < 0) angle = 180.0;
    else if(yc > 0 && xc == 0) angle = 90.0;
    else if(yc < 0 && xc == 0) angle = 270.0;
    else if(yc == 0 && xc == 0) angle = 0.0;
    }
    else
    {
    angle = atan(xc/yc);
    if(xb > xa && yb <= ya) {angle += 90.0;}
    else if(xb <= xa && yb < ya) angle = floatsub(90.0, angle);
    else if(xb < xa && yb >= ya) angle -= 90.0;
    else if(xb >= xa && yb > ya) angle = floatsub(270.0, angle);
    }
    GetVehicleZAngle(GetPlayerVehicleID(playerid), carangle);
    return floatadd(angle, -carangle);
    }

    Die Zeilen:
    else if(yc == 0 && xc == 0) angle = 0.0;
    }
    else
    {
    angle = atan(xc/yc);


    Die Zeilen Darunter:


    else if(xb <= xa && yb < ya) angle = floatsub(90.0, angle);
    else if(xb < xa && yb >= ya) angle -= 90.0;
    else if(xb >= xa && yb > ya) angle = floatsub(270.0, angle);
    }
    GetVehicleZAngle(GetPlayerVehicleID(playerid), carangle);



    Und entferne mich aus deiner Signatur

    [WICHTIG]Fehler!!! Aber ich weiß nicht welcher[Frage an die Profis]



    Errors;
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\[VFP]VirtualFameRoleplay\pawno\include\noDMv4.inc(119) : error 012: invalid function call, not a valid address
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\[VFP]VirtualFameRoleplay\pawno\include\noDMv4.inc(119) : warning 215: expression has no effect
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\[VFP]VirtualFameRoleplay\pawno\include\noDMv4.inc(119) : warning 215: expression has no effect
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\[VFP]VirtualFameRoleplay\pawno\include\noDMv4.inc(119) : warning 215: expression has no effect
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\[VFP]VirtualFameRoleplay\pawno\include\noDMv4.inc(119) : warning 215: expression has no effect
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\[VFP]VirtualFameRoleplay\pawno\include\noDMv4.inc(119) : warning 215: expression has no effect
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\[VFP]VirtualFameRoleplay\pawno\include\noDMv4.inc(119) : error 001: expected token: ";", but found ")"
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\[VFP]VirtualFameRoleplay\pawno\include\noDMv4.inc(119) : error 029: invalid expression, assumed zero
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\[VFP]VirtualFameRoleplay\pawno\include\noDMv4.inc(119) : fatal error 107: too many error messages on one line


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



    4 Errors.



    Zeile:


    [pwn]if(xb > xa && yb <= ya) {angle += 90.0;}

    Hier alle Zeilen:


    Zeile:[231 ]new Text:Time, Text:Date;
    Zeile:[5037]TextDrawHideForPlayer(playerid, Time), TextDrawHideForPlayer(playerid, Date);
    Zeile:[6078]TextDrawShowForPlayer(playerid, Time), TextDrawShowForPlayer(playerid, Date);
    Zeile:[11822]Time = TextDrawCreate(547.000000,28.000000,"--");
    Zeile:[11824]TextDrawFont(Time,3);
    Zeile:[11825]extDrawLetterSize(Time,0.399999,1.600000);
    Zeile:[11826]TextDrawColor(Time,0xffffffff);
    Zeile:[14643]{
    Zeile:[29683]fwrite(backup,readstr);
    Zeile:[46007]if(Count > 1)

    Hallo ich habe Virtual Fame Script was djandre edit hat


    und wen ich compile bekomme ich diese Errors:



    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\pawno\include\noDMv4.inc(119) : error 017: undefined symbol "IsPlayerAimingAt"
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\pawno\include\noDMv4.inc(115) : warning 203: symbol is never used: "playerid"
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\gamemodes\[VFP].pwn(231) : error 021: symbol already defined: "Time"
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\gamemodes\[VFP].pwn(5037) : error 076: syntax error in the expression, or invalid function call
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\gamemodes\[VFP].pwn(6078) : error 076: syntax error in the expression, or invalid function call
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\gamemodes\[VFP].pwn(11822) : error 076: syntax error in the expression, or invalid function call
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\gamemodes\[VFP].pwn(11824) : error 076: syntax error in the expression, or invalid function call
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\gamemodes\[VFP].pwn(11825) : error 076: syntax error in the expression, or invalid function call
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\gamemodes\[VFP].pwn(11826) : error 076: syntax error in the expression, or invalid function call
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\gamemodes\[VFP].pwn(14643) : error 021: symbol already defined: "strtok"
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\gamemodes\[VFP].pwn(14658) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\gamemodes\[VFP].pwn(29683) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\gamemodes\[VFP].pwn(44607) : warning 219: local variable "mod" shadows a variable at a preceding level
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\gamemodes\[VFP].pwn(46007) : error 076: syntax error in the expression, or invalid function call
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    12 Errors.




    Ich hoffe ihr könnt mir helfen

    Habe ich auch die Probleme


    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\pawno\include\noDMv4.inc(119) : error 017: undefined symbol "IsPlayerAimingAt"
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\pawno\include\noDMv4.inc(115) : warning 203: symbol is never used: "playerid"
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\gamemodes\[VFP].pwn(231) : error 021: symbol already defined: "Time"
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\gamemodes\[VFP].pwn(5037) : error 076: syntax error in the expression, or invalid function call
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\gamemodes\[VFP].pwn(6078) : error 076: syntax error in the expression, or invalid function call
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\gamemodes\[VFP].pwn(11822) : error 076: syntax error in the expression, or invalid function call
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\gamemodes\[VFP].pwn(11824) : error 076: syntax error in the expression, or invalid function call
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\gamemodes\[VFP].pwn(11825) : error 076: syntax error in the expression, or invalid function call
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\gamemodes\[VFP].pwn(11826) : error 076: syntax error in the expression, or invalid function call
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\gamemodes\[VFP].pwn(14643) : error 021: symbol already defined: "strtok"
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\gamemodes\[VFP].pwn(14658) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\gamemodes\[VFP].pwn(29683) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\gamemodes\[VFP].pwn(44607) : warning 219: local variable "mod" shadows a variable at a preceding level
    C:\Users\Rene\Desktop\Documents\MyBook\Alle Sachen p-Server(Servers)\Sa-Mp\LlK-Edit\gamemodes\[VFP].pwn(46007) : error 076: syntax error in the expression, or invalid function call
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    12 Errors.