Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] Hey all, I'm trying to figure out how to make a small change (well, I think it's small) to TC core G

[DiscordArchive] Hey all, I'm trying to figure out how to make a small change (well, I think it's small) to TC core G

[DiscordArchive] Hey all, I'm trying to figure out how to make a small change (well, I think it's small) to TC core G

rektbyfaith
Administrator
0
04-27-2023, 02:08 AM
#1
Archived author: Bset • Posted: 2023-04-27T02:08:25.776000+00:00
Original source

Hey all, I'm trying to figure out how to make a small change (well, I think it's small) to TC core Group.cpp that does something along the lines of this.

``bool Group::AddInvite(Player* player)
{
// Do a race check here so you can only invite same race players to group.
if (!(player->GetRace() == GetLeader()->GetRace()))
return false;``

can anyone help me out or point me in the right direction?
rektbyfaith
04-27-2023, 02:08 AM #1

Archived author: Bset • Posted: 2023-04-27T02:08:25.776000+00:00
Original source

Hey all, I'm trying to figure out how to make a small change (well, I think it's small) to TC core Group.cpp that does something along the lines of this.

``bool Group::AddInvite(Player* player)
{
// Do a race check here so you can only invite same race players to group.
if (!(player->GetRace() == GetLeader()->GetRace()))
return false;``

can anyone help me out or point me in the right direction?

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)