natives.PLAY ANNOUNCEMENT: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
(Add ScriptItem documentation from GTA VC SCM decompile)
 
(Add ScriptItem documentation from GTA VC SCM decompile)
Line 5: Line 5:
|name = natives.PLAY_ANNOUNCEMENT
|name = natives.PLAY_ANNOUNCEMENT
|parameters = int announcementId
|parameters = int announcementId
|parameter1 = int announcementId Announcement identifier.
|parameter1 = int announcementId Announcement sound identifier.
|usage = Play an announcement sound.
|usage = plays an announcement sound effect by its identifier
|return1 = void
|return1 = void
|returnFail1 = void
|returnFail1 = void
}}
}}

Revision as of 12:07, 13 June 2026

Function Client Only icon-vc.png Online and Offline

Available since Client 1.0.0
void natives.PLAY_ANNOUNCEMENT(int announcementId)
The natives.PLAY_ANNOUNCEMENT function is used to plays an announcement sound effect by its identifier.

Parameters

1) int announcementId Announcement sound identifier.

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.