[saco] Implement/match CPlayerPed::GetLoadedShopName()

This commit is contained in:
RD42
2024-10-28 19:59:56 +08:00
parent 9e6ae8204f
commit 4b50e705ec
2 changed files with 11 additions and 0 deletions

View File

@ -1006,3 +1006,13 @@ VEHICLE_TYPE* CPlayerPed::GetGtaContactVehicle()
//-----------------------------------------------------------
PCHAR CPlayerPed::GetLoadedShopName()
{
if(!m_pPed) return NULL;
if(!GamePool_Ped_GetAt(m_dwGTAId)) return NULL;
return (PCHAR)0xA9A7D8;
}
//-----------------------------------------------------------

View File

@ -97,6 +97,7 @@ public:
float GetAimZ();
void SetAimZ(float fAimZ);
PCHAR GetLoadedShopName();
//char _gap0[813];
//char _gap0[741];
int field_48;