mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement and match ReplaceBuildingModel(...)
This commit is contained in:
parent
34e3becac1
commit
ddb2440aab
@ -1189,6 +1189,14 @@ OBJECT_TYPE * GamePool_GetObject()
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
void ReplaceBuildingModel(ENTITY_TYPE *pEntity, int iModelID)
|
||||
{
|
||||
_asm push iModelID
|
||||
_asm mov ecx, pEntity
|
||||
_asm mov edx, 0x403EC0
|
||||
_asm call edx
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
// Translate Weapon model ID into actual weapon ID.
|
||||
|
||||
|
@ -39,3 +39,5 @@ BUILDING_TYPE * GamePool_GetBuilding();
|
||||
DUMMY_TYPE * GamePool_GetDummy();
|
||||
OBJECT_TYPE * GamePool_GetObject();
|
||||
|
||||
void ReplaceBuildingModel(ENTITY_TYPE *pEntity, int iModelID);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user