024A

From GTAMods Wiki
Revision as of 07:21, 21 August 2009 by Spaceeinstein (talk | contribs)
Jump to navigation Jump to search

{{{games}}}


Description
Gets a payphone at a location
Syntax
{{{syntax1}}}
Parameter

This opcode gets a payphone (ID 341) at or near the coordinate and assigns it to a handle. It can only be used with opcodes 024E and 0405. This opcode cannot create a payphone object. The coordinates have to be close to a payphone or else the game can crash. Note that the third parameter is placed in the beginning instead of at the end.

Sanny Builder example:

024A: $292 = create_phone_at 36.90385 -1023.3