enterible buildings
#2

Create a command called /enter and /exit.
With /enter:
Check if the player is in range of the outside point of the building
Quote:

1547.1053,-1271.2018,17.4063,137.6826

Using IsPlayerInRangeOfPoint.
Then if he is, use SetPlayerPos to set the player's position to the inside coordinates.
Quote:

1545.7811,-1269.5010,17.4063

Do the same with /exit, check if they are at the inside coordinates, if so, SetPlayerPos to the outside coordinates.
Reply


Messages In This Thread
enterible buildings - by semaj - 19.02.2015, 20:47
Re: enterible buildings - by CalvinC - 19.02.2015, 20:53
Re: enterible buildings - by semaj - 19.02.2015, 21:22
Re: enterible buildings - by CalvinC - 19.02.2015, 21:26
Re: enterible buildings - by semaj - 19.02.2015, 21:36
Re: enterible buildings - by semaj - 19.02.2015, 21:38
Re: enterible buildings - by CalvinC - 19.02.2015, 21:44
Re: enterible buildings - by semaj - 19.02.2015, 21:56
Re: enterible buildings - by CalvinC - 19.02.2015, 22:01
Re: enterible buildings - by semaj - 19.02.2015, 22:09

Forum Jump:


Users browsing this thread: 1 Guest(s)