mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-19 20:26:14 +08:00
[saco] Implement/match CPlayerPed::LoadShoppingDataSubsection(...)
This commit is contained in:
@ -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
|
||||||
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------
|
||||||
|
|
||||||
|
@ -98,6 +98,7 @@ public:
|
|||||||
void SetAimZ(float fAimZ);
|
void SetAimZ(float fAimZ);
|
||||||
|
|
||||||
PCHAR GetLoadedShopName();
|
PCHAR GetLoadedShopName();
|
||||||
|
void LoadShoppingDataSubsection(PCHAR szSectionName);
|
||||||
//char _gap0[813];
|
//char _gap0[813];
|
||||||
//char _gap0[741];
|
//char _gap0[741];
|
||||||
int field_48;
|
int field_48;
|
||||||
|
Reference in New Issue
Block a user