[saco] Implement/match CPlayerPed::LoadShoppingDataSubsection(...)

This commit is contained in:
RD42 2024-10-28 20:00:42 +08:00
parent 4b50e705ec
commit 48f6041de6
2 changed files with 13 additions and 0 deletions

View File

@ -1016,3 +1016,15 @@ PCHAR CPlayerPed::GetLoadedShopName()
//-----------------------------------------------------------
void CPlayerPed::LoadShoppingDataSubsection(PCHAR szSectionName)
{
if(strlen(szSectionName) > 8) return;
_asm push szSectionName
_asm mov edx, 0x49BBE0
_asm call edx
_asm pop edx
}
//-----------------------------------------------------------

View File

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