SA-MP Forums Archive
Map / Teleports - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Map / Teleports (/showthread.php?tid=233936)



Map / Teleports - sMog. - 02.03.2011

Hello, i need help with making script
i wanna make script where i have teleport

Код:
 if(!strcmp(cmdtext, "/bj"))
   {
       if(IsPlayerInAnyVehicle(playerid))
       {
           SetVehiclePos(GetPlayerVehicleID(playerid), 2621.844482, -1608.850952, 1041.503296);
       }
       else
       {
           SetPlayerPos(playerid, 2621.844482, -1608.850952, 1041.503296);
       }
       SendClientMessage(playerid, 0x0000FFAA, "You have been teleported to Big Jump");
       return 1;
   }
and objects

Код:
CreateObject(8040, 2661.265869, -1591.390869, 1034.517944, 0.0000, 0.0000, 180.0000);
CreateObject(623, 2696.505371, -1573.283936, 1035.325806, 0.0000, 0.0000, 180.0000);
CreateObject(623, 2685.433350, -1573.333374, 1035.375854, 0.0000, 0.0000, 180.0000);
CreateObject(623, 2673.773438, -1573.284302, 1035.400879, 0.0000, 0.0000, 180.0000);
CreateObject(623, 2661.198975, -1573.248291, 1035.375854, 0.0000, 0.0000, 180.0000);
CreateObject(623, 2648.800293, -1573.258545, 1035.375854, 0.0000, 0.0000, 180.0000);
CreateObject(623, 2636.721436, -1573.280273, 1035.421509, 0.0000, 0.0000, 180.0000);
CreateObject(623, 2624.345947, -1573.266724, 1035.400879, 0.0000, 0.0000, 180.0000);
CreateObject(3515, 2641.530762, -1591.457886, 1032.791382, 0.0000, 0.0000, 0.0000);
CreateObject(3515, 2644.235596, -1591.456177, 1032.766357, 0.0000, 0.0000, 0.0000);
CreateObject(3515, 2646.898193, -1591.455078, 1032.817871, 0.0000, 0.0000, 0.0000);
CreateObject(3515, 2649.550537, -1591.315186, 1032.792603, 0.0000, 0.0000, 0.0000);
CreateObject(3515, 2652.203125, -1591.378662, 1032.817871, 0.0000, 0.0000, 0.0000);
CreateObject(3515, 2654.875977, -1591.414429, 1032.816406, 0.0000, 0.0000, 0.0000);
CreateObject(3515, 2657.562500, -1591.449707, 1032.844360, 0.0000, 0.0000, 0.0000);
CreateObject(3515, 2660.219727, -1591.411499, 1032.817871, 0.0000, 0.0000, 0.0000);
CreateObject(3515, 2662.900146, -1591.484619, 1032.845337, 0.0000, 0.0000, 0.0000);
CreateObject(3515, 2665.538086, -1591.410034, 1032.817871, 0.0000, 0.0000, 0.0000);
CreateObject(3515, 2668.215820, -1591.555664, 1032.843140, 0.0000, 0.0000, 0.0000);
CreateObject(3515, 2670.890381, -1591.562744, 1032.843140, 0.0000, 0.0000, 0.0000);
CreateObject(3515, 2673.576172, -1591.577637, 1032.816406, 0.0000, 0.0000, 0.0000);
CreateObject(3515, 2676.193604, -1591.597778, 1032.817871, 0.0000, 0.0000, 0.0000);
CreateObject(3515, 2678.920166, -1591.476196, 1032.817627, 0.0000, 0.0000, 0.0000);
CreateObject(3515, 2681.598145, -1591.515869, 1032.817627, 0.0000, 0.0000, 0.0000);
CreateObject(1215, 2621.434082, -1572.923218, 1035.867065, 0.0000, 0.0000, 0.0000);
CreateObject(1215, 2629.707520, -1572.954224, 1035.867065, 0.0000, 0.0000, 0.0000);
CreateObject(1215, 2642.654785, -1572.955566, 1035.867065, 0.0000, 0.0000, 0.0000);
CreateObject(1215, 2655.203857, -1572.919556, 1035.867065, 0.0000, 0.0000, 0.0000);
CreateObject(1215, 2668.019775, -1572.932373, 1035.867065, 0.0000, 0.0000, 0.0000);
CreateObject(1215, 2679.673584, -1572.920654, 1035.867065, 0.0000, 0.0000, 0.0000);
CreateObject(1215, 2690.983154, -1572.940430, 1035.867065, 0.0000, 0.0000, 0.0000);
CreateObject(1215, 2701.073486, -1572.955322, 1035.857910, 0.0000, 0.0000, 0.0000);
CreateObject(16358, 2518.377441, -1589.180298, 975.713745, 0.0000, 330.7792, 0.0000);
CreateObject(16358, 2309.687256, -1589.189453, 858.984558, 0.0000, 330.7792, 0.0000);
CreateObject(16358, 2100.479492, -1589.196411, 741.969849, 0.0000, 330.7792, 0.0000);
CreateObject(16358, 1891.216431, -1589.171753, 624.922791, 0.0000, 330.7792, 0.0000);
CreateObject(16358, 1681.906006, -1589.176880, 507.852539, 0.0000, 330.7792, 0.0000);
CreateObject(16358, 1472.739990, -1589.182617, 390.857758, 0.0000, 330.7792, 0.0000);
CreateObject(18450, 1353.371704, -1589.491577, 331.363403, 0.0000, 0.0000, 0.0000);
CreateObject(18450, 1365.542969, -1589.455078, 334.275330, 0.0000, 347.9679, 0.0000);
CreateObject(18450, 1342.611206, -1589.431885, 334.275330, 0.0000, 6.8755, 0.0000);
CreateObject(18450, 1332.321777, -1589.473633, 337.294006, 0.0000, 24.0642, 0.0000);
CreateObject(18450, 1346.415405, -1589.432129, 332.354858, 0.0000, 355.7028, 0.0000);
CreateObject(18450, 1341.730957, -1589.477051, 335.045898, 0.0000, 15.4699, 0.0000);
CreateObject(970, 2621.312988, -1599.116455, 1034.186279, 0.0000, 0.0000, 270.0000);
CreateObject(3666, 2621.148926, -1597.245605, 1034.273560, 0.0000, 0.0000, 0.0000);
CreateObject(3666, 2621.324219, -1582.071777, 1034.265991, 0.0000, 0.0000, 0.0000);
CreateObject(3461, 2621.394043, -1589.493164, 1032.134155, 0.0000, 0.0000, 0.0000);
CreateObject(3461, 2621.390137, -1589.506714, 1035.334839, 0.0000, 0.0000, 0.0000);
CreateObject(3666, 1296.362671, -1581.822998, 354.448639, 0.0000, 0.0000, 0.0000);
CreateObject(3666, 1296.436768, -1597.258789, 354.440552, 0.0000, 0.0000, 0.0000);
CreateObject(1681, 1477.670532, -1578.813477, 384.414276, 0.0000, 328.2008, 0.0000);
CreateObject(626, 2643.047363, -1591.355225, 1035.972778, 0.0000, 0.0000, 0.0000);
CreateObject(626, 2645.890625, -1591.378174, 1035.972778, 0.0000, 0.0000, 0.0000);
CreateObject(626, 2648.321533, -1591.212280, 1035.972778, 0.0000, 0.0000, 0.0000);
CreateObject(626, 2650.964355, -1591.184937, 1035.972778, 0.0000, 0.0000, 0.0000);
CreateObject(626, 2653.791016, -1591.116089, 1035.972778, 0.0000, 0.0000, 0.0000);
CreateObject(626, 2656.426025, -1591.176147, 1035.972778, 0.0000, 0.0000, 0.0000);
CreateObject(626, 2659.166016, -1591.218262, 1035.972778, 0.0000, 0.0000, 0.0000);
CreateObject(626, 2661.722412, -1591.196289, 1035.972778, 0.0000, 0.0000, 0.0000);
CreateObject(626, 2664.402588, -1591.230225, 1035.972778, 0.0000, 0.0000, 0.0000);
CreateObject(626, 2667.027588, -1591.276123, 1035.972778, 0.0000, 0.0000, 0.0000);
CreateObject(626, 2669.702637, -1591.297119, 1035.972778, 0.0000, 0.0000, 0.0000);
CreateObject(626, 2672.387695, -1591.320068, 1035.972778, 0.0000, 0.0000, 0.0000);
CreateObject(626, 2675.061279, -1591.355347, 1035.972778, 0.0000, 0.0000, 0.0000);
CreateObject(626, 2677.850342, -1591.381958, 1035.972778, 0.0000, 0.0000, 0.0000);
CreateObject(626, 2680.415283, -1591.541748, 1035.972778, 0.0000, 0.0000, 0.0000);
CreateObject(3277, 2621.984375, -1608.722046, 1039.621460, 0.0000, 0.0000, 292.5000);
CreateObject(3361, 2626.416504, -1605.586670, 1037.999512, 0.0000, 0.0000, 33.7500);
CreateObject(3361, 2628.946045, -1603.921753, 1035.976929, 0.0000, 0.0000, 33.7500);
This map is here: https://sampforum.blast.hk/showthread.php?tid=76711

