024A

From GTAMods Wiki
Revision as of 16:57, 5 March 2010 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. Up to 49 phones can be stored in the game. 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