Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.24 KB

README.md

File metadata and controls

31 lines (24 loc) · 1.24 KB

samp-sound-array

sampctl Total Downloads

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