You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the first time I'm going to use SAMP VOICE and I installed version 4.2 on my server and the Samp client R1-R3, but no one can hear or speak anything.
I press F11 and everything is ok, my microphone is configured correctly.
I press X or Z and the microphone icon turns yellow, but no one can hear me or anyone else.
I'll post how everything is configured:
1 - Samp R1 installed and the sv_client_037_r1.zip files all in the main GTA folder.
2 - Server running on a VPS.
3 - Sampvoice plugin added after pawnraknet: plugins crashdetect samp-precise-timers YSF streamer sscanf pawncmd mysql discord-connector pawnraknet GPS sampvoice
4 - Files unchanged in the main server folder: control.cfg, voice.cfg, sampvoice.exe and sampvoice.out.
5 - Include sampvoice.inc properly included in game mode.
6 - The script I'm using:
#define GLOBAL_CHANNEL 0
#define LOCAL_CHANNEL 1
new SV_UINT:ServerVoiceStream = SV_NONE;
enum PlayerVars {SV_UINT:VoiceStream};
new PlayerVar[MAX_PLAYERS][PlayerVars];
ServerVoiceStream = SvCreateStream();//OnGameModeInit();
PlayerVar[playerid][VoiceStream] = SV_NONE;//When the player connect
stock CheckPlayerVoice(playerid) //Called when the player spawns
{
if(ServerVoiceStream != SV_NONE)
{
if(SvGetVersion(playerid) && SvHasMicro(playerid))
{
SvSetKey(playerid, 0x5A, GLOBAL_CHANNEL); // Z key
SvAttachStream(playerid, ServerVoiceStream, GLOBAL_CHANNEL);
SvAttachListener(ServerVoiceStream, playerid);
SvSetIcon(ServerVoiceStream, "speaker");
if((PlayerVar[playerid][VoiceStream] = SvCreateStream(30.0)) != SV_NONE)
{
SvSetKey(playerid, 0x58, LOCAL_CHANNEL);//X key
SvAttachStream(playerid, PlayerVar[playerid][VoiceStream], LOCAL_CHANNEL);
SvSetTarget(PlayerVar[playerid][VoiceStream], SvMakePlayer(playerid));
SvSetIcon(PlayerVar[playerid][VoiceStream], "speaker");
SendClientMessage(playerid, -1, "Press X to talk to local chat.");
}
}
}
return 1;
}
This is the first time I'm going to use SAMP VOICE and I installed version 4.2 on my server and the Samp client R1-R3, but no one can hear or speak anything.
I press F11 and everything is ok, my microphone is configured correctly.
I press X or Z and the microphone icon turns yellow, but no one can hear me or anyone else.
I'll post how everything is configured:
1 - Samp R1 installed and the
sv_client_037_r1.zip
files all in the main GTA folder.2 - Server running on a VPS.
3 - Sampvoice plugin added after pawnraknet:
plugins crashdetect samp-precise-timers YSF streamer sscanf pawncmd mysql discord-connector pawnraknet GPS sampvoice
4 - Files unchanged in the main server folder:
control.cfg, voice.cfg, sampvoice.exe and sampvoice.out
.5 - Include
sampvoice.inc
properly included in game mode.6 - The script I'm using:
7 - Server_log.txt:
8 - Control.txt:
9 - Documents\GTA San Andreas User Files\sampvoice\svlog.txt:
Am I missing something?
The text was updated successfully, but these errors were encountered: