- Samp 0.3.7 r1 download manual#
- Samp 0.3.7 r1 download archive#
- Samp 0.3.7 r1 download software#
- Samp 0.3.7 r1 download download#
Public SV_VOID: OnPlayerActivationKeyRelease( SV_UINT:playerid, SV_UINT:keyid) Attach the player to the global stream as a speaker if the 'Z' key is pressed if (keyid = 0x5A & gstream) SvAttachSpeakerToStream(gstream, playerid) Attach player to local stream as speaker if 'B' key is pressed if (keyid = 0x42 & lstream) SvAttachSpeakerToStream(lstream, playerid) */ public SV_VOID: OnPlayerActivationKeyPress( SV_UINT:playerid, SV_UINT:keyid) * The public OnPlayerActivationKeyPress and OnPlayerActivationKeyRelease are needed in order to redirect the player's audio traffic to the corresponding streams when the corresponding keys are pressed. #include new SV_GSTREAM:gstream = SV_NULL Thus, players will be able to communicate through the global (heard equally at any point on the map) and local (heard only near the player) chats. Below we will create a server that will bind all connected players to the global stream, and also create a local stream for each player. Let's take a look at some of the plugin's features with a practical example. In this case, the player's audio traffic will not be forwarded to him. Players can be both speakers and listeners at the same time.
They can be visualized using the example of Discord: Now, when player A's microphone is activated (for example, with the SvStartRecord function), his audio traffic will be transmitted and then heard by player B. In order to redirect audio traffic from player A to player B, you need to create an audio stream (for example, a global one, using SvCreateGStream), then attach it to the stream of player A as a speaker (using SvAttachSpeakerToStream), after which attach to player B's stream as a listener (using SvAttachListenerToStream). Despite the fact that this is just a wrapper over the basic types of Pawn, it helps to navigate the types of the plugin itself and not to confuse pointers. You need to know that the plugin uses its own type and constant system. To start using the plugin functionality, include the header file: (If the documentation does not open, right-click on the documentation file, then Properties -> Unblock -> OK) To do this, open the sampvoice.chm file using the Windows reference. To get started using the plugin, read the documentation that comes with the server side. (If you have a Pawn.RakNet plugin be sure to place SampVoice after it)
Samp 0.3.7 r1 download archive#
Samp 0.3.7 r1 download download#
Samp 0.3.7 r1 download manual#
Players have access to 2 installation options: automatic (via the installer) and manual (via the archive). There is a client and server part of the plugin for this. Version supportįor the plugin to work, it must be installed by the players and on the server.
Samp 0.3.7 r1 download software#
SAMPVOICE - is a Software Development Kit (SDK) for implementing voice communication systems in the Pawn language for SA:MP servers.