init
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#include "CCSPlayerController.h"
|
||||
|
||||
CCSPlayerController::CCSPlayerController(uintptr_t address) : address(address) {}
|
||||
|
||||
uintptr_t CCSPlayerController::getAddress() const {
|
||||
return address;
|
||||
}
|
||||
|
||||
const char* CCSPlayerController::getName() const {
|
||||
if (!address) return nullptr;
|
||||
return reinterpret_cast<const char*>(address + 0x660);
|
||||
}
|
||||
Reference in New Issue
Block a user