mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-03 16:13:34 +08:00
[saco] Implement/match CPlayerPed::LoadShoppingDataSubsection(...)
This commit is contained in:
parent
4b50e705ec
commit
48f6041de6
@ -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);
|
||||
|
||||
PCHAR GetLoadedShopName();
|
||||
void LoadShoppingDataSubsection(PCHAR szSectionName);
|
||||
//char _gap0[813];
|
||||
//char _gap0[741];
|
||||
int field_48;
|
||||
|
Loading…
x
Reference in New Issue
Block a user