mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 03:33:04 +08:00
[saco] Match FUNC_1001EBE0; the free __stdcall twin of FindGtaIDFromID that takes the pointer directly
This commit is contained in:
@@ -38,3 +38,11 @@ void CVehiclePool::FUNC_1001E9B0()
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
int __stdcall FUNC_1001EBE0(VEHICLE_TYPE *pVehicle)
|
||||
{
|
||||
if(pVehicle) return GamePool_Vehicle_GetIndex(pVehicle);
|
||||
return INVALID_VEHICLE_ID;
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user