samp.directory
← Skripte und Bibliotheken

Southclaws/samp-qr

Does QR codes, renders them as a grid of pool balls.

Bibliothek★ 6aktualisiert Apr. 2020MITPawnsampctlArchiviert
Auf GitHub öffnen

Der Autor hat dieses Repository archiviert, es wird also nicht mehr gepflegt.

Mit sampctl installieren

sampctl package install Southclaws/samp-qr

Führe das in deinem Projektordner aus. sampctl lädt das Paket und alles herunter, wovon es abhängt.

Im Pawn-Compiler ausprobieren →

Fügt seine Include-Dateien samt der Bibliotheken, von denen es abhängt, dem Pawn-Compiler in deinem Browser hinzu, bereit zum Einbinden in ein Skript.

README.md

samp-qr

For QR codes.

    new matrix[QR_ARRAY_SIZE];
    new ret = QR_GetMatrix("https://github.com/Southclaws/", matrix);

Fills matrix with a set of either '0' or '1'. The matrix is a simple row-by-row representation of a grid of black or white pixels.

Then you can render it however you like.

QR_CreateGrid is a helper that uses pool balls, but unfortunately SA-MP has an object limit so it won't work.

Diese Seite wird aus dem erstellt, was GitHub über das Repository veröffentlicht. samp.directory hostet den Code nicht. Ein Problem mit diesem Eintrag melden

Southclaws/samp-qr: SA-MP Bibliothek | samp.directory