Difference between revisions of "0055"

From GTAMods Wiki
Jump to navigation Jump to search
 
m
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== 0055 ==
+
{{OpCode
 +
| games      = {{Icon|3}} {{Icon|VC}}
 +
| command    = SET_PLAYER_COORDINATES
 +
| description = Sets the player's coordinates point
 +
| syntax1    = 0055: put_player [''player handle''] at [''flt1''] [''flt2''] [''flt3'']
 +
| p1t        = [''player handle'']
 +
| p1d        = The [[0053|handle of the player]]
 +
| p2t        = [''flt1'']
 +
| p2d        = X-coordinate
 +
| p3t        = [''flt2'']
 +
| p3d        = Y-coordinate
 +
| p4t        = [''flt3'']
 +
| p4d        = 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.
  
'''Number of parameters:''' 4
+
== Keywords ==
 +
put, place, warp, set, player, position, coordinates
  
'''Works in:''' <br> SA
+
== See also ==
 
+
* {{Icon|3}} {{Icon|VC}} [[0054]], gets the player's coordinates
'''Description:'''
+
* {{Icon|t}} [[00A1]], sets the character's coordinates
 
+
* {{Icon|t}} [[00AB]], sets the vehicle's coordinates
Puts player at given co-ordinates
+
* {{Icon|t}} [[01BC]], sets the object's coordinates
 
 
'''Notes'''
 
 
 
Sanny builder does not recognise this opcode.
 
  
 
[[Category:OpCodes]]
 
[[Category:OpCodes]]

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