Difference between revisions of "024D"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{OpCode | games = {{Icon|3}} | command = HAS_PHONE_DISPLAYED_MESSAGE | description = Checks if the payphone has displayed a message | syntax1 = 024D:  ...")
 
 
Line 3: Line 3:
 
| command    = HAS_PHONE_DISPLAYED_MESSAGE
 
| command    = HAS_PHONE_DISPLAYED_MESSAGE
 
| description = Checks if the [[payphone]] has displayed a message
 
| description = Checks if the [[payphone]] has displayed a message
| syntax1    = 024D:   phone_text_been_displayed [''phone handle'']
+
| syntax1    = 024D:   phone [''phone handle''] has_displayed_message
 
| p1t        = [''phone handle'']
 
| p1t        = [''phone handle'']
 
| p1d        = The [[024A|handle of the phone]]
 
| p1d        = The [[024A|handle of the phone]]
 
}}
 
}}
  
This conditional opcode returns true when the payphone has finished displaying a message and is not currently displaying one.
+
This conditional opcode returns true when the payphone has finished displaying a message and is not currently displaying one. If the phone is turned on, off, or set to a message through the script, the payphone is considered as having never displayed a message even if it had displayed a previous one in the past.
  
 
== Keywords ==
 
== Keywords ==
 
check, has, pay, phone, payphone, display, displayed, text, message
 
check, has, pay, phone, payphone, display, displayed, text, message

Latest revision as of 00:53, 19 January 2016

GTA III HAS_PHONE_DISPLAYED_MESSAGE


Description
Checks if the payphone has displayed a message
Syntax
024D:   phone [phone handle] has_displayed_message
Parameter
[phone handle]
The handle of the phone

This conditional opcode returns true when the payphone has finished displaying a message and is not currently displaying one. If the phone is turned on, off, or set to a message through the script, the payphone is considered as having never displayed a message even if it had displayed a previous one in the past.

Keywords

check, has, pay, phone, payphone, display, displayed, text, message