Difference between revisions of "0055"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
m
 
Line 1: Line 1:
{{Icon|3}} {{Icon|VC}} '''SET_PLAYER_COORDINATES'''
+
{{OpCode
<hr />
+
| games      = {{Icon|3}} {{Icon|VC}}
'''Description'''
+
| command    = SET_PLAYER_COORDINATES
: Sets the player's coordinates point
+
| description = Sets the player's coordinates point
'''Syntax'''
+
| syntax1    = 0055: put_player [''player handle''] at [''flt1''] [''flt2''] [''flt3'']
: 0055: put_player [''player handle''] at [''flt1''] [''flt2''] [''flt3'']
+
| p1t        = [''player handle'']
'''Parameter'''
+
| p1d        = The [[0053|handle of the player]]
: [''player handle'']
+
| p2t        = [''flt1'']
:: The [[0053|handle of the player]]
+
| p2d        = X-coordinate
: [''flt1'']
+
| p3t        = [''flt2'']
:: X-coordinate
+
| p3d        = Y-coordinate
: [''flt2'']
+
| p4t        = [''flt3'']
:: Y-coordinate
+
| p4d        = Z-coordinate (or &le;''-100.0'' for [[02CE|ground z]])
: [''flt3'']
+
}}
:: Z-coordinate (or ''-100.0'' for [[02CE|ground z]])
 
  
 
This opcode sets the player's coordinates point by warping the player character to the location. The player's feet is the point where the player character will be placed by. If the player is in a vehicle, the vehicle will also move along with the player.
 
This opcode sets the player's coordinates point by warping the player character to the location. The player's feet is the point where the player character will be placed by. If the player is in a vehicle, the vehicle will also move along with the player.

Latest revision as of 23:18, 19 January 2016

GTA III Vice City SET_PLAYER_COORDINATES


Description
Sets the player's coordinates point
Syntax
0055: put_player [player handle] at [flt1] [flt2] [flt3]
Parameter
[player handle]
The handle of the player
[flt1]
X-coordinate
[flt2]
Y-coordinate
[flt3]
Z-coordinate (or ≤-100.0 for ground z)

This opcode sets the player's coordinates point by warping the player character to the location. The player's feet is the point where the player character will be placed by. If the player is in a vehicle, the vehicle will also move along with the player.

Keywords

put, place, warp, set, player, position, coordinates

See also

  • GTA III Vice City 0054, gets the player's coordinates
  • GTA III Vice City San Andreas 00A1, sets the character's coordinates
  • GTA III Vice City San Andreas 00AB, sets the vehicle's coordinates
  • GTA III Vice City San Andreas 01BC, sets the object's coordinates