Beiträge von Akrep

    Okay das funktuniert immernoch nicht, zwar keine errors aber man kann überall tanken...
    hier der tank befehl:
    ocmd:tanken(playerid,params[])
    {
    #pragma unused params
    if(IsAtTanke(playerid))
    if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER)return SendClientMessage(playerid,ROT,"Du musst Autofahrer sein.");
    new vehid = GetPlayerVehicleID(playerid);
    if(TanktGerade[vehid])return SendClientMessage(playerid,ROT,"Du tankst doch gerade schon.");
    if(Motor[vehid] == true)return SendClientMessage(playerid,ROT,"Es wäre klug vor dem Tanken den Motor auszuschalten.");
    new ZuTanken = 100-Tank[vehid];
    new preis = ZuTanken * BENZINPREIS;
    if(GetPlayerMoney(playerid) -preis < 0)return SendClientMessage(playerid,ROT,"Du hast nicht genügend Geld dabei.");
    GivePlayerMoney(playerid,-preis);
    SendClientMessage(playerid,GRÜN,"Tankvorgang wurde gestartet. Bitte warten ...");
    SetCameraBehindPlayer(playerid);
    TogglePlayerControllable(playerid,0);
    TanktGerade[vehid] = true;
    tanktimer[playerid] = SetTimerEx("Auftanken",500,true,"i",playerid);
    return 1;
    }

    C:\Users\metin\.MCReferenceSdk\server\gamemodes\selfmade.pwn(3065) : warning 235: public function lacks forward declaration (symbol "IsAtTanke")


    Error :s

    if(IsAtTanke(playerid);



    bei
    public IsAtTanke(playerid)
    {
    if(IsPlayerConnected(playerid))
    {
    if(IsPlayerInRangeOfPoint(playerid,15.0,1004.0070,-939.3102,42.1797) || IsPlayerInRangeOfPoint(playerid,15.0,1944.3260,-1772.9254,13.3906))
    {
    return 1;
    }
    else if(IsPlayerInRangeOfPoint(playerid,15.0,-90.5515,-1169.4578,2.4079) || IsPlayerInRangeOfPoint(playerid,15.0,-1609.7958,-2718.2048,48.5391))
    {
    return 1;
    }
    else if(IsPlayerInRangeOfPoint(playerid,15.0,-2029.4968,156.4366,28.9498) || IsPlayerInRangeOfPoint(playerid,15.0,-2408.7590,976.0934,45.4175))
    {
    return 1;
    }
    else if(IsPlayerInRangeOfPoint(playerid,15.0,-2243.9629,-2560.6477,31.8841) || IsPlayerInRangeOfPoint(playerid,6.0,-1676.6323,414.0262,6.9484))
    {
    return 1;
    }
    else if(IsPlayerInRangeOfPoint(playerid,15.0,2202.2349,2474.3494,10.5258) || IsPlayerInRangeOfPoint(playerid,15.0,614.9333,1689.7418,6.6968))
    {
    return 1;
    }
    else if(IsPlayerInRangeOfPoint(playerid,15.0,-1328.8250,2677.2173,49.7665) || IsPlayerInRangeOfPoint(playerid,15.0,70.3882,1218.6783,18.5165))
    {
    return 1;
    }
    else if(IsPlayerInRangeOfPoint(playerid,15.0,2113.7390,920.1079,10.5255) || IsPlayerInRangeOfPoint(playerid,15.0,-1327.7218,2678.8723,50.0625))
    {
    return 1;
    }
    else if(IsPlayerInRangeOfPoint(playerid,15.0,2146.6143,2748.4758,10.3852)||IsPlayerInRangeOfPoint(playerid,15.0,2639.0022,1108.0353,10.3852))
    {
    return 1;
    }
    else if(IsPlayerInRangeOfPoint(playerid,15.0,1598.2035,2198.6448,10.3856))
    {
    return 1;
    }
    }
    return 0;
    }

    Nunja wir haben fast April, ich denke es ist etwas zu spät wegen den transfers usw...
    In paar Monaten kommt schon Fifa 14 (boaah ging das schnell...)


    Wie willst du denn spielen? Offline Modus oder Online?