:getCollisionBetweenPoints
{
0AB1: @getCollisionBetweenPoints 18 from 0@ 1@ 2@ to 3@ 4@ 5@ solid 1 car 1 actor 1 object 1 particle 1 cartyre 1 bikers 0 water 0 DeadPeds 0 see_through 0 camera_objects 0 shoot_through 0 store_to 6@ 7@ 8@ distance_to 9@ entity_to 10@
0A8E: 11@ = 10@ + 0x36 // 10@ Entity struct
0A8D: 11@ = read_memory 11@ size 1 virtual_protect 0 // entity->m_nStatusType
0B10: 12@ = 11@ AND 7 // 12@ - EntityType
EntityType:
ENTITY_TYPE_NOTHING = 0
ENTITY_TYPE_BUILDING = 1
ENTITY_TYPE_VEHICLE = 2
ENTITY_TYPE_PED = 3
ENTITY_TYPE_OBJECT = 4
ENTITY_TYPE_DUMMY = 5
ENTITY_TYPE_NOTINPOOLS = 6
}
IF 00DF: actor $PLAYER_ACTOR in_car
THEN
03C0: 18@ = actor $PLAYER_ACTOR...