Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 078B

Opcode Database

078B

DescriptionRetrieves the entity attached to the helis magnet and returns to specific variables depending on the entities type.

Returns -1 for any entity type not found.

So if a car was attached to the heli, the returns in-order would be:
1: -1
2: [Car Handle]
3: -1
Parameters (v2)1) Helicopter handle (Integer) (INT)
2) (Returned) Actor handle (Integer) (INT)
3) (Returned) Vehicle handle (Integer) (INT)
4) (Returned) Object handle (Integer) (INT)
Gamessa
Category
San Andreas
sascm.ini078B=4,grab_entity_on_winch %1d% store_char_to %2d% car_to %3d% object_to %4d%
Example078B: grab_entity_on_winch 34@ store_char_to 126@ car_to 127@ object_to 128@
Command NameGRAB_ENTITY_ON_WINCH

<< 078A

078C >>