mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
fishinggggg + uh everything kinda broke last commit i fixed it all dw
This commit is contained in:
@@ -4,6 +4,13 @@
|
||||
|
||||
int& APlayerState::GetPlayerID()
|
||||
{
|
||||
static auto PlayerIDOffset = FindOffsetStruct("/Script/Engine.PlayerState", "PlayerID");
|
||||
static auto PlayerIDOffset = FindOffsetStruct("/Script/Engine.PlayerState", "PlayerID", false);
|
||||
|
||||
if (PlayerIDOffset == 0)
|
||||
{
|
||||
static auto PlayerIdOffset = FindOffsetStruct("/Script/Engine.PlayerState", "PlayerId", false);
|
||||
return Get<int>(PlayerIdOffset);
|
||||
}
|
||||
|
||||
return Get<int>(PlayerIDOffset);
|
||||
}
|
||||
Reference in New Issue
Block a user