TheGodfather. Posted September 6, 2012 Share Posted September 6, 2012 Hi Just a simple question HOW TO CHECK THE PLAYER IS AT THE INTERIOR OF AMMUNATION ?? Thanks for reply ... Link to comment Share on other sites More sharing options...
ZAZ Posted September 6, 2012 Share Posted September 6, 2012 Hi Just a simple question HOW TO CHECK THE PLAYER IS AT THE INTERIOR OF AMMUNATION ?? Thanks for reply ... codes of the Intman thread: 094B: v$ACTIVE_INTERIOR_NAME = get_active_interior_name_from_actor $PLAYER_ACTOR // 16-byte string 00D6: if 8846: not string v$ACTIVE_INTERIOR_NAME empty // same as 0844 004D: jump_if_false @INTMAN_2974.....07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // 8-byte string .....00D6: if or08F9: v$ACTIVE_INTERIOR_NAME == "AMMUN1" 08F9: v$ACTIVE_INTERIOR_NAME == "AMMUN2" 08F9: v$ACTIVE_INTERIOR_NAME == "AMMUN3" 08F9: v$ACTIVE_INTERIOR_NAME == "AMMUN4" 08F9: v$ACTIVE_INTERIOR_NAME == "AMMUN5" 004D: jump_if_false @INTMAN_2869...0913: run_external_script 60 (AMMU) codes of the AMUNAT thread: 00D6: if 8844: not string s$CURRENT_SHOP_GXT_NAME empty // same as 0846 004D: jump_if_false @AMUNAT_7604.....00D6: if 05AD: s$CURRENT_SHOP_GXT_NAME == 'AMMUN1' // Ammu-Nation004D: jump_if_false @AMUNAT_884 i don't know why R* used 094B: and 07B0: and checked a 16-byte string as well a 8-byte string maybe because they checked in the Intman thread also for other interiors CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
TheGodfather. Posted September 6, 2012 Author Share Posted September 6, 2012 THANKS A LOT ZAZ YOU HELP ME A LOT but funily I found the sol. of my problem couple of mins. before in the org. main.SCM....BUT STILL MY HEARTIEST THANKS TO YOU FOR REPLYING THANKS... 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