need help with teleport! command
#2

Get the X, Y, Z of the object where the player must spawn on.

Example: CreateObject(1234, 1234.234, 2142.1245,2452.5243);

The X, Y and Z are the three after the object ID. : X= 1234.234 Y = 2142.1245 Z = 2452.5243
Do the Z +5 or something, that the player is not IN the object:
2452.5243 + 5 = 2457.5243
And then:

pawn Код:
SetPlayerPos(playerid, 1234.234, 2142.1245, 2457.5243); // edited
Reply


Messages In This Thread
need help with teleport! command - by unique1801 - 21.10.2009, 12:49
Re: need help with teleport! command - by CAR - 21.10.2009, 13:10
Re: need help with teleport! command - by unique1801 - 21.10.2009, 13:32
Re: need help with teleport! command - by CAR - 21.10.2009, 13:35
Re: need help with teleport! command - by unique1801 - 21.10.2009, 14:02
Re: need help with teleport! command - by CAR - 22.10.2009, 09:11
Re: need help with teleport! command - by Correlli - 22.10.2009, 14:28
Re: need help with teleport! command - by CAR - 22.10.2009, 15:35
Re: need help with teleport! command - by Peter_Corneile - 22.10.2009, 18:23
Re: need help with teleport! command - by CAR - 22.10.2009, 19:03

Forum Jump:


Users browsing this thread: 1 Guest(s)