Difference between revisions of "052B"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{OpCode | ini = 052B=2,%1d% %2h% | description = Makes an actor hold a cellphone | p1 = Existing actor handle | p2 = Flag | game = Vice City }} This o...)
 
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
[[File:052B.png|thumb|052B in action]]
 
{{OpCode
 
{{OpCode
| ini        = 052B=2,%1d% %2h%
+
| games      = {{Icon|VC}}
| description = Makes an actor hold a cellphone
+
| command    = SET_<wbr>CHAR_<wbr>ANSWERING_<wbr>MOBILE
| p1          = Existing actor handle
+
| description = Makes the character hold a mobile phone
| p2          = Flag
+
| syntax1    = 052B: actor [''char handle''] hold_cellphone [''int'']
| game        = [[Vice City]]
+
| 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 will make the actor pull out and listen into the cell phone. The opcode is succeeded by [[0729]] in [[San Andreas]]. The cellphone model (ID 258) has to be loaded using [[0247]] in order for the phone to appear. If the model is not loaded, the actor would be listening into an invisible phone.
 
  
{| {{Prettytable}}
+
This opcode allows the character to pull out and listen into the mobile phone. The phone model (specifically [[IDE|model index]] 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.
! Flag
 
! Description
 
|-
 
| 0
 
| Puts back cellphone
 
|-
 
| 1
 
| Brings up cellphone
 
|}
 
http://img.photobucket.com/albums/v41/spaceeinstein/052B.png
 
  
==Keywords==
+
== Keywords ==
cellphone, cell, mobile, phone, hold, listen
+
set, actor, character, cellphone, cell, mobile, phone, hold, listen, answer, answering
 +
 
 +
== See also ==
 +
* {{Icon|SA}} [[0729]], makes the character hold a mobile phone

Latest revision as of 07:05, 23 December 2016

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