mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
clip size vehicles cheat command
This commit is contained in:
@@ -32,12 +32,17 @@ public:
|
||||
|
||||
void SetTeam(unsigned char InTeam)
|
||||
{
|
||||
static auto fn = FindObject<UFunction>("/Script/FortniteGame.BuildingActor.SetTeam");
|
||||
static auto fn = nullptr; // FindObject<UFunction>("/Script/FortniteGame.BuildingActor.SetTeam");
|
||||
|
||||
if (!fn)
|
||||
{
|
||||
static auto TeamOffset = GetOffset("Team");
|
||||
Get<uint8_t>(TeamOffset) = InTeam;
|
||||
|
||||
static auto TeamIndexOffset = GetOffset("TeamIndex", false);
|
||||
|
||||
if (TeamIndexOffset != 0)
|
||||
Get<uint8_t>(TeamIndexOffset) = InTeam;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user