Klammerfehler FIlterscript

In 10 Minuten startet der nächtliche Backupvorgang! Es kann währenddessen (ca. 10 Minuten) zu Einschränkungen bei der Nutzung des Forums kommen
Weitere Infos findet ihr im Thema Backup des Forums
  • Hi bei OnPlayerCommand Text ist ein Kleiner fehler aber ich weiß nicht wo ps nicht wundern es ist nur die Hälfte vom Filterscript


  • [list=1][*]public OnPlayerCommandText(playerid, cmdtext[])
    [*]{
    [*] if (strcmp("/pgate", cmdtext, true, 10) == 0)
    [*] {
    [*] MoveObject(Bruecke1, -1823.92920, -2878.72803, 6.41025, 3.0);//This will move the gate
    [*] MoveObject(Bruecke2, -1839.10962, -2884.54297, 52.83759, 3.0);//This will move the gate
    [*] }
    [*] return 1;
    [*] }
    [*] if (strcmp("/pgateclose", cmdtext, true, 10) == 0)
    [*] {
    [*] MoveObject(Bruecke1, -1823.92920, -2878.72803, 6.41025, 3.0);//This will move the gate back to the old position
    [*] MoveObject(Bruecke2, -1839.10962, -2884.54297, 6.43052, 3.0);//This will move the gate back to the old position
    [*]}
    [*]}
    [*]return 1;
    [*]}
    [/list]


    Mehr transparents zu der Community!
    Aber bitte künftig: Transparenz und nicht Transparents