EndTextCommandThefeedPostCrewtag
Docslocal retval, crewTag = EndTextCommandThefeedPostCrewtag(crewTypeIsPrivate, crewTagContainsRockstar, rank, hasFounderStatus, isImportant, clanHandle, r, g, b)Description
This function and the one below it are for after you receive an invite, not sending it.
p0 = 1 or 0
nothin doin.
int invite(Player player)
{
int iVar2, iVar3;
networkHandleMgr handle;
NETWORK_HANDLE_FROM_PLAYER(player, &handle.netHandle, 13);
networkClanMgr clan;
char *playerName = GET_PLAYER_NAME(player);
_SET_NOTIFICATION_TEXT_ENTRY("STRING");
_SET_NOTIFACTION_COLOR_NEXT(0);
ADD_TEXT_COMPONENT_SUBSTRING_PLAYER_NAME(playerName);
if (NETWORK_CLAN_PLAYER_GET_DESC(&clan, 35, &handle.netHandle))
{
iVar2 = 0;
if (ARE_STRINGS_EQUAL(clan.unk22, "Leader") && clan.unk30 == 0)
{
iVar2 = 1;
}
if (clan.unk21 > 0)
{
iVar3 = 0;
}
else
{
iVar3 = 1;
}
BOOL unused = _0x54E79E9C(&clan.clanHandle, 35);
return _DRAW_NOTIFICATION_APARTMENT_INVITE(iVar3, 0 /*unused*/, &clan.unk17, clan.unk30, iVar2, 0, clan.clanHandle, 0, 0, 0);
}
}Parameters
| Name | Type | Description |
|---|---|---|
crewTypeIsPrivate | BOOL | — |
crewTagContainsRockstar | BOOL | — |
crewTag | int* | — |
rank | int | — |
hasFounderStatus | BOOL | — |
isImportant | BOOL | — |
clanHandle | int | — |
r | int | — |
g | int | — |
b | int | — |
Returns
intReturns an integer value.