mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-03 16:13:34 +08:00
[saco] Implement and match HasCollisionLoaded(...)
This commit is contained in:
parent
21d9e69510
commit
6b2e018270
@ -1452,6 +1452,23 @@ bool unnamed_100B4B50(VECTOR *vecPos)
|
||||
|
||||
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
bool HasCollisionLoaded(VECTOR *vec)
|
||||
{
|
||||
bool bResult = false;
|
||||
|
||||
_asm push 0
|
||||
_asm push vec
|
||||
_asm mov edx, 0x410CE0
|
||||
_asm call edx
|
||||
_asm mov bResult, al
|
||||
_asm pop edx
|
||||
_asm pop edx
|
||||
|
||||
return bResult;
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
|
||||
|
@ -47,3 +47,5 @@ OBJECT_TYPE * GamePool_GetObject();
|
||||
|
||||
void ReplaceBuildingModel(ENTITY_TYPE *pEntity, int iModelID);
|
||||
int GetInvalidModelInfoCount();
|
||||
|
||||
bool HasCollisionLoaded(VECTOR *vec);
|
||||
|
Loading…
x
Reference in New Issue
Block a user