getSFXStatus
Client
Tells whether a GTA San Andreas audio container is available to playSFX and playSFX3D.
bool getSFXStatus(string container)
Parameters
| Name | Type | Description |
|---|---|---|
| container | string | SA's audio container: feet, genrl, pain_a, script, spc_ea, spc_fa, spc_ga, spc_na or spc_pa. |
Returns
true if the container can be used, false otherwise. For radio, it warns and returns false.
Example
if not getSFXStatus("genrl") then
outputDebugString("genrl sounds are not available")
end