samp.directory
← Scripts and libraries

WoutProvost/samp-sound-array

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

Library★ 12updated Jul 2022No licencePawnsampctl
Open on GitHub

This repository has no licence file. It is public to read, but that alone does not give permission to reuse it.

Install with sampctl

sampctl package install WoutProvost/samp-sound-array

Run this in your project folder. sampctl downloads the package and what it depends on.

Try it in the Pawn compiler →

Adds its include files, with the libraries it depends on, to the Pawn compiler in your browser, ready to include in a script.

Depends on 1 package

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

This page is built from what GitHub publishes about the repository. samp.directory does not host the code. Report a problem with this listing

WoutProvost/samp-sound-array: SA-MP Library | samp.directory