mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
marker stuff + vehicle stuff + fix 3.5
This commit is contained in:
9
Project Reboot 3.0/PlayerState.cpp
Normal file
9
Project Reboot 3.0/PlayerState.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "PlayerState.h"
|
||||
|
||||
#include "reboot.h"
|
||||
|
||||
int& APlayerState::GetPlayerID()
|
||||
{
|
||||
static auto PlayerIDOffset = FindOffsetStruct("/Script/Engine.PlayerState", "PlayerID");
|
||||
return Get<int>(PlayerIDOffset);
|
||||
}
|
||||
Reference in New Issue
Block a user