And how to make own maps i know somehow with mta san andreas but how ?

And is there any filterscript menu ?


Re: Map / Teleports - RowdyrideR - 02.03.2011

hello Bro
About maping:
[ame]http://www.youtube.com/watch?v=7N4qd3HGi_U[/ame]

hope that i helped u

and Bro if u know something about portforward plzz PM me


Re: Map / Teleports - sMog. - 03.03.2011

thanks for that but how can i make filterscript with teles and objects ?


Re: Map / Teleports - Mike Garber - 03.03.2011

Quote:
Originally Posted by sMog.
Посмотреть сообщение
thanks for that but how can i make filterscript with teles and objects ?
If you watch the video it shows you how to make a filterscript with objects.


Re: Map / Teleports - sMog. - 03.03.2011

Sorry but i dont get it . I't doesend show what i need to add includes and that i am very beginner at scripting
Sorry if i am annoying

Help , can someone make me base dilterscripts with these props i added first post ?


Re: Map / Teleports - Mean - 03.03.2011

LoL, LOOK at the video. It shows how you map with MTA, then how to convert thoose objects to MTA. Is that hard? No. So put the code you converted into your Filterscript, and that's it.


Re: Map / Teleports - sMog. - 04.03.2011

but what includes and these i need to but ?


Re: Map / Teleports - Mean - 04.03.2011

You only need a_samp.


Re: Map / Teleports - sMog. - 04.03.2011

thanks for helping it helps and works .... but i found easier way http://convertffs.com it is really easy for beginners and professionals