samp.directory
← Scripts et bibliothèques

Southclaws/samp-qr

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

Bibliothèque★ 6mis à jour avr. 2020MITPawnsampctlArchivé
Ouvrir sur GitHub

L’auteur a archivé ce dépôt, il n’est donc plus maintenu.

Installer avec sampctl

sampctl package install Southclaws/samp-qr

Lance ceci dans le dossier de ton projet. sampctl télécharge le paquet et ce dont il dépend.

L’essayer dans le compilateur Pawn →

Ajoute ses fichiers include, avec les bibliothèques dont il dépend, au compilateur Pawn de ton navigateur, prêts à être inclus dans un script.

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.

Cette page est construite à partir de ce que GitHub publie sur le dépôt. samp.directory n’héberge pas le code. Signaler un problème avec cette fiche

Southclaws/samp-qr : Bibliothèque SA-MP | samp.directory