Beiträge von NoteLeiche

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

    Hey Leute ich bin jetzt seit ca einer Woche am scripten und will eine Abfrage in einem Tor System einbauen z.b if IsACop
    ich kriege es einfach nicht. Hoffe ihr kriegt es hin ^^
    #include <a_samp>
    #pragma tabsize 0#define COLOR_YELLOW 0xFFFF00AA#define FILTERSCRIPT#if defined FILTERSCRIPTnew y_gate;



    public OnFilterScriptInit(){y_gate = CreateObject(1508, 228.33, 163.34, 1002.82, 0.00, 0.00, 0.00);
    print("\n--------------------------------------");print(" Tor System");print("--------------------------------------\n");return 1;}
    public OnFilterScriptExit(){return 1;}
    #else
    #endif
    public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp(cmdtext, "/auf", true) == 0){ MoveObject(y_gate,228.34, 165.17, 1003.07,5); return 1; } if (strcmp(cmdtext, "/zu", true) == 0){ MoveObject(y_gate,228.33, 163.34, 1002.82,5); return 1; } return 0;}