06.12.2017, 18:52
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
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;
}

