Jump to content

Recommended Posts

Posted

Salut sa-mp.ro

Am si eu o problema cu samp voice 

Uitati:

 

[21:51:24] : [sv:dbg:network:init] : module initializing...
[21:51:24] : [dbg:raknet:init] : module initializing...
[21:51:24] : [dbg:raknet:init] : module initialized
[21:51:24] : [sv:dbg:network:init] : module initialized
[21:51:24] : [sv:dbg:main:Load] : creating 8 work threads...
[21:51:24] :  -------------------------------------------    
[21:51:24] :    ___                __   __    _              
[21:51:24] :   / __| __ _ _ __  _ _\ \ / /__ (_) __ ___    
[21:51:24] :   \__ \/ _` | '  \| '_ \   / _ \| |/ _/ -_)
[21:51:24] :   |___/\__,_|_|_|_| .__/\_/\___/|_|\__\___|
[21:51:24] :                   |_|                           
[21:51:24] :  -------------------------------------------    
[21:51:24] :            SampVoice by MOR loaded              
[21:51:24] :  -------------------------------------------    
[21:51:25] : [sv:dbg:main:AmxLoad] : net game pointer (value:0x8ad2710) received
[21:51:25] : [sv:dbg:network:bind] : voice server running on port 51795
[21:51:25] : [sv:dbg:pawn:register] : finding 'OnPlayerActivationKeyPress' callback function...
[21:51:25] : [sv:dbg:pawn:register] : finding 'OnPlayerActivationKeyRelease' callback function...
[21:51:36] : [sv:dbg:network:connect] : connecting player (0) with address (nenene) ...
[21:51:36] : [sv:dbg:network:connect] : player (0) assigned key (40ba7e56909417a0)
 

Posted
Acum 29 minute, Revim Games a spus:

Salut sa-mp.ro

Am si eu o problema cu samp voice 

Uitati:

 

[21:51:24] : [sv:dbg:network:init] : module initializing...
[21:51:24] : [dbg:raknet:init] : module initializing...
[21:51:24] : [dbg:raknet:init] : module initialized
[21:51:24] : [sv:dbg:network:init] : module initialized
[21:51:24] : [sv:dbg:main:Load] : creating 8 work threads...
[21:51:24] :  -------------------------------------------    
[21:51:24] :    ___                __   __    _              
[21:51:24] :   / __| __ _ _ __  _ _\ \ / /__ (_) __ ___    
[21:51:24] :   \__ \/ _` | '  \| '_ \   / _ \| |/ _/ -_)
[21:51:24] :   |___/\__,_|_|_|_| .__/\_/\___/|_|\__\___|
[21:51:24] :                   |_|                           
[21:51:24] :  -------------------------------------------    
[21:51:24] :            SampVoice by MOR loaded              
[21:51:24] :  -------------------------------------------    
[21:51:25] : [sv:dbg:main:AmxLoad] : net game pointer (value:0x8ad2710) received
[21:51:25] : [sv:dbg:network:bind] : voice server running on port 51795
[21:51:25] : [sv:dbg:pawn:register] : finding 'OnPlayerActivationKeyPress' callback function...
[21:51:25] : [sv:dbg:pawn:register] : finding 'OnPlayerActivationKeyRelease' callback function...
[21:51:36] : [sv:dbg:network:connect] : connecting player (0) with address (nenene) ...
[21:51:36] : [sv:dbg:network:connect] : player (0) assigned key (40ba7e56909417a0)
 

Asigura-te ca ai urmat toti pasi de aici : https://github.com/CyberMor/sampvoice .

 

Posted

trusted.pwn(78) : warning 209: function "S@@_OnPlayerConnect" should return a value
trusted.pwn(88) : warning 209: function "S@@_OnPlayerDisconnect" should return a value
trusted.pwn(96) : warning 209: function "S@@_OnGameModeInit" should return a value
trusted.pwn(101) : warning 209: function "S@@_OnGameModeExit" should return a value
trusted.pwn(1526) : error 021: symbol already defined: "S@@_OnGameModeExit"
trusted.pwn(1536) : error 021: symbol already defined: "S@@_OnGameModeInit"
trusted.pwn(1782) : error 021: symbol already defined: "S@@_OnPlayerConnect"
trusted.pwn(1990) : error 021: symbol already defined: "S@@_OnPlayerDisconnect"
Pawn compiler 3.10.8              Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
[Finished in 2.6s]

Posted
Acum 1 minut, Revim Games a spus:

