HolyLib Wiki

voicechat.CreateVoiceData

 VoiceData voicechat.CreateVoiceData( number plySlot = 0, string data = NULL, number length = 0 )

Description

Creates a new VoiceData with the given data.

Arguments

1number plySlot = 0

The player slot to use.

2string data = NULL

The Voice data to use.

3number length = 0

The length of the voice data

Returns

1VoiceData voiceData

The newly created VoiceData