Beiträge von [Ru$$ia]_JuRy

    okay, geschaft jetzt kommen 3 error's...


    C:\Users\JuRy\Desktop\[GDR]_by_sHoTx3\Sauberer Server\gamemodes\--[GDR]_by_sHoTx3--.pwn(14593) : error 021: symbol already defined: "strtok"
    C:\Users\JuRy\Desktop\[GDR]_by_sHoTx3\Sauberer Server\gamemodes\--[GDR]_by_sHoTx3--.pwn(14608) : error 047: array sizes do not match, or destination array is too small
    C:\Users\JuRy\Desktop\[GDR]_by_sHoTx3\Sauberer Server\gamemodes\--[GDR]_by_sHoTx3--.pwn(29633) : error 047: array sizes do not match, or destination array is too small
    C:\Users\JuRy\Desktop\[GDR]_by_sHoTx3\Sauberer Server\gamemodes\--[GDR]_by_sHoTx3--.pwn(44557) : warning 219: local variable "mod" shadows a variable at a preceding level
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    3 Errors.



    strtok(const string[], &index)
    {
    new length = strlen(string);
    while ((index < length) && (string[index] <= ' '))
    {
    index++;
    }


    new offset = index;
    new result[20];
    while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
    {
    result[index - offset] = string[index];
    index++;
    }
    result[index - offset] = EOS;
    return result;
    }


    if(strcmp(cmd, "/accban", true) == 0)
    {
    if (PlayerInfo[playerid][pAdmin] >= 4)
    {
    GetPlayerName(playerid, sendername, sizeof(sendername));
    giveplayer = strtok(cmdtext, idx);
    if(!strlen(giveplayer))
    {
    SendClientMessage(playerid,COLOR_GRAD2,"FEHLER: /accban [AccountName] (Korrekte Schreibweise erforderlich)");
    return 1;
    }

    Hilfe...


    ~~~[ Include ]~~~
    #include <a_samp>
    #include <a_npc>
    #include <dini>
    #include <core>
    #include <float>
    #include <time>
    #include <file>
    #include <utils>
    #include <morphinc>
    #include <M_Bot>
    #include <ocmd>
    #include <sscanf2>
    //#include <noDMv4>
    #include <a_http>
    #include <streamer>
    #include <a_sampdb>

    ~~~[ eRRoRs ]~~~

    C:\Users\JuRy\Desktop\[GDR]_by_sHoTx3\Sauberer Server\gamemodes\--[GDR]_by_sHoTx3--.pwn(5011) : error 076: syntax error in the expression, or invalid function call
    C:\Users\JuRy\Desktop\[GDR]_by_sHoTx3\Sauberer Server\gamemodes\--[GDR]_by_sHoTx3--.pwn(6052) : error 076: syntax error in the expression, or invalid function call
    C:\Users\JuRy\Desktop\[GDR]_by_sHoTx3\Sauberer Server\gamemodes\--[GDR]_by_sHoTx3--.pwn(11796) : error 076: syntax error in the expression, or invalid function call
    C:\Users\JuRy\Desktop\[GDR]_by_sHoTx3\Sauberer Server\gamemodes\--[GDR]_by_sHoTx3--.pwn(11798) : error 076: syntax error in the expression, or invalid function call
    C:\Users\JuRy\Desktop\[GDR]_by_sHoTx3\Sauberer Server\gamemodes\--[GDR]_by_sHoTx3--.pwn(11799) : error 076: syntax error in the expression, or invalid function call
    C:\Users\JuRy\Desktop\[GDR]_by_sHoTx3\Sauberer Server\gamemodes\--[GDR]_by_sHoTx3--.pwn(11800) : error 076: syntax error in the expression, or invalid function call
    C:\Users\JuRy\Desktop\[GDR]_by_sHoTx3\Sauberer Server\gamemodes\--[GDR]_by_sHoTx3--.pwn(14617) : error 021: symbol already defined: "strtok"
    C:\Users\JuRy\Desktop\[GDR]_by_sHoTx3\Sauberer Server\gamemodes\--[GDR]_by_sHoTx3--.pwn(14632) : error 047: array sizes do not match, or destination array is too small
    C:\Users\JuRy\Desktop\[GDR]_by_sHoTx3\Sauberer Server\gamemodes\--[GDR]_by_sHoTx3--.pwn(29657) : error 047: array sizes do not match, or destination array is too small
    C:\Users\JuRy\Desktop\[GDR]_by_sHoTx3\Sauberer Server\gamemodes\--[GDR]_by_sHoTx3--.pwn(44581) : warning 219: local variable "mod" shadows a variable at a preceding level
    C:\Users\JuRy\Desktop\[GDR]_by_sHoTx3\Sauberer Server\gamemodes\--[GDR]_by_sHoTx3--.pwn(45981) : error 076: syntax error in the expression, or invalid function call
    C:\Users\JuRy\Desktop\[GDR]_by_sHoTx3\Sauberer Server\gamemodes\--[GDR]_by_sHoTx3--.pwn(46526) : warning 203: symbol is never used: "Zeit"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    10 Errors.


    ~~~[ Code's ]~~~
    204 -->//Neue UHR mit Datum
    new Text:Time;
    new Text:Date;


    5011-->//DAtum und UHR
    TextDrawHideForPlayer(playerid, Time), TextDrawHideForPlayer(playerid, Date);


    6052-->//Uhrzeit+datum
    TextDrawShowForPlayer(playerid, Time), TextDrawShowForPlayer(playerid, Date);

    11796-->Time = TextDrawCreate(547.000000,28.000000,"--");


    11798-->TextDrawFont(Time,3);


    11800-->TextDrawColor(Time,0xffffffff);


    14617-->strtok(const string[], &index)
    {
    new length = strlen(string);
    while ((index < length) && (string[index] <= ' '))
    {
    index++;
    }


    }
    14632-->result[index - offset] = EOS;
    return result;
    }


    29657-->GetPlayerName(playerid, sendername, sizeof(sendername));
    giveplayer = strtok(cmdtext, idx);
    f(!strlen(giveplayer))


    44581-->new mod=GetModType(componentid);
    switch (mod)


    45981-->format(string, sizeof string, "%s%d:%s%d:%s%d", (hours < 10) ? ("0") : (""), hours, (minutes < 10) ? ("0") : (""), minutes, (seconds < 10) ? ("0") : (""), seconds);
    TextDrawSetString(Time, string);



    :rolleyes:

    Hallo,


    ich bekomme zu viele Errors aber wieso ich hab die Neuen Includes und
    die die mann für den Script braucht...


    Schaut selbst u. Heelp
    :
    #include <a_samp>
    #include <a_npc>
    #include <dini>
    #include <core>
    #include <float>
    #include <time>
    #include <file>
    #include <utils>
    #include <morphinc>
    #include <M_Bot>
    #include <ocmd>
    #include <sscanf2>
    //#include <noDMv4>
    #include <a_http>
    #include <streamer>
    #include <bfx_oStream>
    #include <a_sampdb>



    Die Errors:
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(229) : error 021: symbol already defined: "Time"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(2451) : warning 219: local variable "x2" shadows a variable at a preceding level
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(2451) : warning 219: local variable "y2" shadows a variable at a preceding level
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(2451) : warning 219: local variable "z2" shadows a variable at a preceding level
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(5035) : error 076: syntax error in the expression, or invalid function call
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(6076) : error 076: syntax error in the expression, or invalid function call
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(11820) : error 076: syntax error in the expression, or invalid function call
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(11822) : error 076: syntax error in the expression, or invalid function call
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(11823) : error 076: syntax error in the expression, or invalid function call
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(11824) : error 076: syntax error in the expression, or invalid function call
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(14229) : error 021: symbol already defined: "strtok"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(14244) : error 047: array sizes do not match, or destination array is too small
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(29269) : error 047: array sizes do not match, or destination array is too small
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(44193) : warning 219: local variable "mod" shadows a variable at a preceding level
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(45060) : error 017: undefined symbol "CreateDynamicCP"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(45061) : error 017: undefined symbol "CreateDynamicCP"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(45062) : error 017: undefined symbol "CreateDynamicCP"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(45064) : error 017: undefined symbol "CreateDynamicMapIcon"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(45083) : error 017: undefined symbol "CreateDynamicCP"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(45084) : error 017: undefined symbol "CreateDynamicCP"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(45085) : error 017: undefined symbol "CreateDynamicCP"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(45087) : error 017: undefined symbol "CreateDynamicMapIcon"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(45106) : error 017: undefined symbol "CreateDynamicCP"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(45107) : error 017: undefined symbol "CreateDynamicCP"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(45108) : error 017: undefined symbol "CreateDynamicCP"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(45110) : error 017: undefined symbol "CreateDynamicMapIcon"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(45129) : error 017: undefined symbol "CreateDynamicCP"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(45130) : error 017: undefined symbol "CreateDynamicCP"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(45131) : error 017: undefined symbol "CreateDynamicCP"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\by_sHoTx3_[GDR].pwn(45133) : error 017: undefined symbol "CreateDynamicMapIcon"


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



    26 Errors.




    I need your Heelp :D

    Hallo,


    Ich hab die Waffen von Spawn also die Fraktion - Weapons geändert aber dann nach Compile kommen 26 errors ?!
    » » Help Help Help...
    :rolleyes:




    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\gamemode\GDR-Scriptx3.pwn(4843) : error 008: must be a constant expression; assumed zero
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\gamemode\GDR-Scriptx3.pwn(4845) : warning 217: loose indentation
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\gamemode\GDR-Scriptx3.pwn(4848) : error 010: invalid function or declaration
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\gamemode\GDR-Scriptx3.pwn(4850) : error 021: symbol already defined: "M_GivePlayerWeapon"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\gamemode\GDR-Scriptx3.pwn(4851) : error 021: symbol already defined: "M_GivePlayerWeapon"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\gamemode\GDR-Scriptx3.pwn(4852) : error 021: symbol already defined: "M_SetPlayerHealth"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\gamemode\GDR-Scriptx3.pwn(4853) : error 010: invalid function or declaration
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\gamemode\GDR-Scriptx3.pwn(4855) : error 010: invalid function or declaration
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\gamemode\GDR-Scriptx3.pwn(4857) : error 021: symbol already defined: "M_GivePlayerWeapon"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\gamemode\GDR-Scriptx3.pwn(4858) : error 021: symbol already defined: "M_GivePlayerWeapon"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\gamemode\GDR-Scriptx3.pwn(4859) : error 021: symbol already defined: "M_SetPlayerHealth"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\gamemode\GDR-Scriptx3.pwn(4861) : error 010: invalid function or declaration
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\gamemode\GDR-Scriptx3.pwn(4863) : error 010: invalid function or declaration
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\gamemode\GDR-Scriptx3.pwn(4865) : error 021: symbol already defined: "M_GivePlayerWeapon"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\gamemode\GDR-Scriptx3.pwn(4866) : error 021: symbol already defined: "M_GivePlayerWeapon"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\gamemode\GDR-Scriptx3.pwn(4867) : error 021: symbol already defined: "M_SetPlayerHealth"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\gamemode\GDR-Scriptx3.pwn(4868) : error 010: invalid function or declaration
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\gamemode\GDR-Scriptx3.pwn(4870) : error 010: invalid function or declaration
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\gamemode\GDR-Scriptx3.pwn(4872) : error 021: symbol already defined: "M_GivePlayerWeapon"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\gamemode\GDR-Scriptx3.pwn(4873) : error 021: symbol already defined: "M_SetPlayerHealth"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\gamemode\GDR-Scriptx3.pwn(4874) : error 010: invalid function or declaration
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\gamemode\GDR-Scriptx3.pwn(4876) : error 010: invalid function or declaration
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\gamemode\GDR-Scriptx3.pwn(4878) : error 021: symbol already defined: "M_GivePlayerWeapon"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\gamemode\GDR-Scriptx3.pwn(4879) : error 021: symbol already defined: "M_SetPlayerHealth"
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\gamemode\GDR-Scriptx3.pwn(4880) : error 010: invalid function or declaration
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\gamemode\GDR-Scriptx3.pwn(4882) : error 010: invalid function or declaration
    C:\Users\JuRy\Desktop\German Dream Reallife [ Script ]\gamemode\GDR-Scriptx3.pwn(4885) : error 010: invalid function or declaration


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



    26 Errors.

    Hallo,
    ich hab nen Problem und zwa:
    • wenn man z.b: 36min gespielt hat dann reloggt dann wird die spiel zeit auf 0min gesetzt
    aber wieso, ich will das wenn man z.B: 36min spielt, dass man nach relogg die letzen 36min spiel zeit / payday zeit
    wieder da ist !! Heelp...


    MFG - [GDR]sHoTx3 :thumbup: