SetPlayerPos isn't working properly.
#1

Hello, I am using SetPlayerPos to teleport a player to the hitmans base when they press a key, however when I press the defined key it just teleports me to a random position nowhere near the actual co-ordinates the player should be at.

Код:
	if(newkeys == KEY_SECONDARY_ATTACK)
	{
	 	if(IsPlayerInRangeOfPoint(playerid, 10.0,-831.0634,1985.0758,9.4007))
	        {
			SetPlayerPos(playerid, -571.6187, 2003.2090, -360.5818);
			return 1;
		}

It just teleports me to -827.1250,1975.1250,7.6998.
Unless it's because I am teleporting deep beneath the ground and it's bugging out I am totally confused any help is greatly appreciated.
Reply


Messages In This Thread
SetPlayerPos isn't working properly. - by total3clipse - 19.05.2013, 09:52
Re: SetPlayerPos isn't working properly. - by Tamer - 19.05.2013, 10:04
Re: SetPlayerPos isn't working properly. - by total3clipse - 19.05.2013, 10:07
Re: SetPlayerPos isn't working properly. - by Tamer - 19.05.2013, 10:10
Re: SetPlayerPos isn't working properly. - by total3clipse - 19.05.2013, 10:47
Re: SetPlayerPos isn't working properly. - by Abhishek. - 19.05.2013, 10:52
Re: SetPlayerPos isn't working properly. - by total3clipse - 19.05.2013, 11:17
Re: SetPlayerPos isn't working properly. - by mineralo - 19.05.2013, 11:23
Re: SetPlayerPos isn't working properly. - by total3clipse - 19.05.2013, 11:33

Forum Jump:


Users browsing this thread: 1 Guest(s)