bhavinbhai2707 Posted June 10, 2016 Share Posted June 10, 2016 i dont know why. . .while i am flying over fort zancudo airbase n i don't have any wanted level but still jets will come and fire missiles on me. . . is there anyway on how to stop airstrikes plss suggest Link to comment Share on other sites More sharing options...
unknown modder Posted June 10, 2016 Share Posted June 10, 2016 Function.Call(Hash.TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME, "re_armybase"); stick that in a loop. there are nicer ways of doing this but they arent update safe jedijosh920, Jitnaught and bhavinbhai2707 3 Link to comment Share on other sites More sharing options...
jedijosh920 Posted June 10, 2016 Share Posted June 10, 2016 Function.Call(Hash.TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME, "re_armybase"); stick that in a loop. there are nicer ways of doing this but they arent update safe There are some other ways such as checking the zone/area you are in and deleting those air strike assets or army models (peds/vehicles). Jitnaught and bhavinbhai2707 2 Link to comment Share on other sites More sharing options...
unknown modder Posted June 10, 2016 Share Posted June 10, 2016 Function.Call(Hash.TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME, "re_armybase"); stick that in a loop. there are nicer ways of doing this but they arent update safe There are some other ways such as checking the zone/area you are in and deleting those air strike assets or army models (peds/vehicles). the nicest way is probably *getGlobalPtr(0x6227) = 1; But that will only work on game 1.0.757.2/3/4 bhavinbhai2707 1 Link to comment Share on other sites More sharing options...
alloc8or Posted June 11, 2016 Share Posted June 11, 2016 (edited) the nicest way is probably *getGlobalPtr(0x6227) = 1;But that will only work on game 1.0.757.2/3/4 void armybase_example(){ switch (GAME_VERSION) { case VER_1_0_335_2_STEAM: case VER_1_0_335_2_NOSTEAM: case VER_1_0_372_2_STEAM: case VER_1_0_372_2_NOSTEAM: case VER_1_0_393_2_STEAM: case VER_1_0_393_2_NOSTEAM: case VER_1_0_393_4_STEAM: case VER_1_0_393_4_NOSTEAM: *getGlobalPtr(0x5F83) = 1; break; case VER_1_0_463_1_STEAM: case VER_1_0_463_1_NOSTEAM: *getGlobalPtr(0x5F85) = 1; break; case VER_1_0_505_2_STEAM: case VER_1_0_505_2_NOSTEAM: *getGlobalPtr(0x6179) = 1; break; case VER_1_0_573_1_STEAM: case VER_1_0_573_1_NOSTEAM: *getGlobalPtr(0x61D1) = 1; break; case VER_1_0_617_1_STEAM: case VER_1_0_617_1_NOSTEAM: case VER_1_0_678_1_STEAM: case VER_1_0_678_1_NOSTEAM: *getGlobalPtr(0x6222) = 1; break; case VER_1_0_757_2_STEAM: case VER_1_0_757_2_NOSTEAM: case VER_1_0_757_4_STEAM: case VER_1_0_757_4_NOSTEAM: *getGlobalPtr(0x6227) = 1; break; default: TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME("re_armybase"); break; }} Edited September 10, 2016 by Unknown_Modder bhavinbhai2707 1 Link to comment Share on other sites More sharing options...
unknown modder Posted June 11, 2016 Share Posted June 11, 2016 the nicest way is probably *getGlobalPtr(0x6227) = 1;But that will only work on game 1.0.757.2/3/4 void armybase_example(){ switch (GAME_VERSION) { case VER_1_0_372_2_STEAM: case VER_1_0_372_2_NOSTEAM: case VER_1_0_393_2_STEAM: case VER_1_0_393_2_NOSTEAM: case VER_1_0_393_4_STEAM: case VER_1_0_393_4_NOSTEAM: *getGlobalPtr(0x5F83) = 1; break; case VER_1_0_463_1_STEAM: case VER_1_0_463_1_NOSTEAM: *getGlobalPtr(0x5F85) = 1; break; case VER_1_0_505_2_STEAM: case VER_1_0_505_2_NOSTEAM: *getGlobalPtr(0x6179) = 1; break; case VER_1_0_573_1_STEAM: case VER_1_0_573_1_NOSTEAM: *getGlobalPtr(0x61D1) = 1; break; case VER_1_0_617_1_STEAM: case VER_1_0_617_1_NOSTEAM: case VER_1_0_678_1_STEAM: case VER_1_0_678_1_NOSTEAM: *getGlobalPtr(0x6222) = 1; break; case VER_1_0_757_2_STEAM: case VER_1_0_757_2_NOSTEAM: case VER_1_0_757_4_STEAM: case VER_1_0_757_4_NOSTEAM: *getGlobalPtr(0x6227) = 1; break; default: TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME("re_armybase"); break; }} Nice, I only have the 393, 463, 678 and 757 script_rel.rpf so i couldnt find all of them :'( Link to comment Share on other sites More sharing options...
bhavinbhai2707 Posted June 12, 2016 Author Share Posted June 12, 2016 the nicest way is probably *getGlobalPtr(0x6227) = 1;But that will only work on game 1.0.757.2/3/4 void armybase_example(){ switch (GAME_VERSION) { case VER_1_0_372_2_STEAM: case VER_1_0_372_2_NOSTEAM: case VER_1_0_393_2_STEAM: case VER_1_0_393_2_NOSTEAM: case VER_1_0_393_4_STEAM: case VER_1_0_393_4_NOSTEAM: *getGlobalPtr(0x5F83) = 1; break; case VER_1_0_463_1_STEAM: case VER_1_0_463_1_NOSTEAM: *getGlobalPtr(0x5F85) = 1; break; case VER_1_0_505_2_STEAM: case VER_1_0_505_2_NOSTEAM: *getGlobalPtr(0x6179) = 1; break; case VER_1_0_573_1_STEAM: case VER_1_0_573_1_NOSTEAM: *getGlobalPtr(0x61D1) = 1; break; case VER_1_0_617_1_STEAM: case VER_1_0_617_1_NOSTEAM: case VER_1_0_678_1_STEAM: case VER_1_0_678_1_NOSTEAM: *getGlobalPtr(0x6222) = 1; break; case VER_1_0_757_2_STEAM: case VER_1_0_757_2_NOSTEAM: case VER_1_0_757_4_STEAM: case VER_1_0_757_4_NOSTEAM: *getGlobalPtr(0x6227) = 1; break; default: TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME("re_armybase"); break; }} Function.Call(Hash.TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME, "re_armybase"); stick that in a loop. there are nicer ways of doing this but they arent update safe There are some other ways such as checking the zone/area you are in and deleting those air strike assets or army models (peds/vehicles). the nicest way is probably *getGlobalPtr(0x6227) = 1;But that will only work on game 1.0.757.2/3/4 Function.Call(Hash.TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME, "re_armybase"); stick that in a loop. there are nicer ways of doing this but they arent update safe There are some other ways such as checking the zone/area you are in and deleting those air strike assets or army models (peds/vehicles). Thanq guys for reply. . . * getGlobalPtr(0x5F83 ) = 1; i guess its pointer. . .as i am in my final year of school n yet i didn't got pointer but its in context of my book so can u explain a bit what is 0x5F83 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