Restricted teleport
#1

Hi, I havent found anything similar. I would like to know how I can create a teleport that can only be used if you are in an area, if you are not in that area, the command will not work, thank you.
Reply
#2

Could always use IsPlayerInRangeOfPoint.
Reply
#3

Quote:
Originally Posted by Arthur Kane
Посмотреть сообщение
Could always use IsPlayerInRangeOfPoint.
Yes, but in IsPlayerInRangeOfPoint do i just need to put the /save position?
Reply
#4

https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint

x, y, z is the center. Range is the radius. Think of it like a circle with radius 'Range' and center as (x,y,z)

You need to put the first three cords of /save as x, y and z respectively and then specify a range.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)