Difference between revisions of "052B"
Jump to navigation
Jump to search
m (image) |
(page updates) |
||
Line 1: | Line 1: | ||
[[File:052B.png|thumb|052B in action]] | [[File:052B.png|thumb|052B in action]] | ||
{{OpCode | {{OpCode | ||
− | | | + | | games = {{Icon|VC}} |
− | | description = Makes | + | | command = SET_<wbr>CHAR_<wbr>ANSWERING_<wbr>MOBILE |
− | | | + | | description = Makes the character hold a mobile phone |
− | | | + | | syntax1 = 052B: actor [''char handle''] hold_cellphone [''int''] |
− | | | + | | p1t = [''char handle''] |
+ | | p1d = The handle of the character | ||
+ | | p2t = [''int''] | ||
+ | | p2d = 0 = put back phone, {{hint|1|or any value other than 0}} = pull out phone | ||
}} | }} | ||
− | |||
− | + | This opcode allows the character to pull out and listen into the mobile phone. The phone model (ID 258) has to be [[0247|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. The opcode is superseded by [[0729]] in [[San Andreas]]. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ==Keywords== | + | == Keywords == |
− | cellphone, cell, mobile, phone, hold, listen | + | set, actor, character, cellphone, cell, mobile, phone, hold, listen, answer, answering |
Revision as of 09:06, 16 January 2016
- 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 (ID 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. The opcode is superseded by 0729 in San Andreas.
Keywords
set, actor, character, cellphone, cell, mobile, phone, hold, listen, answer, answering