Beiträge von Slash™


    find ich auch ^^ aber naja hauptsache es geht, so versteh ich das wenigstens :D

    Payday system habe ich ja .
    aber ich komme mit dem erfahrungs system nicht klar :)


    mach in dein enum respektp oder so
    und dann beim payday SpielerInfo[playerid][respektp]+1; anpassen


    und dann abfragen
    if(SpielerInfo[playerid][respektp]==1)

    Hey, ich wollte bei meinem jobsystem machen das man checkpoints abfahren muss, aber es geht nicht, es geht von ersten checkpoint gleich zum letzten, was mache ich falsch?


    if(GetPVarInt(playerid,"str") == 1)
    {
    SetPlayerCheckpoint(playerid, 1691.3373,-1637.9550,13.3828, 3.0);
    SetPVarInt(playerid,"str",2);
    }
    if(GetPVarInt(playerid,"str") == 2)
    {
    SetPlayerCheckpoint(playerid, 1661.6512,-1524.3806,13.3828, 3.0);
    SetPVarInt(playerid,"str",3);
    }
    if(GetPVarInt(playerid,"str") == 3)
    {
    SetPlayerCheckpoint(playerid, 1563.8516,-1438.4923,13.3828, 3.0);
    SetPVarInt(playerid,"str",4);
    }
    if(GetPVarInt(playerid,"str") == 4)
    {
    SetPlayerCheckpoint(playerid, 1371.4841,-1394.2799,13.4201, 3.0);
    SetPVarInt(playerid,"str",5);
    }
    if(GetPVarInt(playerid,"str") == 5)
    {
    SetPlayerCheckpoint(playerid, 1180.6565,-1396.7629,13.2467, 3.0);
    SetPVarInt(playerid,"str",6);
    }
    if(GetPVarInt(playerid,"str") == 6)
    {
    SetPlayerCheckpoint(playerid, 1058.6385,-1442.2699,13.3599, 3.0);
    SetPVarInt(playerid,"str",7);
    }
    if(GetPVarInt(playerid,"str") == 7)
    {
    SetPlayerCheckpoint(playerid, 1035.3191,-1741.6403,13.3812, 3.0);
    SetPVarInt(playerid,"str",8);
    }
    if(GetPVarInt(playerid,"str") == 8)
    {
    SetPlayerCheckpoint(playerid, 1108.0007,-1854.8330,13.3828, 3.0);
    SetPVarInt(playerid,"str",9);
    }
    if(GetPVarInt(playerid,"str") == 9)
    {
    SetPlayerCheckpoint(playerid, 1245.9342,-1854.9565,13.3828, 3.0);
    SetPVarInt(playerid,"str",10);
    }
    if(GetPVarInt(playerid,"str") == 10)
    {
    SetPlayerCheckpoint(playerid, 1429.3011,-1875.5471,13.3828, 3.0);
    SetPVarInt(playerid,"str",1);
    }
    if(GetPVarInt(playerid,"str") == 11)
    {
    SetPlayerCheckpoint(playerid, 1635.6691,-1888.2684,13.5549, 3.0);
    }

    format(Car,sizeof(Car),"/Car/%s's Auto %d.txt",playername(playerid), i);// HIER IST DER ERROR
    zu
    format(Car,sizeof(Car),"/Car/%s's Auto %d.txt",playername(i),i;// HIER IST DER ERROR

    einstellungen -> optionen -> und haken bei vortgeschrittenen rechtesystem rein.


    danach rechte -> servergruppen und in die suchfunktion das recht was der vorposter geschrieben hat und dann -1

    Hey, ich wollte grad eben meinen samp server neuinstallieren, nach dem ich debian neu installieren wollte.
    Ich habs wie gewohnt mit Screen versucht aber dann kan die meldung Screen is Terminating.
    Was mache ich Falsch?


    bitte um Hilfe

    SetTimer("payday",60000,true); //1min
    forward payday();


    unten im script
    public payday()
    {
    for(new i=0; i<MAX_PLAYERS; i++)
    {
    if(!IsPlayerConnected(i))continue;
    if(GetPVarInt(i,"Eingeloggt")==0)continue;
    SpielerInfo[i][pPayday] += 1;
    {
    if(SpielerInfo[i][pPayday] == 60)
    {
    SpielerInfo[i][pPayday] = 0;
    SendClientMessage(i,blau,"Payday. Du erhältst 300$."); // noch anpassen
    GivePlayerMoney(i,300);
    }

    }
    }
    return 1;
    }
    musst nur noch zeit abspeichern