IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

Please post mod releases in the Mod Showroom

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


  Reply to this topicStart new topicStart Poll

 interiror

 
arijitsen  
Posted: Thursday, Sep 6 2012, 15:23
Quote Post


It's show time
Group Icon
Group: Members
Joined: Jun 19, 2012

ia.gif

XXXXX



Hi
Just a simple question
HOW TO CHECK THE PLAYER IS AT THE INTERIOR OF AMMUNATION ??
Thanks for reply ... sly.gif
Users WebsitePM
  Top
 

 
ZAZ  
Posted: Thursday, Sep 6 2012, 15:54
Quote Post


Kernlochbohrer
Group Icon
Group: Members
Joined: Jan 10, 2005

eu.gif

Member Award




QUOTE (arijitsen @ Thursday, Sep 6 2012, 16:23)
Hi
Just a simple question
HOW TO CHECK THE PLAYER IS AT THE INTERIOR OF AMMUNATION ??
Thanks for reply ... sly.gif

codes of the Intman thread:
CODE
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 or
08F9:   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:
CODE
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-Nation
004D: 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
Users WebsitePM
  Top
 

 
arijitsen  
Posted: Thursday, Sep 6 2012, 16:02
Quote Post


It's show time
Group Icon
Group: Members
Joined: Jun 19, 2012

ia.gif

XXXXX



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...
Users WebsitePM
  Top
 

 

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG