Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 00F1

Opcode Database

00F1

DescriptionReturns true if the actor is near the specified point with the specified radius and is in a car which is not moving.

The sphere flag sets whether there should be a red circle indicating the point and radius the actor must be in.
Parameters (v2)1) Actor handle (Integer) (INT)
2) X Coord (Float) (FLOAT)
3) Y Coord (Float) (FLOAT)
4) X Radius (Float) (FLOAT)
5) Y Radius (Float) (FLOAT)
6) Boolean (1 or 0) (INT)
Gamessa vc iii
CategoryActor, Common, Conditional, Locate, Locate, Vehicle
San Andreas
sascm.ini00F1=6, locate_stopped_char_in_car_2d %1d% coord %2d% %3d% radius %4d% %5d% sphere %6d%
Example00F1: locate_stopped_char_in_car_2d $PLAYER_ACTOR coord 540.0 2000.0 sphere 0
Command NameLOCATE_STOPPED_CHAR_IN_CAR_2D
Vice City
sascm.ini00f1=6, actor %1d% stopped %6bin-sphere/%near_point_in_car %2d% %3d% radius %4d% %5d% ;; never used in VC
Example00F1: actor $PLAYER_ACTOR sphere 0 near_point 540.0 200.0 stopped_in_car
Command NameLOCATE_STOPPED_CHAR_IN_CAR_2D
GTA III
gtascm.ini00f1=6, actor %1d% stopped %6bin-sphere/%near_point_in_car %2d% %3d% radius %4d% %5d%
Example00F1: actor $PLAYER_ACTOR sphere 0 near_point 340.0 200.0 stopped_in_car
Command NameLOCATE_STOPPED_CHAR_IN_CAR_2D

<< 00F0

00F2 >>