Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 06C1

Opcode Database

06C1

DescriptionCreates a searchlight-styled light cone on a car with the specified offset and points to a certain point.

The first radius param defines how large the cone of light is at the source. The second radius param defines the size that the cone expands/contracts to.
Parameters (v2)1) Vehicle handle (Integer) (INT)
2) X Offset (Float) (FLOAT)
3) Y Offset (Float) (FLOAT)
4) Z Offset (Float) (FLOAT)
5) X Coord (Float) (FLOAT)
6) Y Coord (Float) (FLOAT)
7) Z Coord (Float) (FLOAT)
8) Radius (Float) (FLOAT)
9) Radius (Float) (FLOAT)
10) (Returned) Searchlight handle (INT)
Gamessa
CategoryCreation, Vehicle
San Andreas
sascm.ini06C1=10,create_searchlight_on_vehicle %1d% offset %2d% %3d% %4d% target %5d% %6d% %7d% target_radius %8d% radius %9d% store_to %10d%
Example06C1: create_searchlight_on_vehicle 40@ offset 0.0 1.0 -0.5 target 2228.36 -1171.48 25.82 target_radius 5.0 radius 0.4 store_to 58@
Command NameCREATE_SEARCHLIGHT_ON_VEHICLE

<< 06C0

06C2 >>