/gethere in dialog
#5

It's better a command, you'll just need to press T, arrow up, delete the last number and change it with a new player id.
With dialogs you'll have to click on button "back", "Teleport" many times. Use a command mate


pawn Код:
CMD:gethere(playerid, params[])
{
         new teleportedid;
         if(sscanf(params, "u", teleportedid)) return SendClientMessage(playerid, -1, "/gethere [player id]");
         if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, -1, "That player isn't connected");
         new Float:x, Float:y, Float:z;
         GetPlayerPos(playerid, x, y, z);
         SetPlayerPos(teleportedid, x+1, y+1, z);
         return 1;
}
Reply


Messages In This Thread
/gethere in dialog - by 3agle - 06.12.2017, 17:32
Re: /gethere in dialog - by Sabur - 06.12.2017, 18:00
Re: /gethere in dialog - by Lucases - 06.12.2017, 18:07
Re: /gethere in dialog - by 3agle - 06.12.2017, 18:48
Re: /gethere in dialog - by Lucases - 06.12.2017, 18:52
Re: /gethere in dialog - by Sew_Sumi - 06.12.2017, 18:52
Re: /gethere in dialog - by Lucases - 06.12.2017, 18:55
Re: /gethere in dialog - by thefirestate - 06.12.2017, 19:50
Re: /gethere in dialog - by Sew_Sumi - 06.12.2017, 20:00
Re: /gethere in dialog - by 3agle - 07.12.2017, 18:23

Forum Jump:


Users browsing this thread: 1 Guest(s)