Difference between revisions of "0379"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{OpCode | games = {{Icon|3}} | command = SET_2_PHONE_MESSAGES | description = Sets the payphone to two messages | syntax1 = 0379: set_phone [''phone handle''] 2...")
 
m
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
| games      = {{Icon|3}}
 
| games      = {{Icon|3}}
 
| command    = SET_2_PHONE_MESSAGES
 
| command    = SET_2_PHONE_MESSAGES
| description = Sets the payphone to two messages
+
| description = Sets the [[payphone]] to two messages
| syntax1    = 0379: set_phone [''phone handle''] 2messages '[''string'']' '[''string'']'
+
| syntax1    = 0379: set_phone [''phone handle''] 2messages '[''string1'']' '[''string2'']'
 
| p1t        = [''phone handle'']
 
| p1t        = [''phone handle'']
| p1d        = The handle of the phone
+
| p1d        = The [[024A|handle of the phone]]
| p2t        = [''string'']
+
| p2t        = [''string1'']
| p2d        = [[GXT]] string
+
| p2d        = [[GXT]] key
| p3t        = [''string'']
+
| p3t        = [''string2'']
| p3d        = GXT string
+
| p3d        = GXT key
 
}}
 
}}
  
This opcode turns on the payphone and sets it to two messages. It behaves almost exactly the same as opcode [[024C]] except the second message is displayed right after the first and before the cutscene ends.
+
This opcode turns on the payphone and sets it to two messages. It behaves almost exactly the same as opcode [[024C]] except two messages are displayed, each three seconds long for a total of six seconds, before the cutscene ends. This opcode was never called in the [[Main.scm|original script]] of GTA III.
  
 
== Keywords ==
 
== Keywords ==
 
set, pay, phone, payphone, text, message
 
set, pay, phone, payphone, text, message

Latest revision as of 21:57, 26 November 2016

GTA III SET_2_PHONE_MESSAGES


Description
Sets the payphone to two messages
Syntax
0379: set_phone [phone handle] 2messages '[string1]' '[string2]'
Parameter
[phone handle]
The handle of the phone
[string1]
GXT key
[string2]
GXT key

This opcode turns on the payphone and sets it to two messages. It behaves almost exactly the same as opcode 024C except two messages are displayed, each three seconds long for a total of six seconds, before the cutscene ends. This opcode was never called in the original script of GTA III.

Keywords

set, pay, phone, payphone, text, message