Beiträge von DasPascal

    new's:


    new sfpd1;
    new sfpd2;
    new sfpd3;

    dan erklärung:
    sfpd1 = CreateObject(980, -1571.962890625, 661.53253173828, 8.9608917236328, 0, 0, 270.27026367188);
    sfpd2 = CreateObject(971, -1700.1300048828, 684.7265625, 26.201324462891, 0, 0, 270.27026367188);
    sfpd3 = CreateObject(972, -1633.2635498047, 691.58752441406, 6.1875, 0, 0, 270.27026367188);



    forwards:
    forward sfpd1timer();
    forward sfpd2timer();
    forward sfpd3timer();

    public:
    public sfpd1timer()
    {
    MoveObject (sfpd1,-1571.962890625, 661.53253173828, 8.9608917236328, 4);
    return 1;
    }
    public sfpd2timer()
    {
    MoveObject (sfpd2,-1700.1300048828, 684.7265625, 26.201324462891, 4);
    return 1;
    }
    public sfpd3timer()
    {
    MoveObject (sfpd3,-1633.2635498047, 691.58752441406, 6.1875, 4);
    return 1;
    }


    das wars^^

    Hallo,
    ich hab ne frage...


    ... also ich hab Tore gemacht
    aber die wollen net auf wenn man im Auto
    sitzt ;(


    Hier:
    if(newkeys == (KEY_WALK))
    {
    if (PlayerToPoint(40.0, playerid, -1571.9320068359, 661.54284667969, 8.1212449073792))
    {
    if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1||PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    new car = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == 2 && IsPlayerInVehicle(playerid, car))
    {
    MoveObject(sfpd1,-1571.9320068359, 661.54284667969, 3.1212449073792, 4);
    SetTimer("sfpd1timer", 5000, 0);
    }
    }
    }
    else if (PlayerToPoint(40.5, playerid, -1700.0808105469, 684.21929931641, 26.706785202026))
    {// PD--
    if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1||PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    new car = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == 2 && IsPlayerInVehicle(playerid, car))
    {
    MoveObject(sfpd2,-1700.0808105469, 684.21929931641, 16.706785202026, 4);
    SetTimer("sfpd2timer", 5000, 0);
    }
    }
    }
    else if (PlayerToPoint(45.5, playerid, -1633.2602539063, 691.55584716797, 6.4729248285294))
    {// PD--
    if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1||PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    new car = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == 2 && IsPlayerInVehicle(playerid, car))
    {
    MoveObject(sfpd3,-1633.2602539063, 691.55584716797, -1.4729248285294, 4);
    SetTimer("sfpd3timer", 5000, 0);
    }
    }
    }
    }



    Wieso wollen sie nicht?


    Danke
    mfg Pascal

    Also ich Check in mein server ab ob der Spieler in ein Flugzeug / Heli ist
    wenn ja dann darf er igal wie hoch fliegen
    aber wenn der in ein Auto / zu Fuß höher als der Server erlaubt ist dann
    bekomm ich Admin-Warnung und dann kann ihc ihn bannen!

    Danke aber das macht mehr Errors...



    Leider geht das net :S

    Hallo,
    ich hab ein /report dialog gemacht:


    if(strcmp(cmd, "/report", true) == 0)//REPORTMENUE
    {
    if(IsPlayerConnected(playerid))
    {
    ShowPlayerDialog(playerid, REPORTMENUE, DIALOG_STYLE_LIST, "Wähle deine Kategorie aus", "Cheater Report\nReport\nAllgemeine Frage\nSonstiges", "Auswählen", "Abbrechen");
    }
    return 1;
    }


    und da bei dialogRe..


    if(dialogid == REPORTMENUE)
    {
    if(response)
    {
    if(listitem == 0)
    {
    new reportname[64];
    new reportstring[128];
    GetPlayerName(playerid,reportname,sizeof(reportname));
    format(reportstring,sizeof(reportstring),"Willkommen im Cheatersystem\n\n\n Name: %s.\n\nWas möchtest du melden?\n\n\n",reportname);
    ShowPlayerDialog(playerid,REPORTMENU,DIALOG_STYLE_INPUT,"CHEATERSYSTEM",reportstring,"Senden","Abbrechen");
    }
    if(listitem == 1)
    {
    new chname[64];
    new chstring[128];
    GetPlayerName(playerid,chname,sizeof(chname));
    format(chstring,sizeof(chstring),"Willkommen im Reportsystem\n\n\n Name: %s.\n\nWas möchtest du melden?\n\n\n",chname);
    ShowPlayerDialog(playerid,REPORTMENU,DIALOG_STYLE_INPUT,"Reportsystem",chstring,"Senden","Abbrechen");
    }
    if(listitem == 2)
    {
    new fragname[64];
    new fragstring[128];
    GetPlayerName(playerid,fragname,sizeof(fragname));
    format(fragstring,sizeof(fragstring),"Willkommen im Fragesystem\n\n\n Name: %s.\n\nWas möchtest du fragen?\n\n\n",fragname);
    ShowPlayerDialog(playerid,REPORTMENU,DIALOG_STYLE_INPUT,"Fragesystem",fragstring,"Senden","Abbrechen");
    }
    if(listitem == 3)
    {
    new sonname[64];
    new sonstring[128];
    GetPlayerName(playerid,sonname,sizeof(sonname));
    format(sonstring,sizeof(sonstring),"Willkommen im sonstige Meldungssystem\n\n\n Name: %s.\n\nWas möchtest du uns mitteilen?\n\n\n",sonname);
    ShowPlayerDialog(playerid,REPORTMENU,DIALOG_STYLE_INPUT,"Sonstige Meldungssystem",sonstring,"Senden","Abbrechen"); }


    }
    }



    if(dialogid == REPORTMENU)
    {
    new str[160];
    GetPlayerName(playerid, str, MAX_PLAYER_NAME);
    for (new i = 0; i < MAX_PLAYER_NAME; i++)
    if (str[i] == '_')
    str[i] = ' ';
    format(str, sizeof(str), "[ID:%d] %s meldet Cheater: %s",playerid, str, (inputtext));
    ABroadCast(COLOR_YELLOW,str,1);
    SendClientMessage(playerid, COLOR_YELLOW, "Dein Cheat-Report wurde an die Admins gesendet!");


    }
    }
    }


    if(dialogid == CHEATERMENU)
    {
    new stra[160];
    GetPlayerName(playerid, str, MAX_PLAYER_NAME);
    for (new i = 0; i < MAX_PLAYER_NAME; i++)
    if (str[playerid] == '_')
    str[playerid] = ' ';
    format(str, sizeof(str), "[ID:%d] %s meldet: %s",playerid, str, (inputtext));
    ABroadCast(COLOR_YELLOW,str,1);
    SendClientMessage(playerid, COLOR_YELLOW, "Dein Report wurde an die Admins gesendet!");


    }
    }
    }
    if(dialogid == FRAGEMENU)
    {
    new str[160];
    GetPlayerName(playerid, str, MAX_PLAYER_NAME);
    for (new i = 0; i < MAX_PLAYER_NAME; i++)
    if (str[i] == '_')
    str[i] = ' ';
    format(str, sizeof(str), "[ID:%d] %s fragt: %s",playerid, str, (inputtext));
    ABroadCast(COLOR_YELLOW,str,1);
    SendClientMessage(playerid, COLOR_YELLOW, "Deine 'Frage' wurde an die Admins gesendet!");
    }
    }
    }
    if(dialogid == SONMENU)
    {
    new str[160];
    GetPlayerName(playerid, str, MAX_PLAYER_NAME);
    for (new i = 0; i < MAX_PLAYER_NAME; i++)
    if (str[i] == '_')
    str[i] = ' ';
    format(str, sizeof(str), "[ID:%d] %s möchtet mitteilen: %s",playerid, str, (inputtext));
    ABroadCast(COLOR_YELLOW,str,1);
    SendClientMessage(playerid, COLOR_YELLOW, "Dein Text wurde an die Admins gesendet!");
    }
    }
    }



    if(dialogid == hotel) //
    {
    if(response)
    {
    if(listitem == 0) // Zimmer mieten
    {
    PlayerInfo[playerid][pOrigin] = 2;
    SetPlayerPos(playerid,-2422.3594,337.7117,37.0023);
    SendClientMessage(playerid, COLOR_YELLOW, "Du hast dir jetzt für 200$ ein Zimmer gemietet.");
    SendClientMessage(playerid, COLOR_YELLOW, "Nach dem nächsten Payday wird deine Wohnung gekündigt!");
    }
    if(listitem == 1) // Zimmer anschauen
    {
    SetPlayerInterior(playerid,12);
    SetPlayerPos(playerid,445.16778564453,509.36322021,1001.41949462);
    }
    }
    }



    Aber ich bekomme i-wie diese Errors:


    Wieso bekomme ich diese Errors?
    Wär net wenn ihr mir helfen könnt...


    Danke
    Mfg Pascal