samp.directory
← Scripts et bibliothèques

WoutProvost/samp-sound-array

An array of sound IDs for SA-MP with the spoken dialog and the characters who say it

Bibliothèque★ 12mis à jour juil. 2022Pas de licencePawnsampctl
Ouvrir sur GitHub

Ce dépôt n’a pas de fichier de licence. Il est public en lecture, mais cela ne donne pas à lui seul le droit de le réutiliser.

Installer avec sampctl

sampctl package install WoutProvost/samp-sound-array

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.

Dépend de 1 paquet

README.md

samp-sound-array

NOTICE: It is not recommended to include this library! If you need the string corresponding to a given sound ID, just copy these string literals to your script! The provided GetSoundInfo function is not intended to be used in a production server!

This repository mainly serves as a backup for the original array by Austin and [NoV]LaZ. Additionally, the original array has been converted to a Pawn array and is accessible as Pawn library.

The sound IDs can be used in PlayerPlaySound. For more information on sound IDs, see the corresponding wiki page.

Installation

Simply install to your project:

sampctl package install WoutProvost/samp-sound-array

Include in your code and begin using the library:

#include <sound>

Usage

GetSoundInfo(soundid, speaker[], dialog[], slen, dlen);

Testing

To test, simply run the package:

sampctl package run

includepawnpawn-packagesa-mpsa-mp-library

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

WoutProvost/samp-sound-array : Bibliothèque SA-MP | samp.directory