Beiträge von MrReece

    Hey leute, hab paar errors -.- wieso?


    error 017: undefined symbol "carX"
    warning 213: tag mismatch
    error 017: undefined symbol "carY"
    warning 213: tag mismatch
    error 017: undefined symbol "carZ"
    fatal error 107: too many error messages on one line



    public AutohausConnect(playerid)
    {
    new i;
    new dateiname[MAX_PLAYER_NAME+4];
    new playername[MAX_PLAYER_NAME];
    Carlist[playerid][Typ]=-1; Carlist[playerid][carX]=0.0; Carlist[playerid][carY]=0.0; Carlist[playerid][carZ]=0.0;
    Carlist[playerid][Rotation]=0.0; Carlist[playerid][Status]=0; Carlist[playerid][Lock]=0; Carlist[playerid][Carid]=-1;
    Carlist[playerid][Farbe1]=-1; Carlist[playerid][Farbe2]=-1; Carlist[playerid][modi1]=-1; Carlist[playerid][modi2]=-1;
    Carlist[playerid][modi3]=-1; Carlist[playerid][modi4]=-1; Carlist[playerid][modi5]=-1; Carlist[playerid][modi6]=-1;
    Carlist[playerid][modi7]=-1; Carlist[playerid][modi8]=-1; Carlist[playerid][modi9]=-1; Carlist[playerid][modi10]=-1;
    Carlist[playerid][modi11]=-1; Carlist[playerid][modi12]=-1; Carlist[playerid][modi13]=-1; Carlist[playerid][modi14]=-1;
    Carlist[playerid][modi15]=-1; Carlist[playerid][modi16]=-1; Carlist[playerid][modi17]=-1; Carlist[playerid][Paintjob]=-1;
    Spectating[playerid][0]=-1;
    GetPlayerName(playerid, playername, sizeof(playername));
    format(dateiname, sizeof(dateiname), "%s.car", playername);
    if (fexist(dateiname))
    {
    new File: CarFile = fopen(dateiname, io_read);
    if ( CarFile )
    {
    new key[ 256 ];
    new Data[ 256 ];
    while ( fread( CarFile , Data , sizeof( Data ) ) )
    {
    key = ini_GetKey(Data);
    if(strcmp(key,"AH_Typ",true)==0) { Carlist[playerid][Typ]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_X",true)==0) { Carlist[playerid][carX]=floatstr(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_Y",true)==0) { Carlist[playerid][carY]=floatstr(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_Z",true)==0) { Carlist[playerid][carZ]=floatstr(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_Rot",true)==0) { Carlist[playerid][Rotation]=floatstr(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_Status",true)==0) { Carlist[playerid][Status]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_Lock",true)==0) { Carlist[playerid][Lock]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_Paintjob",true)==0) { Carlist[playerid][Paintjob]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_Farbe1",true)==0) { Carlist[playerid][Farbe1]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_Farbe2",true)==0) { Carlist[playerid][Farbe2]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_modi1",true)==0) { Carlist[playerid][modi1]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_modi2",true)==0) { Carlist[playerid][modi2]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_modi3",true)==0) { Carlist[playerid][modi3]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_modi4",true)==0) { Carlist[playerid][modi4]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_modi5",true)==0) { Carlist[playerid][modi5]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_modi6",true)==0) { Carlist[playerid][modi6]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_modi7",true)==0) { Carlist[playerid][modi7]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_modi8",true)==0) { Carlist[playerid][modi8]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_modi9",true)==0) { Carlist[playerid][modi9]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_modi10",true)==0) { Carlist[playerid][modi10]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_modi11",true)==0) { Carlist[playerid][modi11]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_modi12",true)==0) { Carlist[playerid][modi12]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_modi13",true)==0) { Carlist[playerid][modi13]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_modi14",true)==0) { Carlist[playerid][modi14]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_modi15",true)==0) { Carlist[playerid][modi15]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_modi16",true)==0) { Carlist[playerid][modi16]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_modi17",true)==0) { Carlist[playerid][modi17]=strval(ini_GetValue(Data)); }
    }
    }
    fclose(CarFile);
    if(Carlist[playerid][Typ]!=-1 && Carlist[playerid][Status]==1)
    {
    Carlist[playerid][Carid]=CreateTunedCar(playerid);
    }
    }
    for(i=0; i<MAX_PLAYERS; i++)
    {
    if(Carlist[i][Carid]!=-1 && Carlist[i][Lock]==1 && i!=playerid) { SetVehicleParamsForPlayer(Carlist[i][Carid],playerid,0,1); }
    if(Spectating[i][0]!=-1) { SetVehicleParamsForPlayer(Kaufliste[Spectating[i][0]][Carid],playerid,0,1); }
    }
    return 1;
    }

    hey leute, hab ne frage:


    Und zwar, hab ich beim Moderntopia, diese skin auswahl entfällt, allerdings entfällt sie auch bei F4 und dann tot -.-: Hab hier mal ein Beispiel aus PRS.


    Ich hab 2 stunden lang gebastelt und das nit hin bekommen. Wie mach ich das Die Skin auswahl am anfang beim login/register entfällt aber nit bei F4. Wenn das nicht geht. Wie mach ich das man mit /clothes den skin changen kann? BItte helft mir -.- ich hab sonst niemanden ausser euch :(


    public OnPlayerRequestClass(playerid, classid)
    {
    new string[128];
    PlayerPlaySound(playerid, 1131, 0.0, 0.0, 0.0);
    PlayerInfo[playerid][pModel] = Peds[classid][0];
    if (classid == 1)
    {
    format(string, sizeof(string), "~b~ Polizeileitung ~r~>STAAT<");
    GameTextForPlayer(playerid,string,3500,6);
    }
    else if (classid == 2)
    {
    format(string, sizeof(string), "~b~ Geheimdienst ~r~>STAAT<");
    GameTextForPlayer(playerid,string,3500,6);
    }
    else if (classid == 3)
    {
    format(string, sizeof(string), "~b~ Bundeswehrleitung ~r~>STAAT<");
    GameTextForPlayer(playerid,string,3500,6);
    }
    else if (classid == 4)
    {
    format(string, sizeof(string), "~b~ Sanitaeterleitung ~r~>STAAT<");
    GameTextForPlayer(playerid,string,3500,6);
    }
    else if (classid == 5)
    {
    format(string, sizeof(string), "~b~ La Cosa Nostra Boss~g~>Mafia<");
    GameTextForPlayer(playerid,string,3500,6);
    }
    else if (classid == 6)
    {
    format(string, sizeof(string), "~b~ Yakuza Boss ~g~>Mafia<");
    GameTextForPlayer(playerid,string,3500,6);
    }
    else if (classid == 7)
    {
    format(string, sizeof(string), "~y~ Staatsoberhaupt");
    GameTextForPlayer(playerid,string,3500,6);
    }
    else if (classid == 8)
    {
    format(string, sizeof(string), "~b~ Firmenleitung ~g~>Mafia<");
    GameTextForPlayer(playerid,string,3500,6);
    }
    else if (classid == 9)
    {
    format(string, sizeof(string), "~b~ Reporter Leitung Neutral");
    GameTextForPlayer(playerid,string,3500,6);
    }
    else if (classid == 10)
    {
    format(string, sizeof(string), "~b~ Taxileitung Neutral");
    GameTextForPlayer(playerid,string,3500,6);
    }
    else if (classid == 11)
    {
    format(string, sizeof(string), " ~r~ Adminstratorische Fraktion");
    GameTextForPlayer(playerid,string,3500,6);
    }



    else
    {
    format(string, sizeof(string), "~r~Zivilisten des Servers");
    GameTextForPlayer(playerid,string,3500,6);
    }
    SetPlayerTeamFromClass(playerid,classid);
    SetupPlayerForClassSelection(playerid);
    return 1;
    }


    public SetupPlayerForClassSelection(playerid)
    {
    switch (gTeam[playerid])
    {
    case TEAM_BLUE:
    {
    SetPlayerInterior(playerid,5);
    SetPlayerPos(playerid,323.4,305.6,999.1);
    SetPlayerFacingAngle(playerid, 90.0);
    SetPlayerCameraPos(playerid,323.4-1.5-1.0,305.6,999.1+0.7);
    SetPlayerCameraLookAt(playerid,323.4-1.0,305.6,999.1+0.7);


    }
    case TEAM_ADMIN:
    {
    SetPlayerInterior(playerid,1);
    SetPlayerPos(playerid,-744.0428,487.4761,1371.7231);
    SetPlayerFacingAngle(playerid, 235.7871);
    SetPlayerCameraPos(playerid,-740.1805,485.9630,1371.8333);
    SetPlayerCameraLookAt(playerid,-743.1526,487.7991,1371.7958);
    }
    default:
    { //-------------[Login Class}------------ Mount Chilliad - San Fiero
    SetPlayerInterior(playerid,1);
    SetPlayerPos(playerid,-744.0428,487.4761,1371.7231); // Login Fenster - Postion des Spielers
    SetPlayerFacingAngle(playerid,235.7871);
    SetPlayerCameraPos(playerid, -740.1805,485.9630,1371.8333); // Kamera Postion
    SetPlayerCameraLookAt(playerid,-743.1526,487.7991,1371.7958); // Von wo die Postion schaut.
    }
    }
    }


    //---------------------------------------------------------


    public SetPlayerTeamFromClass(playerid,classid)
    {
    if (classid >= 1 && classid <= 11)
    {
    gTeam[playerid] = 11; //admin
    PlayerInfo[playerid][pTeam] = 11;
    }
    else
    {
    gTeam[playerid] = 3;
    PlayerInfo[playerid][pTeam] = 3;
    }
    }

    Hey Leute, Wie mach ich Das man /sellhotdog id preis machen muss?


    Ausserdem Sollte der befehl nur am Hotdogstand gehen oder im Hotdog Van



    if(strcmp(cmd, "/sellhotdog", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pJob] == 20)
    {
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid,COLOR_GREY,"USAGE: /sellhotdog [playerid]");
    return 1;
    }
    gPlayer = strval(tmp);
    if(IsPlayerConnected(gPlayer))
    {
    if(GetDistanceBetweenPlayers(playerid,gPlayer) < 2)
    {
    new Float:HP; GetPlayerHealth(gPlayer,HP);
    if(HP > 90)
    {
    SendClientMessage(playerid,COLOR_GREY,"* Dieser Spieler hat volle HP und keinen Hunger!");
    return 1;
    }
    GetPlayerName(playerid, pName, sizeof(pName));
    GetPlayerName(gPlayer, gName, sizeof(gName));
    format(string, sizeof(string), "* Hotdog Verkäufer %s verkauft einen Hotdog an %s.", pName,gName);
    ProxDetector(25.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
    SetPlayerHealth(gPlayer,HP+25);
    GivePlayerMoney(playerid, -50);
    } else {
    SendClientMessage(playerid,COLOR_GREY,"* Du bist zu weit entfernt!");
    }
    } else {
    SendClientMessage(playerid,COLOR_GREY,"* Spieler Offline!");
    }
    } else {
    SendClientMessage(playerid,COLOR_GREY,"* Du bist kein HotDog Verkäufer!");
    }
    }
    return 1;
    }

    Hier der Stand



    if(strcmp(cmdtext, "/Standaufbauen", true)==0)
    {
    if (PlayerInfo[playerid][pJob] != 20) return SendClientMessage(playerid, COLOR_GREY, "Du bist kein Hot Dog Verkäufer!");
    if (PlayerInfo[playerid][pStand] != 0) return SendClientMessage(playerid, COLOR_GREY, "Du kannst nur einen HotDog Stand.");
    new Float:X, Float:Y, Float:Z, Float:A;
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, A);
    PlayerInfo[playerid][pStand] = CreateObject(1340, X+1, Y, Z, 0.0, 0.0, A+180);
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i))
    {
    if(PlayerInfo[playerid][pJob] != 20)
    {
    SetPlayerCheckpoint(playerid, X, Y, Z-10, 1.0);
    }


    }
    }
    return 1;
    }


    Thanks!

    Hab hier Mülltonnen

    if(PlayerToPoint(5.0,playerid,808.5833,-1354.7733,13.5421))
    if(PlayerToPoint(5.0,playerid,728.8675,-1112.3884,19.1510))
    if(PlayerToPoint(5.0,playerid,584.3953,-1572.5753,16.1797))
    if(PlayerToPoint(5.0,playerid,359.4162,-2027.0582,7.8359))
    if(PlayerToPoint(5.0,playerid,445.4802,-1341.2001,15.1924))
    if(PlayerToPoint(5.0,playerid,828.2795,-1020.0009,27.7487))
    if(PlayerToPoint(5.0,playerid,1182.7078,-895.3671,43.2715))
    if(PlayerToPoint(5.0,playerid,1424.0911,-1022.6113,23.8281))
    if(PlayerToPoint(5.0,playerid,1505.1299,-1753.9034,13.5469))
    if(PlayerToPoint(5.0,playerid,1930.5769,-1785.5840,13.5469))
    if(PlayerToPoint(5.0,playerid,1847.8452,-1865.5027,13.5781))
    if(PlayerToPoint(5.0,playerid,1957.0872,-2179.1011,13.5469))
    if(PlayerToPoint(5.0,playerid,2296.2407,-1647.6683,14.8078))
    if(PlayerToPoint(5.0,playerid,1083.5424,-1386.3646,13.7982))
    if(PlayerToPoint(5.0,playerid,2015.4595,-1283.3431,23.9751))


    Untereinander check das script die tonnen nit, Wie mach ich das er die alle annimmt?

    Hey Suche ein Anti Cheat System:


    Hab schon alles durch gesucht...


    Es sollte so sein:


    Wenn man Geld Cheatet wird der Alte betrag wiederher gestellt


    Wenn man Waffen Cheatet hat man nit ma zeit zu scrollen um die waffe zu benutzen.


    Ohne Bann oder Kick. Einfach Remove :S Alles was ich gesehen hab war mit bann :S


    Allerdings sollte /money id geld und /givemoney id geld noch gehen und Givegun, GEHT das?


    LG

    Hey leute,


    da ihr mir schon so nett geholfen habt ;)


    Hätt ich noch ne frage:


    Wie kann man einen befehl machen der bei: /bug (beschreibung ) man kann im taxi kein fare machen z.b.
    an eine bestimmte E-Mail Adresse Sendet mit dem Betreff: Bug
    dann soll da stehen


    Entweder:
    XXX Hat einen Bug gemeldet:


    oder
    Ein bug wurde gemeldet: ....


    LG Reeeeeeeeeeeeeeeeece

    Hey, ich suche ein /robtransporter script oder etwas das ich ins script einbauen kann, da ich auf sehr vielen server gesehen hab das da alles gleich ist denk ich mir wird das nicht schwer sein oder? Hab bei forum.sa-mp.com nit wirklich was gefunden allerdings auch nicht genau den suchbegriff gewusst.


    LG

    Hey wollte gerne wissen wie ich ein neues gteam erstelle -.- hab mal was ausprobiert funzt aber nit so-.-


    Würde gerne gteam 5 Haben.


    Damit sollte man Cuffen/Uncuffen, Tazern und Tickets verteilen können.


    Thanks

    Hey: Wie füg ich das so richtig ein xD? <Nooby



    Von:


    public OnFilterScriptExit()
    {
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    for(new o = 0; o < sizeof(Objects); o++)
    {
    if(Player[i][view][o])
    {
    Player[i][view][o] = false;
    DestroyPlayerObject(i,Player[i][objid][o]);
    }
    }
    }

    KillTimer(timer);
    }

    Ins:

    public GameModeInitExitFunc()
    {
    new string[128];
    format(string, sizeof(string), "www.---------.com");
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i))
    {
    DisablePlayerCheckpoint(i);
    gPlayerCheckpointStatus[i] = CHECKPOINT_NONE;
    GameTextForPlayer(i, string, 4000, 5);
    SetPlayerCameraPos(i,1460.0, -1324.0, 287.2);
    SetPlayerCameraLookAt(i,1374.5, -1291.1, 239.0);
    OnPlayerUpdate(i);
    gPlayerLogged[i] = 0;
    }
    }
    SetTimer("GameModeExitFunc", 4000, 0);
    return 1;
    }



    KillTimer(timer);
    hab ich schon...
    2.

    Von:
    public OnPlayerConnect(playerid)
    {
    for(new i = 0; i < sizeof(Objects); i++) Player[playerid][view][i] = false;
    }

    In

    public OnPlayerConnect(playerid)
    {
    if(Security != 0)
    {
    SendClientMessage(playerid, COLOR_YELLOW, "Host has broken one of the Agreement rules, action has been taken.");
    Kick(playerid);
    return 1;
    }
    SetTimerEx("Godmode",100,1,"d",playerid);
    gActivePlayers[playerid]++;
    numplayers++;
    new plname[MAX_PLAYER_NAME];
    new string[MAX_PLAYER_NAME];
    SelectChar[playerid] = 0; HidePM[playerid] = 0; PhoneOnline[playerid] = 0; einloggen[playerid] = true;
    SelectCharID[playerid] = 0; SelectCharPlace[playerid] = 0; ChosenSkin[playerid] = 0;
    GettingJob[playerid] = 0; GuardOffer[playerid] = 999; GuardPrice[playerid] = 0;
    ApprovedLawyer[playerid] = 0; CallLawyer[playerid] = 0; WantLawyer[playerid] = 0;
    ...
    3.
    Von:

    public OnPlayerDisconnect(playerid)
    {
    for(new i = 0; i < sizeof(Objects); i++)
    {
    if(Player[playerid][view][i])
    {
    Player[playerid][view][i] = false;
    DestroyPlayerObject(playerid,Player[playerid][objid][i]);
    }
    }
    }

    In:

    public OnPlayerDisconnect(playerid)
    {
    gActivePlayers[playerid]--;
    numplayers--;
    PlayerInfo[playerid][pAdjustable] = 1;
    OnPlayerUpdate(playerid);
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i))
    {
    if(TaxiAccepted[i] < 999)
    {
    if(TaxiAccepted[i] == playerid)
    {
    TaxiAccepted[i] = 999;

    ...


    LG

    Hey,
    hab ein problem mit meinen 2 Medic Spawns.


    Und zwar wenn ich Sterbe und zum anderen Spawnen Soll Crashe ich -.-


    Hab hier meinen Code den ich zur zeit verwende:



    new Float:gMedicSpawns[2][3] = {
    {1182.5526,-1323.4912,13.5791},
    {2033.2047,-1415.6168,16.9922}
    };


    if(MedicBill[playerid] == 1 && PlayerInfo[playerid][pJailed] == 0 && PlayerPaintballing[playerid] == 0)
    {
    new string[256];
    new cut = deathcost; //PlayerInfo[playerid][pLevel]*deathcost;
    GivePlayerMoney(playerid, -cut);
    format(string, sizeof(string), "DOC: Your Medical Bill comes to $%d, Have a nice day.", cut);
    SendClientMessage(playerid, TEAM_CYAN_COLOR, string);
    MedicBill[playerid] = 0;
    MedicTime[playerid] = 0;
    NeedMedicTime[playerid] = 0;
    PlayerInfo[playerid][pDeaths] += 1;
    SetPlayerHealth(playerid, 25.0);
    /*SetPlayerInterior(playerid, 5);
    rand = random(sizeof(gMedicSpawns));
    SetPlayerPos(playerid, gMedicSpawns[rand][0], gMedicSpawns[rand][1], gMedicSpawns[rand][2]); // Warp the player
    SetPlayerFacingAngle(playerid, 270.0);
    TogglePlayerControllable(playerid, 0);
    GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~y~You are recovering from your ~r~wounds~y~...", 35000, 3);
    MedicTime[playerid] = 1;
    if(PlayerInfo[playerid][pDonateRank] > 0)
    {
    NeedMedicTime[playerid] = 30;
    }
    else
    {
    NeedMedicTime[playerid] = 60;
    }
    PlayerPlaySound(playerid, 1062, 0.0, 0.0, 0.0);
    return 1;*/
    }



    if (PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)//Fire/Ambulance spawn
    {
    SetPlayerToTeamColor(playerid);
    SetPlayerInterior(playerid, 0);
    rand = random(sizeof(gMedicSpawns));
    SetPlayerPos(playerid, gMedicSpawns[rand][0], gMedicSpawns[rand][1], gMedicSpawns[rand][2]);
    PlayerInfo[playerid][pInt] = 0;
    GivePlayerWeapon(playerid, 42, 50000);
    gTeam[playerid] = 4;
    return 1;
    }


    Bekomme keinen Error aber Crash wenn ich ingame neu spawne.


    LG

    Hey, ich berauche umbedingt euere hilfe :(


    Ich würde gerne ein automatisches Lotto system haben das immer 5 Min nach dem payday kommt. (wenn möglich mit der zeit, nicht das es sich immer um 5 min verschiebt).


    Also: Wenn man /lotto macht sollte das geld auf das Biz Kommen, man sollte den lotto schein preis über /bizfee verändern können.


    Hier der alte befehl:



    if(strcmp(cmd, "/lotto", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pLottoNr] > 0)
    {
    SendClientMessage(playerid, COLOR_GREY, " You already have a Lottery Ticket !");
    return 1;
    }
    if(GetPlayerMoney(playerid) < 1500)
    {
    SendClientMessage(playerid, COLOR_GREY, " You need $1500 for a Lottery Ticket !");
    return 1;
    }
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp)) {
    SendClientMessage(playerid, COLOR_WHITE,"USAGE: /lotto [number]");
    return 1;
    }
    new lottonr = strvalEx(tmp);
    if(lottonr < 1 || lottonr > 80) { SendClientMessage(playerid, COLOR_GREY, " Lottery Number not below 1 or above 80 !"); return 1; }
    format(string, sizeof(string), "* You bought a Lottery Ticket with number: %d.", lottonr);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
    GivePlayerMoney(playerid, - 1500);
    PlayerInfo[playerid][pLottoNr] = lottonr;
    }
    return 1;
    }

    Hey,


    (1592,542, -1152,865, 1699,021, -1073,91);


    Muss ich noch Timer setzen?


    Bei OnPlayerUpdate...

    public OnPlayerUpdate(playerid)
    {
    if(IsPlayerConnected(playerid))
    {
    if(gPlayerLogged[playerid])
    {
    new string3[32];
    new playername3[MAX_PLAYER_NAME];
    GetPlayerName(playerid, playername3, sizeof(playername3));
    format(string3, sizeof(string3), "%s.ini", playername3);
    new File: hFile = fopen(string3, io_write);
    if (hFile)
    {

    ....


    LG Reece

    Hey leute hab ne, frage wie mach ich IsPlayerInArea für 2 Gründe:
    A: Möchte ne fläche haben wo autos nicht kaputt gehen können.
    B:Automatische Gates, hab das im mom mit Timern und das find ich nicht gut weil wenn man im playertopoint steht und es zugehen will ruckelt das so bissel. Mein Wunsch wäre das IsPlayerInArea das gate aufgeht und wenn dieser fraktionsspieler diese Area verlassen hat, geht es zu.


    IsPlayerInArea mit Minx und so? Wie bei gangzones?


    LG Euer Hair Cutter aus der Grove Mr Old Reece