Jump to content

Recommended Posts

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)
 

Link to post
Share on other sites
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 .

 

Link to post
Share on other sites

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


4 Errors.
[Finished in 2.6s]

Link to post
Share on other sites
Acum 1 minut, Revim Games a spus:

trusted.pwn(78) : warning 209: function "[email protected]@_OnPlayerConnect" should return a value
trusted.pwn(88) : warning 209: function "[email protected]@_OnPlayerDisconnect" should return a value
trusted.pwn(96) : warning 209: function "[email protected]@_OnGameModeInit" should return a value
trusted.pwn(101) : warning 209: function "[email protected]@_OnGameModeExit" should return a value
trusted.pwn(1526) : error 021: symbol already defined: "[email protected]@_OnGameModeExit"
trusted.pwn(1536) : error 021: symbol already defined: "[email protected]@_OnGameModeInit"
trusted.pwn(1782) : error 021: symbol already defined: "[email protected]@_OnPlayerConnect"
trusted.pwn(1990) : error 021: symbol already defined: "[email protected]@_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.

 

Link to post
Share on other sites
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.

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • 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.