Beiträge von xuNsHiNe

    C:\Users\Marcel\Desktop\lcr.pwn(90) : warning 213: tag mismatch
    C:\Users\Marcel\Desktop\lcr.pwn(90) : warning 213: tag mismatch
    C:\Users\Marcel\Desktop\lcr.pwn(90) : warning 213: tag mismatch
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    3 Warnings.


    in der Zeile


    if(!Spieler[playerid][lastx] == 0.0 && !Spieler[playerid][lasty] == 0.0 && !Spieler[playerid][lastz] == 0.0)

    C:\Users\Marcel\Desktop\lcr.pwn(89) : warning 213: tag mismatch
    C:\Users\Marcel\Desktop\lcr.pwn(89) : warning 213: tag mismatch
    C:\Users\Marcel\Desktop\lcr.pwn(89) : warning 213: tag mismatch
    C:\Users\Marcel\Desktop\lcr.pwn(93) : error 017: undefined symbol "X"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.


    public OnPlayerSpawn(playerid)
    {
    new pname[MAX_PLAYERS],accFormat[128];
    GetPlayerName(playerid,pname,sizeof pname);
    format(accFormat,sizeof accFormat,"/LCR/Account/%s.datei",pname);
    if(dini_Isset(accFormat,"lastx"))
    {
    if(!Spieler[playerid][lastx] == 0.0 && !Spieler[playerid][lasty] == 0.0 && !Spieler[playerid][lastz] == 0.0)
    {
    SetPlayerPos(playerid,Spieler[playerid][lastx],Spieler[playerid][lasty],Spieler[playerid][lastz]);
    }
    else { SetPlayerPos(playerid, X, Y, Z); }
    }
    return 1;
    }
    lg Marci

    So?


    public OnPlayerSpawn(playerid)
    {
    new pname[MAX_PLAYERS],accFormat[128];
    GetPlayerName(playerid,pname,sizeof pname);
    format(accFormat,sizeof accFormat,"/LCR/Account/%s.datei",pname);
    if(dini_Isset(accFormat,"lastx"))
    {
    if(!Spieler[playerid][lastx] == 0.0 && !Spieler[playerid][lasty] == 0.0 && !Spieler[playerid][lastz] == 0.0)
    {
    SetPlayerPos(playerid,Spieler[playerid][lastx],Spieler[playerid][lasty],Spieler[playerid][lastz]);
    }
    else { SetPlayerPos(playerid, X, Y, Z); }
    }
    return 1;
    }


    lg Marci

    OnplayerSpawn


    public OnPlayerSpawn(playerid)
    {
    new pname[MAX_PLAYERS],accFormat[128];
    GetPlayerName(playerid,pname,sizeof pname);
    format(accFormat,sizeof accFormat,"/LCR/Account/%s.datei",pname);
    if(dini_Isset(accFormat,"lastx"))
    {
    SetPlayerPos(playerid,Spieler[playerid][lastx],Spieler[playerid][lasty],Spieler[playerid][lastz]);
    }
    return 1;
    }



    lg Marci

    #include <a_samp>
    #include <dini>


    X(


    Okay ich habe es hinbeckommen danke an alle :)


    aber..


    wen ich mich einlogge fliege ich durch die map ... wie kann ich dass ändern?


    hier onplayerconnect


    public OnPlayerConnect(playerid)
    {
    new pname[MAX_PLAYERS],accFormat[128];
    GetPlayerName(playerid,pname,sizeof pname);
    format(accFormat,sizeof accFormat,"/LCR/Account/%s.datei",pname);
    if(fexist(accFormat))
    {
    ShowPlayerDialog(playerid,DIALOG_LOGIN,1,".:Login:.","Willkommen auf Liberty City Reallife!/nBitte logge dich ein..","Abbrechen","Weiter");
    }
    else
    {
    ShowPlayerDialog(playerid,DIALOG_REG,1,".:Registrieren:.","Willkommen auf Liberty City Reallife!/nBitte Registriere dich..","Abbrechen","Weiter");
    }
    return 1;
    }


    und hier onplayerDisconnect


    public OnPlayerDisconnect(playerid, reason)
    {
    new pname[MAX_PLAYERS],accFormat[128];
    GetPlayerName(playerid,pname,sizeof pname);
    format(accFormat,sizeof accFormat,"/LCR/Account/%s.datei",pname);
    if(fexist(accFormat) && Spieler[playerid][eingeloggt])
    {
    dini_IntSet(accFormat,"wanted",Spieler[playerid][wanted]);
    dini_IntSet(accFormat,"skin",Spieler[playerid][skin]);
    dini_FloatSet(accFormat,"lastx",Spieler[playerid][lastx]);
    dini_FloatSet(accFormat,"lasty",Spieler[playerid][lasty]);
    dini_FloatSet(accFormat,"lastz",Spieler[playerid][lastz]);
    }
    Spieler[playerid][eingeloggt] = 0;
    Spieler[playerid][wanted] = 0;
    Spieler[playerid][skin] = 0;
    Spieler[playerid][lastx] = (0.0);
    Spieler[playerid][lasty] = (0.0);
    Spieler[playerid][lastz] = (0.0);
    return 1;
    }


    lg Marci

    so definiert..


    C:\Users\Marcel\Desktop\lcr.pwn(48) : warning 217: loose indentation
    C:\Users\Marcel\Desktop\lcr.pwn(52) : warning 215: expression has no effect
    C:\Users\Marcel\Desktop\lcr.pwn(56) : warning 215: expression has no effect
    C:\Users\Marcel\Desktop\lcr.pwn(58) : warning 217: loose indentation
    C:\Users\Marcel\Desktop\lcr.pwn(64) : warning 217: loose indentation
    C:\Users\Marcel\Desktop\lcr.pwn(80) : warning 217: loose indentation
    C:\Users\Marcel\Desktop\lcr.pwn(185) : error 025: function heading differs from prototype
    C:\Users\Marcel\Desktop\lcr.pwn(190) : error 025: function heading differs from prototype
    C:\Users\Marcel\Desktop\lcr.pwn(195) : error 025: function heading differs from prototype
    C:\Users\Marcel\Desktop\lcr.pwn(220) : warning 235: public function lacks forward declaration (symbol "OnRconLoginAttempt")
    C:\Users\Marcel\Desktop\lcr.pwn(225) : warning 235: public function lacks forward declaration (symbol "OnPlayerUpdate")
    C:\Users\Marcel\Desktop\lcr.pwn(230) : warning 235: public function lacks forward declaration (symbol "OnPlayerStreamIn")
    C:\Users\Marcel\Desktop\lcr.pwn(235) : warning 235: public function lacks forward declaration (symbol "OnPlayerStreamOut")
    C:\Users\Marcel\Desktop\lcr.pwn(240) : warning 235: public function lacks forward declaration (symbol "OnVehicleStreamIn")
    C:\Users\Marcel\Desktop\lcr.pwn(245) : warning 235: public function lacks forward declaration (symbol "OnVehicleStreamOut")
    C:\Users\Marcel\Desktop\lcr.pwn(250) : warning 235: public function lacks forward declaration (symbol "OnDialogResponse")
    C:\Users\Marcel\Desktop\lcr.pwn(263) : warning 215: expression has no effect
    C:\Users\Marcel\Desktop\lcr.pwn(278) : warning 215: expression has no effect
    C:\Users\Marcel\Desktop\lcr.pwn(286) : warning 215: expression has no effect
    C:\Users\Marcel\Desktop\lcr.pwn(300) : warning 215: expression has no effect
    C:\Users\Marcel\Desktop\lcr.pwn(301) : warning 215: expression has no effect
    C:\Users\Marcel\Desktop\lcr.pwn(307) : warning 235: public function lacks forward declaration (symbol "OnPlayerClickPlayer")
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    3 Errors.


    lg Marci

    dass sind die error..


    C:\Users\Marcel\Desktop\lcr.pwn(47) : warning 217: loose indentation
    C:\Users\Marcel\Desktop\lcr.pwn(51) : error 017: undefined symbol "ShowPlayerDialog"
    C:\Users\Marcel\Desktop\lcr.pwn(55) : error 017: undefined symbol "ShowPlayerDialog"
    C:\Users\Marcel\Desktop\lcr.pwn(57) : warning 217: loose indentation
    C:\Users\Marcel\Desktop\lcr.pwn(63) : warning 217: loose indentation
    C:\Users\Marcel\Desktop\lcr.pwn(79) : warning 217: loose indentation
    C:\Users\Marcel\Desktop\lcr.pwn(184) : error 025: function heading differs from prototype
    C:\Users\Marcel\Desktop\lcr.pwn(189) : error 025: function heading differs from prototype
    C:\Users\Marcel\Desktop\lcr.pwn(194) : error 025: function heading differs from prototype
    C:\Users\Marcel\Desktop\lcr.pwn(219) : warning 235: public function lacks forward declaration (symbol "OnRconLoginAttempt")
    C:\Users\Marcel\Desktop\lcr.pwn(224) : warning 235: public function lacks forward declaration (symbol "OnPlayerUpdate")
    C:\Users\Marcel\Desktop\lcr.pwn(229) : warning 235: public function lacks forward declaration (symbol "OnPlayerStreamIn")
    C:\Users\Marcel\Desktop\lcr.pwn(234) : warning 235: public function lacks forward declaration (symbol "OnPlayerStreamOut")
    C:\Users\Marcel\Desktop\lcr.pwn(239) : warning 235: public function lacks forward declaration (symbol "OnVehicleStreamIn")
    C:\Users\Marcel\Desktop\lcr.pwn(244) : warning 235: public function lacks forward declaration (symbol "OnVehicleStreamOut")
    C:\Users\Marcel\Desktop\lcr.pwn(249) : warning 235: public function lacks forward declaration (symbol "OnDialogResponse")
    C:\Users\Marcel\Desktop\lcr.pwn(262) : error 017: undefined symbol "ShowPlayerDialog"
    C:\Users\Marcel\Desktop\lcr.pwn(277) : error 017: undefined symbol "ShowPlayerDialog"
    C:\Users\Marcel\Desktop\lcr.pwn(285) : error 017: undefined symbol "ShowPlayerDialog"
    C:\Users\Marcel\Desktop\lcr.pwn(299) : error 017: undefined symbol "ShowPlayerDialog"
    C:\Users\Marcel\Desktop\lcr.pwn(300) : error 017: undefined symbol "ShowPlayerDialog"
    C:\Users\Marcel\Desktop\lcr.pwn(306) : warning 235: public function lacks forward declaration (symbol "OnPlayerClickPlayer")
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    10 Errors.


    lg Marci

    der Befehl zum starten ist /laden ... schaut doch mal z.b. Pastbin.. da sind nur 2 befehle


    - /buy laptop
    - /laden


    lg Dave

    Hallo,



    Ich möchte mal so just 4 Fun einen Selfmade machen ka was ich machen will aber vll. so mini RL da wollte ich fragen..



    Wie fangt ihr bei euren Selfmade an?



    Ich weis nicht wie ich anfangen soll X(



    hoffe auf Gute antworten und bitte nix sinlosses..



    lg Dave