/maut

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
  • Hey


    Kann mir jemand vllt. jemand den command /maut scripten?
    Es MUSS aber nur eine Barriere haben.


    Ich habe schon probiert von dieser Anleitung HIER zu ändern,
    dass nur 1 Schranke ist,
    leider kommen dann immer 10 Errors.
    ^^

    mfg Legendary

    MfG FiLL3FL0WS



  • Die hier =>

    C:\Users\****\Desktop\maut.pwn(11) : warning 217: loose indentation
    C:\Users\****\Desktop\maut.pwn(15) : error 076: syntax error in the expression, or invalid function call
    C:\Users\****\Desktop\maut.pwn(15) : error 029: invalid expression, assumed zero
    C:\Users\****\Desktop\maut.pwn(15) : warning 215: expression has no effect
    C:\Users\****\Desktop\maut.pwn(15) : error 001: expected token: ";", but found ")"
    C:\Users\****\Desktop\maut.pwn(15) : fatal error 107: too many error messages on one line

    MfG FiLL3FL0WS



  • #include <a_samp>
    public OnFilterScriptInit()
    {
    print("Loaded");

    new MautStation1;


    MautStation1 = CreateObject(5837,2117.53,848.988,7.33973,0.0,0.0,180.0);


    if(strcmp,"/auf",true)==0);
    {
    if(IsPlayerInRangeOfPoint(playerid,10,2115.39,855.229,7.24);
    {
    GivePlayerMoney(playerid,-5);
    SendClientMessage(playerid,0xA1FF00FF,"5$ bezahlt, viel Spaß bei der Weiterfahrt");
    MoveObject(Maut4,2115.39,855.229,0.0,3.5);
    MoveObject(MautStation1,0.0,0.0,0.0,0.0);
    MoveObject(Maut1,0.0,0.0,0.0,0.0);
    MoveObject(Maut2,0.0,0.0,0.0,0.0);
    MoveObject(Maut3,0.0,0.0,0.0,0.0);
    MoveObject(Maut5,0.0,0.0,0.0,0.0);
    SetTimer("MautTorTimer1",5000,0);
    }
    }
    public OnFilterScriptExit()
    {
    print("UNLOADED");


    return 1;
    }

    MfG FiLL3FL0WS



  • if(strcmp,"/auf",true)==0);
    {
    if(IsPlayerInRangeOfPoint(playerid,10,2115.39,855.229,7.24);
    {
    GivePlayerMoney(playerid,-5);
    SendClientMessage(playerid,0xA1FF00FF,"5$ bezahlt, viel Spaß bei der Weiterfahrt");
    MoveObject(Maut4,2115.39,855.229,0.0,3.5);
    MoveObject(MautStation1,0.0,0.0,0.0,0.0);
    MoveObject(Maut1,0.0,0.0,0.0,0.0);
    MoveObject(Maut2,0.0,0.0,0.0,0.0);
    MoveObject(Maut3,0.0,0.0,0.0,0.0);
    MoveObject(Maut5,0.0,0.0,0.0,0.0);
    SetTimer("MautTorTimer1",5000,0);
    }
    return 1;
    }


  • do.de - Domain-Offensive - Domains für alle und zu super Preisen