Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 091C

Opcode Database

091C

DescriptionReturns the character using a map attractor with the specified model in the specified area.
Parameters (v2)1) X Coord (Float) (FLOAT)
2) Y Coord (Float) (FLOAT)
3) Z Coord (Float) (FLOAT)
4) Radius (Float) (FLOAT)
5) Model (Integer) (MODEL)
6) Long string ("string") (STRING)
7) (Returned) Actor handle (Integer) (INT)
Gamessa
Category
San Andreas
sascm.ini091C=7,get_user_of_closest_map_attractor %1d% %2d% %3d% radius %4d% object_model %5o% name %6h% store_to %7d%
Example091C: get_user_of_closest_map_attractor $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 radius 1.5 object_model #KB_BANDIT_U name "PEDSLOT" store_to 16@
Command NameGET_USER_OF_CLOSEST_MAP_ATTRACTOR

<< 091B

091D >>