Pie015 Posted July 30, 2010 Share Posted July 30, 2010 (edited) Hi there, I'm making a sa-mp/Singleplayer mod since i couldn't place ammu-nation near CJ's House I was wondering if we we could teleport him there, I'm already made a icon which should teleport him infront of ammu-nation, but how do we teleport him there, I have the coords But what do I type to teleport him? If your Gonna post, I dont wan't a post saying BLAH BLAH and other garbage ------------------------------------------------------ // This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007{$VERSION 3.1.0027}{$CLEO .CS}//-------------MAIN---------------thread "ammu" wait 10 0A95: enable_thread_saving [email protected] = Pickup.Create(1272, 15, 2532.388, -1712.269, 13.46073) 0A95: enable_thread_saving 0A93: end_custom_thread Edited July 30, 2010 by Pie015 Link to comment Share on other sites More sharing options...
BnB Posted July 30, 2010 Share Posted July 30, 2010 (edited) try this and have a look at siggis mod here // This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007{$VERSION 3.1.0027}{$CLEO .cs}//-------------MAIN---------------thread "ammu"[email protected] = Pickup.Create(1272, 15, 2532.388, -1712.269, 13.46073)0A95: enable_thread_saving :1wait 0 00D6: if and0038: $ONMISSION == 0 0214: pickup [email protected] picked_up 004D: jump_if_false @1016A: fade 0 time 1000 0001: wait 1000 ms 04BB: select_interior 1 00A1: put_actor $PLAYER_ACTOR at // ammu coords0860: link_actor $PLAYER_ACTOR to_interior 1 0001: wait 500 ms 016A: fade 1 time 1000 :2wait 0 ms00D6: if 00FF: actor $PLAYER_ACTOR sphere 1 in_sphere ammu exit coords radius 1.0 1.0 1.0 on_foot jf @2 016A: fade 0 time 1000 0001: wait 1000 ms 04BB: select_interior 0 00A1: put_actor $PLAYER_ACTOR at 2532.388 -1713.269 13.46070860: link_actor $PLAYER_ACTOR to_interior 0 0001: wait 0 ms 0002: jump @1 it may doesnt work because i didnt test it because i dont know ammu coords Edited July 30, 2010 by BnB Link to comment Share on other sites More sharing options...
Pie015 Posted July 30, 2010 Author Share Posted July 30, 2010 try this and have a look at siggis mod here // This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007{$VERSION 3.1.0027}{$CLEO .cs}//-------------MAIN---------------thread "ammu"[email protected] = Pickup.Create(1272, 15, 2532.388, -1712.269, 13.46073)0A95: enable_thread_saving :1wait 0 00D6: if and0038: $ONMISSION == 0 0214: pickup [email protected] picked_up 004D: jump_if_false @1016A: fade 0 time 1000 0001: wait 1000 ms 04BB: select_interior 1 00A1: put_actor $PLAYER_ACTOR at // ammu coords0860: link_actor $PLAYER_ACTOR to_interior 1 0001: wait 500 ms 016A: fade 1 time 1000 :2wait 0 ms00D6: if 00FF: actor $PLAYER_ACTOR sphere 1 in_sphere ammu exit coords radius 1.0 1.0 1.0 on_foot jf @2 016A: fade 0 time 1000 0001: wait 1000 ms 04BB: select_interior 0 00A1: put_actor $PLAYER_ACTOR at 2532.388 -1713.269 13.46070860: link_actor $PLAYER_ACTOR to_interior 0 0001: wait 0 ms 0002: jump @1 it may doesnt work because i didnt test it because i dont know ammu coords It doesen't work it says expected 8 parameters so i added them but it doesent work I'm not a great modder nor a good one so can you check it Link to comment Share on other sites More sharing options...
BnB Posted July 30, 2010 Share Posted July 30, 2010 give me the cords and i will fix it Link to comment Share on other sites More sharing options...
spaceeinstein Posted July 31, 2010 Share Posted July 31, 2010 Ammu-Nation wouldn't be functional if you just teleported there. The script checks if the current interior's name is Ammu-Nation. It's easier if you just teleport to the nearest Ammu-Nation and enter it through there. Link to comment Share on other sites More sharing options...
toonskull Posted August 1, 2010 Share Posted August 1, 2010 Hi there, I'm making a sa-mp/Singleplayer mod since i couldn't place ammu-nation near CJ's House I was wondering if we... How close to his house? All you need is to edit the proper IPL and make the enex (enter/exit) location where you want it. This code is found in; Rockstar Games\GTA San Andreas\data\maps\LA\LAn2.ipl enex1456.77, -1138.02, 23.2872, 0, 4, 4, 8, 1458.77, -1140.02, 23.2872, -141, 0, 4, "CLOTHGP", 0, 2, 0, 241631.86, -1172.57, 23.1349, 0, 3, 3, 8, 1631.86, -1168.57, 23.1349, -3240.3, 0, 4, "GENOTB", 0, 2, 0, 241368.35, -1279.06, 12.55, 0, 5.67432, 5.47485, 8, 1365.35, -1279.06, 12.55, 90, 0, 4, "AMMUN1", 0, 2, 0, 241571.24, -1336.67, 15.7288, 0, 3, 3, 8, 1577.24, -1330.67, 15.7288, -46, 0, 70, "SKYLAN2", 0, 2, 0, 241548.64, -1364.02, 325.289, 0, 3, 3, 8, 1548.14, -1366.42, 325.289, 90, 0, 66, "SKYLAN2", 0, 2, 0, 24end A quick check of the coordinates of any house in CJs' hood and you will arrive inside the Ammunation. Link to comment Share on other sites More sharing options...
Pie015 Posted August 1, 2010 Author Share Posted August 1, 2010 Ammu-Nation wouldn't be functional if you just teleported there. The script checks if the current interior's name is Ammu-Nation. It's easier if you just teleport to the nearest Ammu-Nation and enter it through there. That's what I want, like teleport infront of ammu-nation (in LS) I have the coords (its right outside ammu-nation) Link to comment Share on other sites More sharing options...
Pie015 Posted August 1, 2010 Author Share Posted August 1, 2010 give me the cords and i will fix it Just to make it much easier for you, I want to teleport in front of ammu-nation not the interior Link to comment Share on other sites More sharing options...
BnB Posted August 1, 2010 Share Posted August 1, 2010 // This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007{$VERSION 3.1.0027}{$CLEO .CS}//-------------MAIN---------------thread "ammu"wait 100A95: enable_thread_saving [email protected] = Pickup.Create(1272, 15, 2532.388, -1712.269, 13.46073):1wait 100 msif 0214: pickup [email protected] picked_up jf @100A1: put_actor $PLAYER_ACTOR at 1366.4529 -1278.7455 13.5469wait 1000 ms jump @1 Link to comment Share on other sites More sharing options...
toonskull Posted August 2, 2010 Share Posted August 2, 2010 Here is an even more creative way... download here. This script will give you a rather unique next door neighbor. Look at the house between your garage and Sweet's house. This will work even if you don't have access to Ammunation. Link to comment Share on other sites More sharing options...
Pie015 Posted August 2, 2010 Author Share Posted August 2, 2010 // This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007{$VERSION 3.1.0027}{$CLEO .CS}//-------------MAIN---------------thread "ammu"wait 100A95: enable_thread_saving [email protected] = Pickup.Create(1272, 15, 2532.388, -1712.269, 13.46073):1wait 100 msif 0214: pickup [email protected] picked_up jf @100A1: put_actor $PLAYER_ACTOR at 1366.4529 -1278.7455 13.5469wait 1000 ms jump @1 THANK YOU YOU'RE AWESOME!!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now