Map Help
#1

I made this Map but their is a problem how i can make it in a teleport so that other user can teleport to this map anyone help?

Код HTML:
CreateObject(3458, 287.34174, 684.23700, 457.77377,   0.00000, 0.00000, 266.57639);
CreateObject(3458, 419.76263, 588.47583, 457.77377,   0.00000, 0.00000, 176.70055);
CreateObject(3458, 340.39557, 593.39862, 457.77377,   0.00000, 0.00000, 176.70055);
CreateObject(3458, 379.88315, 590.95953, 457.77377,   0.00000, 0.00000, 176.70055);
CreateObject(3458, 300.07452, 595.91144, 457.77377,   0.00000, 0.00000, 176.70055);
CreateObject(3458, 438.85309, 609.79718, 457.77377,   0.00000, 0.00000, 266.57639);
CreateObject(3458, 407.55667, 610.83337, 457.77377,   0.00000, 0.00000, 266.57639);
CreateObject(3458, 384.38467, 700.45642, 457.77377,   0.00000, 0.00000, 266.57639);
CreateObject(3458, 330.08429, 615.48224, 457.77377,   0.00000, 0.00000, 266.57639);
CreateObject(3458, 352.51263, 614.26709, 457.77377,   0.00000, 0.00000, 266.57639);
CreateObject(3458, 306.66559, 616.90533, 457.77377,   0.00000, 0.00000, 266.57639);
CreateObject(3458, 302.74258, 635.30023, 457.77377,   0.00000, 0.00000, 176.70055);
CreateObject(3458, 342.02191, 632.93958, 457.77377,   0.00000, 0.00000, 176.70055);
CreateObject(3458, 304.81549, 697.95245, 458.57837,   0.00000, 0.00000, 165.32170);
CreateObject(3458, 378.34134, 613.08099, 457.77377,   0.00000, 0.00000, 266.57639);
CreateObject(3458, 380.60510, 652.37933, 457.77377,   0.00000, 0.00000, 266.57639);
CreateObject(3458, 441.75018, 647.08771, 449.03760,   9.06000, -27.48000, 268.17941);
CreateObject(3458, 422.21902, 628.42145, 457.77377,   0.00000, 0.00000, 176.70055);
CreateObject(3458, 426.72153, 666.82422, 440.47540,   0.00000, 0.00000, 174.82249);
CreateObject(3458, 395.33929, 673.21771, 449.19595,   2.15999, -28.49998, 162.70535);
CreateObject(3458, 382.25009, 630.87012, 457.77377,   0.00000, 0.00000, 176.70055);
CreateObject(1632, 383.36765, 589.78491, 460.11655,   0.00000, 0.00000, 89.82411);
CreateObject(1632, 383.68927, 684.53711, 460.42874,   0.00000, 0.00000, 176.20201);
CreateObject(3458, 360.15802, 683.79102, 458.57837,   0.00000, 0.00000, 165.32170);
CreateObject(3458, 340.11603, 676.00684, 458.15164,   0.00000, 0.00000, 310.61719);
CreateObject(3458, 308.20029, 659.04504, 457.96399,   0.00000, 0.00000, 48.76756);
CreateObject(3458, 333.12430, 648.11438, 458.15164,   0.00000, 0.00000, 297.24271);
CreateObject(3458, 352.24149, 647.52094, 458.15164,   0.00000, 0.00000, 56.24379);
CreateObject(3458, 367.26477, 668.76996, 458.15164,   0.00000, 0.00000, 310.61719);
CreateObject(3458, 363.56448, 648.91852, 458.15164,   0.00000, 0.00000, 310.61719);
CreateObject(3458, 362.16052, 663.03680, 458.15164,   0.00000, 0.00000, 56.24379);
CreateObject(3458, 283.49445, 618.64233, 457.77377,   0.00000, 0.00000, 266.57639);
CreateObject(3458, 324.19394, 692.92834, 458.57837,   0.00000, 0.00000, 165.32170);
CreateObject(3458, 285.92313, 658.83636, 457.77377,   0.00000, 0.00000, 266.57639);
CreateObject(3458, 365.04535, 612.11218, 458.15164,   0.00000, 0.00000, 297.24271);
CreateObject(3458, 320.17770, 615.24622, 458.15164,   0.00000, 0.00000, 297.24271);
CreateObject(3458, 422.95749, 610.73749, 457.94455,   0.00000, 0.00000, 301.62711);
CreateObject(3458, 396.21442, 662.16449, 457.83633,   0.00000, 0.00000, 322.01428);
CreateObject(3458, 424.65201, 607.49304, 458.15164,   0.00000, 0.00000, 300.39560);
CreateObject(3458, 423.58990, 640.68707, 457.83633,   0.00000, 0.00000, 322.01428);
CreateObject(3458, 316.12094, 681.33691, 458.57837,   0.00000, 0.00000, 297.24271);
CreateObject(3458, 300.38196, 650.61926, 457.96399,   0.00000, 0.00000, 48.76756);
CreateObject(13641, 360.55524, 630.99957, 460.26950,   0.00000, 0.00000, 357.32260);
CreateObject(621, 384.29684, 720.17767, 458.84875,   0.00000, 0.00000, 0.00000);
CreateObject(621, 387.45798, 719.26440, 458.84875,   0.00000, 0.00000, 0.00000);
CreateObject(621, 385.84872, 719.56952, 458.84875,   0.00000, 0.00000, 0.00000);
CreateObject(621, 387.14325, 708.53772, 458.84875,   0.00000, 0.00000, 0.00000);
CreateObject(621, 387.55197, 716.73291, 458.84875,   0.00000, 0.00000, 0.00000);
CreateObject(621, 387.58603, 712.83868, 458.84875,   0.00000, 0.00000, 0.00000);
CreateObject(621, 386.84586, 704.55298, 458.84875,   0.00000, 0.00000, 0.00000);
CreateObject(621, 383.53326, 717.07123, 458.84875,   0.00000, 0.00000, 0.00000);
CreateObject(621, 386.81729, 699.66827, 458.84875,   0.00000, 0.00000, 0.00000);
CreateObject(621, 386.75717, 693.60828, 458.84875,   0.00000, 0.00000, 0.00000);
CreateObject(621, 382.33350, 693.83783, 458.84875,   0.00000, 0.00000, 0.00000);
CreateObject(621, 382.40933, 699.95325, 458.84875,   0.00000, 0.00000, 0.00000);
CreateObject(621, 382.55371, 705.22894, 458.84875,   0.00000, 0.00000, 0.00000);
CreateObject(621, 382.75217, 709.71423, 458.84875,   0.00000, 0.00000, 0.00000);
CreateObject(621, 383.22406, 713.91693, 458.84875,   0.00000, 0.00000, 0.00000);
CreateObject(1632, 382.43796, 671.82593, 460.42874,   0.00000, 0.00000, 356.18515);
CreateObject(1225, 386.58105, 719.43213, 460.26859,   0.00000, 0.00000, 0.00000);
CreateObject(1225, 385.75421, 717.41058, 459.74594,   0.00000, 0.00000, 0.00000);
CreateObject(1225, 385.75421, 717.41058, 459.74594,   0.00000, 0.00000, 0.00000);
CreateObject(1225, 386.60727, 716.14050, 459.74594,   0.00000, 0.00000, 0.00000);
CreateObject(1225, 386.47015, 717.32257, 459.74594,   0.00000, 0.00000, 0.00000);
CreateObject(1225, 385.09955, 717.49109, 459.74594,   0.00000, 0.00000, 0.00000);
CreateObject(1225, 384.95834, 716.34320, 459.74594,   0.00000, 0.00000, 0.00000);
CreateObject(1225, 385.78491, 716.24158, 459.74594,   0.00000, 0.00000, 0.00000);
CreateObject(1225, 286.48752, 703.08673, 460.44653,   0.00000, 0.00000, 0.00000);
CreateObject(1225, 285.97870, 700.84161, 460.44653,   0.00000, 0.00000, 0.00000);
CreateObject(1225, 286.23679, 701.85046, 460.44653,   0.00000, 0.00000, 0.00000);
CreateObject(1225, 286.69858, 704.43005, 460.44653,   0.00000, 0.00000, 0.00000);
CreateObject(621, 445.58136, 671.00842, 456.58423,   0.00000, 0.00000, 0.00000);
CreateObject(621, 439.21381, 584.81506, 456.58423,   0.00000, 0.00000, 0.00000);
CreateObject(621, 281.09738, 594.69775, 456.58423,   0.00000, 0.00000, 0.00000);
CreateObject(1632, 387.38284, 629.44385, 460.11655,   0.00000, 0.00000, 89.82411);
CreateObject(1632, 369.87173, 590.54034, 460.11655,   0.00000, 0.00000, 266.82535);
CreateObject(1225, 374.83258, 590.09814, 459.93564,   0.00000, 0.00000, 0.00000);
CreateObject(1225, 374.83258, 590.09814, 459.93564,   0.00000, 0.00000, 0.00000);
CreateObject(1225, 376.36945, 589.84753, 459.93564,   0.00000, 0.00000, 0.00000);
CreateObject(1225, 375.56610, 589.89606, 459.93564,   0.00000, 0.00000, 0.00000);
CreateObject(1225, 377.59134, 591.05194, 459.93564,   0.00000, 0.00000, 0.00000);
CreateObject(1225, 377.28305, 589.79236, 459.93564,   0.00000, 0.00000, 0.00000);
CreateObject(1225, 376.12054, 591.24213, 459.93564,   0.00000, 0.00000, 0.00000);
CreateObject(1225, 377.14145, 590.89941, 459.93564,   0.00000, 0.00000, 0.00000);
Reply
#2

just simply teleport player to object

example this cords 287.34174, 684.23700, 457.77377
Reply
#3

You can use this function to teleport the player there:
pawn Код:
SetPlayerPos(playerid, Xcoords, Ycoords, Zcoords);
SetPlayerInterior(playerid, InteriorID);
Just replace Xcoords Ycoords and Zcoords with your coordinates that you want him teleported to, replace InteriorID if you want to teleport him to an interior, and you just have to make a function to trigger it ofcourse.
Reply
#4

As it seems you may be new to scripting, you can do this with a simple command.


ZCMD:

Код:
CMD:gotopos(playerid, params[])
{
	new interiorid, x, y, z;
	if(!sscanf(params, "dddd", interiorid, x, y, z))
	{
	    SetPlayerPos(playerid, x, y, z);
	    SetPlayerInterior(playerid, interior);
	}
	return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)