Teleport X Y Z
#2

pawn Код:
if(strcmp(cmdtext, "/gotoloc", true) == 0)
    {
      SetPlayerPos(playerid, x y z coords);
      SetPlayerInterior(playerid, 0); // 0 if it's outside, otherwise change it to interior id
      return 1;
     }
Put it OnPlayerCommandText callback
Reply


Messages In This Thread
Teleport X Y Z - by anumaz - 30.06.2009, 03:03
Re: Teleport X Y Z - by *ToM* - 30.06.2009, 03:20
Re: Teleport X Y Z - by anumaz - 30.06.2009, 03:59
Re: Teleport X Y Z - by Grim_ - 30.06.2009, 04:31
Re: Teleport X Y Z - by anumaz - 30.06.2009, 04:37
Re: Teleport X Y Z - by Grim_ - 30.06.2009, 04:38
Re: Teleport X Y Z - by Ignas1337 - 30.06.2009, 07:09
Re: Teleport X Y Z - by Grim_ - 30.06.2009, 07:16
Re: Teleport X Y Z - by Ignas1337 - 30.06.2009, 08:14
Re: Teleport X Y Z - by Grim_ - 30.06.2009, 08:46

Forum Jump:


Users browsing this thread: 6 Guest(s)