gta.addOneOffSound

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

        audio.createSound
        audio.createSoundFromURL