Posts: 38
Threads: 9
Joined: Aug 2009
Reputation:
0
Well I need to know how to put a player in a place for a certain time and then set him to other place after that time
EX:
the player does a command /fly
it teleports the player to an interior for 10 seconds
it teleports the player to other place after those 10 seconds
Posts: 38
Threads: 9
Joined: Aug 2009
Reputation:
0
I dont know nothing about timers... can you help with a simple one?
Posts: 38
Threads: 9
Joined: Aug 2009
Reputation:
0
Ok but I want the command to be used in a place
EX: There's an icon that when you get near it it gives you a gametext for player saying /fly, BUT /fly can only be used in that place
How do i do it? X_x
Posts: 2,628
Threads: 32
Joined: Apr 2007
Reputation:
0
As Claude linked; use areachecks and pickups (if you don't want an icon, pickups is unecaserry)
EDIT: Btw, for areachecks, I recommend using IsPlayerInRangeOfPoint.
Posts: 38
Threads: 9
Joined: Aug 2009
Reputation:
0
Nevermind,I'll just use
if (PlayerToPoint(2.0, playerid,x,y.z))
Posts: 2,628
Threads: 32
Joined: Apr 2007
Reputation:
0
IsPlayerInRangeOfPoint is exactly the same as PlayerToPoint, and IsPlayerInRangeOfPoint is already implemented..