trusted.pwn(78) : warning 209: function "S@@_OnPlayerConnect" should return a value
trusted.pwn(88) : warning 209: function "S@@_OnPlayerDisconnect" should return a value
trusted.pwn(96) : warning 209: function "S@@_OnGameModeInit" should return a value
trusted.pwn(101) : warning 209: function "S@@_OnGameModeExit" should return a value
trusted.pwn(1526) : error 021: symbol already defined: "S@@_OnGameModeExit"
trusted.pwn(1536) : error 021: symbol already defined: "S@@_OnGameModeInit"
trusted.pwn(1782) : error 021: symbol already defined: "S@@_OnPlayerConnect"
trusted.pwn(1990) : error 021: symbol already defined: "S@@_OnPlayerDisconnect"
Pawn compiler 3.10.8              Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
[Finished in 2.6s]

Functiile OnGamemodeExit, OnPlayerConnect, samd, le ai deja in gamemode. Nu da copy paste la intreaga functie, ci doar adauga in functia din gamemode codul scris acolo, de exemplu: 

Cauti in gamemode functia urmatoare --> public OnPlayerConnect(playerid)

Dupa care, dai copy paste la codul din tutorial: 

	if (SvGetVersion(playerid) == SV_NULL)
    {
        SendClientMessage(playerid, -1, "Could not find plugin sampvoice.");
    }
    // Checking for a microphone
    else if (SvHasMicro(playerid) == SV_FALSE)
    {
        SendClientMessage(playerid, -1, "The microphone could not be found.");
    }
    // Create a local stream with an audibility distance of 40.0, an unlimited number of listeners
    // and the name 'Local' (the name 'Local' will be displayed in red in the players' speakerlist)
    else if ((lstream[playerid] = SvCreateDLStreamAtPlayer(40.0, SV_INFINITY, playerid, 0xff0000ff, "Local")))
    {
        SendClientMessage(playerid, -1, "Press Z to talk to global chat and B to talk to local chat.");

        // Attach the player to the global stream as a listener
        if (gstream) SvAttachListenerToStream(gstream, playerid);

        // Assign microphone activation keys to the player
        SvAddKey(playerid, 0x42);
        SvAddKey(playerid, 0x5A);
 	}

Si tot asa la fiecare functie.

 

Posted
Acum 1 minut, Revim Games a spus:

ma ajuti cu teamviewer pls

 

Regulamentul ma obliga atat pe tine, cat si pe mine, ca problema sa fie rezolvata in topic.

 

Posted

Daca nu te descurci, poti cauta tutoriale, daca nu ma insel, chiar si pe sa-mp.ro, sunt 2. Oricum, succes!

 

Posted
10 hours ago, Revim Games said:

MoTaNel69#2213

Degeaba ceri sa vina oamenii pe discord pentru ca regulamentul cere ca problema sa fie rezolvata in topic , totusi asigurate ca ai urmat pasii corect !!! cauta tutoriale pe youtube !! https://github.com/CyberMor/sampvoice 

Posted
18 hours ago, Revim Games said:

MoTaNel69#2213

Te ajut eu daca vrei, Yonut#5972

  • 4 weeks later...
Posted

Am rezolvat T/C

 

 

 

LINIE-3.gif.f4c03161035b1ce4c431755a78bed2ae.gif.bcf86dadd9b43351554dd738f470725f.gif.f36ea8dfe2cb40e2718c462a42c1168f.gif

Discord:RangerRPG#2739 Apucati-va de scripting este cea mai tare chestie ever ❤️

LINIE-3.gif.f4c03161035b1ce4c431755a78bed2ae.gif.bcf86dadd9b43351554dd738f470725f.gif.b1aaa5a0a29a45acf3e5eca275cd605e.gif

  • 8 months later...
Posted

Ma puteti ajuta si pe mine la aceasta eroare?

  Loaded.
 Loading plugin: sampvoice
[sv:dbg:network:init] : module initializing...
[dbg:raknet:init] : module initializing...
[dbg:raknet:init] : module initialized
[sv:dbg:network:init] : module initialized
[sv:dbg:main:Load] : creating 4 work threads...
 -------------------------------------------
   ___                __   __    _
  / __| __ _ _ __  _ _\ \ / /__ (_) __ ___
  \__ \/ _` | '  \| '_ \   / _ \| |/ _/ -_)
  |___/\__,_|_|_|_| .__/\_/\___/|_|\__\___|
                  |_|
 -------------------------------------------
           SampVoice by MOR loaded
 -------------------------------------------
  Loaded.
 Loaded 3 plugins.


Started server on port: 8192, with maxplayers: 50 lanmode is OFF.


Filterscripts
---------------
  Loaded 0 filterscripts.

[sv:dbg:main:AmxLoad] : net game pointer (value:022290B8) received
[sv:dbg:network:bind] : voice server running on port 60849
Script[gamemodes/GM.amx]: Run time error 19: "File or function is not found"
Number of vehicle models: 0

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.