gta.addOneOffSound: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
No edit summary
 
(No difference)

Latest revision as of 16:32, 13 October 2019

Function Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Client 1.0.0

void gta.addOneOffSound(Vec3 position, int sound)

The gta.addOneOffSound function is used to play a game sound one time.

Parameters

1) Vec3 position The 3D game position for the sound.
2) int sound The sound ID to play.

Return

void This function doesn't return a value.

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.

Related

Client Related

icon-iii.png icon-vc.png icon-sa.png icon-iv.png audio.createSound
icon-iii.png icon-vc.png icon-sa.png icon-iv.png audio.createSoundFromURL