19.05.2013, 09:52
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.
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.
Код:
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.