052B

From GTAMods Wiki
Revision as of 07:05, 23 December 2016 by Spaceeinstein (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
052B in action

Vice City SET_CHAR_ANSWERING_MOBILE


Description
Makes the character hold a mobile phone
Syntax
052B: actor [char handle] hold_cellphone [int]
Parameter
[char handle]
The handle of the character
[int]
0 = put back phone, 1 = pull out phone

This opcode allows the character to pull out and listen into the mobile phone. The phone model (specifically model index 258) has to be loaded in order for the phone to appear. The opcode is intended to be used while on foot and unarmed. It is buggy when used while driving, similar in effect to when the player changes clothes while on a bike, and the animation looks awkward when armed with certain weapons. When on the phone, many controls become restricted like the inability to sprint, jump, crouch, or enter cars.

Keywords

set, actor, character, cellphone, cell, mobile, phone, hold, listen, answer, answering

See also

  • San Andreas 0729, makes the character hold a mobile phone