Open Wolfyyta opened 1 year ago
99% sure jannes will comment first on this
99% sure jannes will comment first on this
u could not mention that
99% sure jannes will comment first on this
ong cap
bool __fastcall send_net_channel(INetChannel thisptr, int edx, INetMessage message, bool force_reliable, bool voice) { // check for voicedata group and enable voice streams if (message->get_group() == INetChannelInfo::VOICE) voice = true;
// call og
return og::net_channel(thisptr, edx, message, force_reliable, voice); }
bool __fastcall send_net_channel(INetChannel thisptr, int edx, INetMessage message, bool force_reliable, bool voice) { // check for voicedata group and enable voice streams if (message->get_group() == INetChannelInfo::VOICE) voice = true;
// call og
return og::net_channel(thisptr, edx, message, force_reliable, voice); }
- this isnt even in osiris
stolen from public source but gets it done x)
bool __fastcall send_net_channel(INetChannel thisptr, int edx, INetMessage message, bool force_reliable, bool voice) { // check for voicedata group and enable voice streams if (message->get_group() == INetChannelInfo::VOICE) voice = true;
// call og
return og::net_channel(thisptr, edx, message, force_reliable, voice); }
- this isnt even in osiris
stolen from public source but gets it done x)
ill find a way to add it to my pasta $$$
forgot to let the enum for this one x) VOICE is at index 9 in the enum, here's the full:
enum
{
GENERIC = 0, // must be first and is default group
LOCALPLAYER, // bytes for local player entity update
OTHERPLAYERS, // bytes for other players update
ENTITIES, // all other entity bytes
SOUNDS, // game sounds
EVENTS, // event messages
TEMPENTS, // temp entities
USERMESSAGES, // user messages
ENTMESSAGES, // entity messages
VOICE, // voice data
STRINGTABLE, // a stringtable update
MOVE, // client move cmds
STRINGCMD, // string command
SIGNON, // various signondata
PAINTMAP, // paintmap data
ENCRYPTED, // encrypted data
TOTAL, // must be last and is not a real group
};
bool __fastcall send_net_channel(INetChannel thisptr, int edx, INetMessage message, bool force_reliable, bool voice) { // check for voicedata group and enable voice streams if (message->get_group() == INetChannelInfo::VOICE) voice = true;
// call og
return og::net_channel(thisptr, edx, message, force_reliable, voice); }
i found a much simpler solution
then share with the class :D
then share with the class :D
alr published by @Xsintashi
fix for the voice sounds