samp.directory
← Scripts e bibliotecas

WoutProvost/samp-sound-array

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

Biblioteca★ 12atualizado jul. de 2022Sem licençaPawnsampctl
Abrir no GitHub

Este repositório não tem arquivo de licença. Ele é público para leitura, mas isso sozinho não dá permissão para reutilizar.

Instalar com o sampctl

sampctl package install WoutProvost/samp-sound-array

Execute na pasta do seu projeto. O sampctl baixa o pacote e as dependências dele.

Depende de 1 pacote

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

Esta página é montada com o que o GitHub publica sobre o repositório. O samp.directory não hospeda o código. Avisar de um problema com esta página

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