mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-07-18 09:28:07 +08:00
[saco] Implement/match FUNC_100B43F0(...)
This commit is contained in:
@ -467,6 +467,26 @@ struc_13 * __stdcall FUNC_100B43D0(BYTE bytePlayer)
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
BYTE __stdcall FUNC_100B43F0(DWORD *pdwRenderWare)
|
||||
{
|
||||
BYTE x = 0;
|
||||
while(x != PLAYER_PED_SLOTS)
|
||||
{
|
||||
ENTITY_TYPE *pEntity = (ENTITY_TYPE *)dwPlayerPedPtrs[x];
|
||||
if(pEntity)
|
||||
{
|
||||
if(pEntity->pdwRenderWare)
|
||||
{
|
||||
if(pEntity->pdwRenderWare == pdwRenderWare)
|
||||
return x;
|
||||
}
|
||||
}
|
||||
x++;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
|
@ -40,6 +40,7 @@ DWORD __stdcall GetPlayerPedPtrRecord(BYTE bytePlayer);
|
||||
BYTE __stdcall FindPlayerNumFromPedPtr(DWORD dwPedPtr);
|
||||
void __stdcall FUNC_100B4390(BYTE bytePlayer, DWORD a2, DWORD a3, DWORD a4, DWORD a5);
|
||||
struc_13 * __stdcall FUNC_100B43D0(BYTE bytePlayer);
|
||||
BYTE __stdcall FUNC_100B43F0(DWORD *pdwRenderWare);
|
||||
float __stdcall SquaredDistanceBetweenHorizontalPoints(float x1, float y1, float x2, float y2);
|
||||
float DistanceBetweenHorizontalPoints(float x1, float y1, float x2, float y2);
|
||||
float DistanceBetweenPoints(float x1, float y1, float z1, float x2, float y2, float z2);
|
||||
|
Reference in New Issue
Block a user