no problem dude :D
Printable View
open warz.sln and search this
Now you see thisQuote:
float dist = (gCam - tplr->GetPosition()).Length();
change this line (200 is the distance)Quote:
float dist = (gCam - tplr->GetPosition()).Length();
if (dist > 200.0f && tplr->CurLoadout.isVoipShow && tplr != gClientLogic().localPlayer_)
{
tplr->CurLoadout.isVoipShow = false;
char plrUserName[64]; tplr->GetUserName(plrUserName);
hudMain->removeVoip(plrUserName,plrUserName);
}
}
Quote:
if (dist > 200.0f && tplr->CurLoadout.isVoipShow && tplr != gClientLogic().localPlayer_)
whats the VOIP?
This works with the RageZone Community Edition "Source"? And thanks for share with us.
@Gabirieu VOIP is Voice, TeamSpeak communication!
OverZ source error in
plr3msg and identity
ts3client_startConnection(1, identity, _voip_serverip,r_voipserverport->GetInt(), plr3msg, NULL, _voip_defaultChannelPassword, _voip_serverPassword);
ohh thanks :O Working!
Now error is just
Code:Error 1 error C2664: 'ts3client_startConnection' : cannot convert parameter 2 from 'std::string' to 'const char *' c:\WarZ\src\EclipseStudio\Sources\TeamSpeakClient.cpp 524 Eclipse Studio
Code:ts3client_startConnection(1, m_identity, _voip_serverip,r_voipserverport->GetInt(), VIRTUALSERVER_WELCOMEMESSAGE, NULL, _voip_defaultChannelPassword, _voip_serverPassword);
i use codex TheLiciaZ source , i can't found r_voip but i found only g_voip , what shoude i do
i try, now error is just
SS : http://www.mx7.com/i/adf/FZGRVD.pnghttp://www.mx7.com/i/adf/FZGRVD.pngQuote:
Error 1 error C2664: 'ts3client_startConnection' : cannot convert parameter 2 from 'std::string' to 'const char *' c:\WarZ\src\EclipseStudio\Sources\TeamSpeakClient.cpp 524 Eclipse Studio
what shoude i do,
@patipakdeeying
should fix your problem.Code:const char * v_identity = identity.c_str();
ts3client_startConnection(1, v_identity, _voip_serverip,r_voipserverport->GetInt(), plr3msg, NULL, _voip_defaultChannelPassword, _voip_serverPassword);
@Doky
change it to this:
Code:
const char * v_identity = m_identity.c_str();
ts3client_startConnection(1, v_identity, _voip_serverip,r_voipserverport->GetInt(), VIRTUALSERVER_WELCOMEMESSAGE, NULL, _voip_defaultChannelPassword, _voip_serverPassword);
@jonnybravo thank you bro <3
one doubt, I have to make a TeamSpeak 3 server on my dedicated or do not need? this IP and port, password that is there in the code, it is already by default, for example, if I want to place 155.167.bla.bla it works?
OverZ Source
still error ,
Quote:
Error 1 error C2065: 'identity' : undeclared identifier e:\wz server\src\EclipseStudio\Sources\TeamSpeakClient.cpp 521 Eclipse Studio
Quote:
Error 2 error C2228: left of '.c_str' must have class/struct/union e:\wz server\src\EclipseStudio\Sources\TeamSpeakClient.cpp 521 Eclipse Studio
SS : http://www.mx7.com/i/bbd/RlfkpB.pngQuote:
Error 3 error C2065: 'plr3msg' : undeclared identifier e:\wz server\src\EclipseStudio\Sources\TeamSpeakClient.cpp 522 Eclipse Studio
Please Help me , thank you sir
http://www.mx7.com/i/bbd/RlfkpB.png