Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make player teleport when touching item?
Anxt Offline
Senior Member

Posts: 588
Threads: 12
Joined: Mar 2011
Reputation: 10
#4
RE: How to make player teleport when touching item?

void OnStart()
{
SetEntityPlayerInteractCallback("key", "Stuff", true);
}
void Stuff(string &in asEntity)
{
TeleportPlayer("PlayerStartArea");
}

04-08-2011, 05:06 PM
Find


Messages In This Thread
RE: How to make player teleport when touching item? - by Anxt - 04-08-2011, 05:06 PM



Users browsing this thread: 1 Guest(s)