Beiträge von davidlg01

    Anschuldigung das ich nerve aber brauche noch mall Hilfe hier seit so super danke an euch


    C:\Users\david\Desktop\david.pwn(401) : error 017: undefined symbol "rank"
    C:\Users\david\Desktop\david.pwn(402) : error 017: undefined symbol "rank"
    C:\Users\david\Desktop\david.pwn(403) : error 017: undefined symbol "rank"
    C:\Users\david\Desktop\david.pwn(404) : error 017: undefined symbol "rank"
    C:\Users\david\Desktop\david.pwn(406) : error 017: undefined symbol "rank"
    C:\Users\david\Desktop\david.pwn(399) : warning 203: symbol is never used: "rang"
    C:\Users\david\Desktop\david.pwn(399 -- 408) : warning 209: function "ocmd_makeadmin" should return a value
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    5 Errors.



    ocmd:makeadmin(playerid,params[])
    {
    new pID, rang, string[128];
    if(!IstSpielerEinAdmin(playerid,6))return SendClientMessage(playerid,Rot,"Du bist kein Admin!");
    if(sscanf(params,"ui",pID,rank))return SendClientMessage(playerid,Blau,"Benutzung: /makeadmin [ID] [Rank]");
    if(rank < 0 || rank > 5000)return SendClientMessage(playerid,Rot,"Der Rang darf nicht 0 oder unter 0 oder über 5000 sein!");
    SetPVarInt(pID,"Adminlevel",rank);
    format(string,sizeof(string),"Du hast %s zu einem Admin Rank %d gemacht.",SpielerName(pID),rank);
    SendClientMessage(playerid,Blau,string);
    format(string,sizeof(string),"Admin %s hat dich zu einem Admin Rank %d gemacht!",SpielerName(playerid),rank);
    SendClientMessage(pID,Blau,string);
    }

    Hallo vielleicht könnt ihr mir helfen habe ein Error und weis nicht was ich jetzt machen soll Hamm


    C:\Users\david\Desktop\david.pwn(363) : error 017: undefined symbol "SpielerName"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.



    ocmd:kick(playerid,params[])
    {
    new pID, Grund[128], string[128];
    if(!IstSpielerEinAdmin(playerid,1))return SendClientMessage(playerid,Rot,"Du bist kein Admin!");
    if(sscanf(params,"us",pID,Grund))return SendClientMessage(playerid,Rot,"Benutzung: /kick [Playerid] [Grund]");
    format(string,sizeof(string),"Admin System : %s wurde von Admin %s gekickt! Grund : %s",SpielerName(pID),SpielerName(playerid),Grund);
    SendClientMessageToAll(Blau,string);
    GameTextForPlayer(pID,"~r~ GEKICKT!",50000,3);
    TogglePlayerControllable(pID,0);
    Kick(pID);
    return 1;
    }

    Also so ?



    ocmd:arrest(playerid,params[])
    {
    new pID;
    if(IsPlayerAnFrakt(playerid,1) || IsPlayerAnFrakt(playerid,2) || IsPlayerAnFrakt(playerid,3))
    {
    if(sscanf(params,"u",pID))return SendClientMessage(playerid,Rot,"Benutze /knast [id]");
    if(GetPlayerWantedLevel(pID)>=1)
    {
    if(!IsPlayerInRangeOfPoint(playerid,5,1215.9474,-1820.8887,13.5954) || !IsPlayerInRangeOfPoint(pID,5,1215.9474,-1820.8887,13.5954))return SendClientMessage(playerid,Rot,"Du und der Gefangene müssen beide am Knastpunkt sein!");
    Jailer(playerid,pID);
    }
    else SendClientMessage(playerid, Rot, "Error: Spieler hat kein Wanted.");
    }
    else SendClientMessage(playerid, Rot, "Error: Keine Erlaubnis.");
    return 1;
    }


    stock Jailer(playerid,knastid)
    {
    SetPlayerPos(knastid,198.4943,162.0886,1003.0300);
    SetPlayerInterior(knastid,3);
    new wanted = GetPlayerWantedLevel(knastid), str[145];
    format(str, sizeof(str), "Du wurdest für %d Sekunden ins Gefängnis gebracht!", wanted * 500);
    SendClientMessage(knastid,Rot,str);
    GivePlayerMoney(playerid,wanted * 1000);
    jailed[playerid] = 1;
    SetTimerEx("Unjail",wanted * 500 * 1000,false,"i",knastid);
    return 1;
    }




    forward Unjail(playerid);
    public Unjail(playerid)
    {
    jailed[playerid]=0;
    SetPlayerPos(playerid,197.8431,158.3999,1003.0234);
    SendClientMessage(playerid,Blau,"[Entlassen] ");
    SendClientMessage(playerid,Blau,"Sei in Zukunft ein guter Mensch!");
    return 1;
    }

    948 ist doch case 1: die löchen einer ist fort 6 noch da


    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(949) : error 010: invalid function or declaration
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(956) : error 010: invalid function or declaration
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(963) : error 010: invalid function or declaration
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(970) : error 010: invalid function or declaration
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(977) : error 010: invalid function or declaration
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(984) : error 010: invalid function or declaration
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    6 Errors.


    new jailed[MAX_PLAYERS];
    ocmd:arrest(playerid,params[])
    {
    new pID;
    if(IsPlayerAnFrakt(playerid,1) || IsPlayerAnFrakt(playerid,2) || IsPlayerAnFrakt(playerid,3))
    {
    if(sscanf(params,"u",pID))return SendClientMessage(playerid,Rot,"Benutze /knast [id]");
    if(GetPlayerWantedLevel(pID)>=1)
    {
    if(!IsPlayerInRangeOfPoint(playerid,5,1215.9474,-1820.8887,13.5954) || !IsPlayerInRangeOfPoint(pID,5,1215.9474,-1820.8887,13.5954))return SendClientMessage(playerid,Rot,"Du und der Gefangene müssen beide am Knastpunkt sein!");
    Jailer(playerid,pID);
    }
    else SendClientMessage(playerid, Rot, "Error: Spieler hat kein Wanted.");
    }
    else SendClientMessage(playerid, Rot, "Error: Keine Erlaubnis.");
    return 1;
    }


    stock Jailer(playerid,knastid)
    {
    SetPlayerPos(knastid,198.4943,162.0886,1003.0300);
    SetPlayerInterior(knastid,3);
    new wanted = GetPlayerWantedLevel(knastid), str[145];
    format(str, sizeof(str), "Du wurdest für %d Sekunden ins Gefängnis gebracht!", wanted * 500);
    SendClientMessage(knastid,Rot,str);
    GivePlayerMoney(playerid,wanted * 1000);
    jailed[playerid] = 1;
    SetTimerEx("Unjail",wanted * 500 * 1000,false,"i",knastid);
    return 1;
    }



    case 1://949
    {
    SetTimerEx("Unjail",500000,false,"i",knastid);
    SendClientMessage(knastid,Rot,"Du wurdest für 500Sekunden ins Gefängnis gebracht!");
    GivePlayerMoney(playerid,1000);
    jailed[knastid]1;
    }
    case 2://956
    {
    SetTimerEx("Unjail",1000000,false,"i",knastid);
    SendClientMessage(knastid,Rot,"Du wurdest für 1000Sekunden ins Gefängnis gebracht!");
    GivePlayerMoney(playerid,2000);
    jailed[knastid]=1;
    }
    case 3://963
    {
    SetTimerEx("Unjail",1500000,false,"i",knastid);
    SendClientMessage(knastid,Rot,"Du wurdest für 1500Sekunden ins Gefängnis gebracht!");
    GivePlayerMoney(playerid,3000);
    jailed[knastid]=1;
    }
    case 4://970
    {
    SetTimerEx("Unjail",2000000,false,"i",knastid);
    SendClientMessage(knastid,Rot,"Du wurdest für 2000Sekunden ins Gefängnis gebracht!");
    GivePlayerMoney(playerid,4000);
    jailed[knastid]=1;
    }
    case 5://977
    {
    SetTimerEx("Unjail",2500000,false,"i",knastid);
    SendClientMessage(knastid,Rot,"Du wurdest für 2500Sekunden ins Gefängnis gebracht!");
    GivePlayerMoney(playerid,5000);
    jailed[knastid]=1;
    }
    case 6://984
    {
    SetTimerEx("Unjail",3000000,false,"i",knastid);
    SendClientMessage(knastid,Rot,"Du wurdest für 3000Sekunden ins Gefängnis gebracht!");
    GivePlayerMoney(playerid,6000);
    jailed[knastid]=1;
    }



    forward Unjail(playerid);
    public Unjail(playerid)
    {
    jailed[playerid]=0;
    SetPlayerPos(playerid,197.8431,158.3999,1003.0234);
    SendClientMessage(playerid,Blau,"[Entlassen] ");
    SendClientMessage(playerid,Blau,"Sei in Zukunft ein guter Mensch!");
    return 1;
    }

    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(948) : error 010: invalid function or declaration
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(955) : error 010: invalid function or declaration
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(948) : error 010: invalid function or declaration
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(955) : error 010: invalid function or declaration
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(962) : error 010: invalid function or declaration
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(969) : error 010: invalid function or declaration
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(976) : error 010: invalid function or declaration
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(983) : error 010: invalid function or declaration
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(991) : error 010: invalid function or declaration
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    7 Errors.










    ocmd:arrest(playerid,params[])
    {
    new pID;
    if(IsPlayerAnFrakt(playerid,1) || IsPlayerAnFrakt(playerid,2) || IsPlayerAnFrakt(playerid,3))
    {
    if(sscanf(params,"u",pID))return SendClientMessage(playerid,Rot,"Benutze /knast [id]");
    if(GetPlayerWantedLevel(pID)>=1)
    {
    if(!IsPlayerInRangeOfPoint(playerid,5,1215.9474,-1820.8887,13.5954) || !IsPlayerInRangeOfPoint(pID,5,1215.9474,-1820.8887,13.5954))return SendClientMessage(playerid,Rot,"Du und der Gefangene müssen beide am Knastpunkt sein!");
    Jailer(playerid,pID);
    }
    else SendClientMessage(playerid, Rot, "Error: Spieler hat kein Wanted.");
    }
    else SendClientMessage(playerid, Rot, "Error: Keine Erlaubnis.");
    return 1;
    }


    stock Jailer(playerid,knastid)
    {
    SetPlayerPos(knastid,198.4943,162.0886,1003.0300);
    SetPlayerInterior(knastid,3);
    new wanted = GetPlayerWantedLevel(knastid), str[145];
    format(str, sizeof(str), "Du wurdest für %d Sekunden ins Gefängnis gebracht!", wanted * 500);
    SendClientMessage(knastid,Rot,str);
    GivePlayerMoney(playerid,wanted * 1000);
    jailed[playerid] = 1;
    SetTimerEx("Unjail",wanted * 500 * 1000,false,"i",knastid);
    return 1;
    }
    case 1: // 948
    {
    SetTimerEx("Unjail",500000,false,"i",knastid);
    SendClientMessage(knastid,Rot,"Du wurdest für 500Sekunden ins Gefängnis gebracht!");
    GivePlayerMoney(playerid,1000);
    jailed[knastid]1;
    }
    case 2://955
    {
    SetTimerEx("Unjail",1000000,false,"i",knastid);
    SendClientMessage(knastid,Rot,"Du wurdest für 1000Sekunden ins Gefängnis gebracht!");
    GivePlayerMoney(playerid,2000);
    jailed[knastid]=1;
    }
    case 3://962
    {
    SetTimerEx("Unjail",1500000,false,"i",knastid);
    SendClientMessage(knastid,Rot,"Du wurdest für 1500Sekunden ins Gefängnis gebracht!");
    GivePlayerMoney(playerid,3000);
    jailed[knastid]=1;
    }
    case 4://969
    {
    SetTimerEx("Unjail",2000000,false,"i",knastid);
    SendClientMessage(knastid,Rot,"Du wurdest für 2000Sekunden ins Gefängnis gebracht!");
    GivePlayerMoney(playerid,4000);
    jailed[knastid]=1;
    }
    case 5://976
    {
    SetTimerEx("Unjail",2500000,false,"i",knastid);
    SendClientMessage(knastid,Rot,"Du wurdest für 2500Sekunden ins Gefängnis gebracht!");
    GivePlayerMoney(playerid,5000);
    jailed[knastid]=1;
    }
    case 6://983
    {
    SetTimerEx("Unjail",3000000,false,"i",knastid);
    SendClientMessage(knastid,Rot,"Du wurdest für 3000Sekunden ins Gefängnis gebracht!");
    GivePlayerMoney(playerid,6000);
    jailed[knastid]=1;
    }


    return 1;//991
    }


    forward Unjail(playerid);
    public Unjail(playerid)
    {
    jailed[playerid]=0;
    SetPlayerPos(playerid,197.8431,158.3999,1003.0234);
    SendClientMessage(playerid,Blau,"[Entlassen] ");
    SendClientMessage(playerid,Blau,"Sei in Zukunft ein guter Mensch!");
    return 1;
    }


    ja habe ich jez bekomme ich



    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(936) : warning 215: expression has no effect
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(936) : error 001: expected token: ";", but found "-integer value-"
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(936) : warning 215: expression has no effect
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(974) : warning 217: loose indentation
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.



    case 1:{ SetTimerEx("Unjail",500000,false,"i",knastid); SendClientMessage(knastid,Rot,"Du wurdest für 500Sekunden ins Gefängnis gebracht!"); GivePlayerMoney(playerid,1000);936> jailed[knastid]1;}


    und wenn ich den stock nehme von jeffry kommt



    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(937) : error 010: invalid function or declaration
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(944) : error 010: invalid function or declaration
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(951) : error 010: invalid function or declaration
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(958) : error 010: invalid function or declaration
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(965) : error 010: invalid function or declaration
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(972) : error 010: invalid function or declaration
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(980) : error 010: invalid function or declaration
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    7 Errors.

    public OnPlayerStateChange(playerid, newstate, oldstate)
    {
    if(newstate == PLAYER_STATE_DRIVER)
    {
    if(!IsPlayerAnschein(playerid,1))
    {
    SendClientMessage(playerid, Rot, "Du hast noch keinen Führerschein/schlüssel du hast keine Ahnung wie das Fahrzeug angeht...");
    SendClientMessage(playerid, Blau, "Du verlässt das Fahrzeug");
    RemovePlayerFromVehicle(playerid);
    return 1;
    }
    }
    return 1;
    }

    hallo vilicht könnt hir mir weiter helfen beikomme die Error nicht weck




    C:\Users\david\Desktop\test.pwn(300) : error 017: undefined symbol "jailed"
    C:\Users\david\Desktop\test.pwn(300) : warning 215: expression has no effect
    C:\Users\david\Desktop\test.pwn(300) : error 001: expected token: ";", but found "]"
    C:\Users\david\Desktop\test.pwn(300) : error 029: invalid expression, assumed zero
    C:\Users\david\Desktop\test.pwn(300) : 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.






    ocmd:arrest(playerid,params[])
    {
    new pID;
    if(isPlayerInFrakt(playerid,1) || isPlayerInFrakt(playerid,2) || isPlayerInFrakt(playerid,3))
    if(sscanf(params,"u",pID))return SendClientMessage(playerid,ROT,"Benutze /knast [id]");
    if(GetPlayerWantedLevel(pID)>=1)
    if(!IsPlayerInRangeOfPoint(playerid,5,1215.9474,-1820.8887,13.5954) || !IsPlayerInRangeOfPoint(pID,5,1215.9474,-1820.8887,13.5954))return SendClientMessage(playerid,ROT,"Du und der Gefangene müssen beide am Knastpunkt sein!");
    Jailer(playerid,pID);
    return 1;
    }


    stock Jailer(playerid,knastid)
    {
    SetPlayerPos(knastid,198.4943,162.0886,1003.0300);
    SetPlayerInterior(knastid,3);
    switch(GetPlayerWantedLevel(knastid))
    {
    case 1:
    {
    SetTimerEx("Unjail",500000,false,"i",knastid);
    SendClientMessage(knastid,ROT,"Du wurdest für 500Sekunden ins Gefängnis gebracht!");
    GivePlayerMoney(playerid,1000);
    jailed[knastid]1;
    }
    case 2:
    {
    SetTimerEx("Unjail",1000000,false,"i",knastid);
    SendClientMessage(knastid,ROT,"Du wurdest für 1000Sekunden ins Gefängnis gebracht!");
    GivePlayerMoney(playerid,2000);
    jailed[knastid]=1;
    }
    case 3:
    {
    SetTimerEx("Unjail",1500000,false,"i",knastid);
    SendClientMessage(knastid,ROT,"Du wurdest für 1500Sekunden ins Gefängnis gebracht!");
    GivePlayerMoney(playerid,3000);
    jailed[knastid]=1;
    }
    case 4:
    {
    SetTimerEx("Unjail",2000000,false,"i",knastid);
    SendClientMessage(knastid,ROT,"Du wurdest für 2000Sekunden ins Gefängnis gebracht!");
    GivePlayerMoney(playerid,4000);
    jailed[knastid]=1;
    }
    case 5:
    {
    SetTimerEx("Unjail",2500000,false,"i",knastid);
    SendClientMessage(knastid,ROT,"Du wurdest für 2500Sekunden ins Gefängnis gebracht!");
    GivePlayerMoney(playerid,5000);
    jailed[knastid]=1;
    }
    case 6:
    {
    SetTimerEx("Unjail",3000000,false,"i",knastid);
    SendClientMessage(knastid,ROT,"Du wurdest für 3000Sekunden ins Gefängnis gebracht!");
    GivePlayerMoney(playerid,6000);
    jailed[knastid]=1;
    }
    }
    return 1;
    }


    forward Unjail(playerid);
    public Unjail(playerid)
    {
    jailed[playerid]=0;
    SetPlayerPos(playerid,197.8431,158.3999,1003.0234);
    SendClientMessage(playerid,BLAU,"[Entlassen] ");
    SendClientMessage(playerid,BLAU,"Sei in Zukunft ein guter Mensch!");
    return 1;
    }