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.
Simply install to your project:
sampctl package install WoutProvost/samp-sound-array
Include in your code and begin using the library:
#include <sound>
GetSoundInfo(soundid, speaker[], dialog[], slen, dlen);
To test, simply run the package:
sampctl package run