Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA IV Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA SA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA VC Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA III Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. News

    2. Forum Support

    3. Site Suggestions

Sign in to follow this  
sci4me

atm

Recommended Posts

gtafan113

I think I fixed it. I'll test it in a few minutes and post my results.

Share this post


Link to post
Share on other sites
sci4me

yay! smile.gifsmile.gif im soooooooo excited!!!! Well... Did u test it???

Edited by sci4me

Share this post


Link to post
Share on other sites
gtafan113

It's still not working. confused.gif

 

 

03A4: name_thread 'ATM' :ATM_110001: wait 0 ms 00D6: if 00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 2553.912 1971.901 10.8203 radius 3.0 3.0 3.0 004D: jump_if_false @ATM_11 :ATM_630001: wait 0 ms 00D6: if 0A9A: [email protected] = openfile "BANK.DAT" mode 25202 // IF and SET 004D: jump_if_false @ATM_63 0A9C: [email protected] = file [email protected] size 00D6: if 04B5:   [email protected] >= 4 // @ >= any 004D: jump_if_false @ATM_139 0A9D: readfile [email protected] size 4 to [email protected] 0002: jump @ATM_163 :ATM_1390006: [email protected] = 0 0A9E: writefile [email protected] size 4 from [email protected] 0002: jump @ATM_63 :ATM_1630001: wait 0 ms 0512: show_permanent_text_box 'ATM01' 00D6: if 0AB0:   key_pressed 4 004D: jump_if_false @ATM_200 0002: jump @ATM_272 :ATM_2000001: wait 0 ms 00D6: if 00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere -22.2024 -91.7315 1003.547 radius 3.0 3.0 3.0 004D: jump_if_false @ATM_259 0002: jump @ATM_163

 

 

Share this post


Link to post
Share on other sites
sci4me

AWE! cryani.gifcryani.gifcryani.gifcryani.gifcryani.gifcryani.gifcryani.gifcryani.gifcryani.gifcryani.gifcryani.gifcryani.gif

is that the full code???

 

Share this post


Link to post
Share on other sites
gtafan113

No that's just the first part.

Share this post


Link to post
Share on other sites
sci4me

ok, well i cant really help without the full code... how do we even know if thats where the problem is???

Share this post


Link to post
Share on other sites
gtafan113

Because the text is not appearing on the screen. This means that the problem is occurring somewhere before when that is supposed to happen.

Share this post


Link to post
Share on other sites
sci4me

ok, well... idk. turn.gif OMG! i know wats rong!!! you have to put the text in the american.gxt not a fxt file. try it!!! smile.gif

Edited by sci4me

Share this post


Link to post
Share on other sites
james227uk

Sorry to just jump into this topic here, but Sci4me is this script for personal use or do you plan on releasing it?

Share this post


Link to post
Share on other sites
gtafan113

I'm the one that made it and I planned on releasing it. smile.gif

 

I would give credit to Sci4me for the idea and Deji for how much he has helped. biggrin.gif

Share this post


Link to post
Share on other sites
sci4me

just personal, but you should still release it! did u figure it out?

Share this post


Link to post
Share on other sites
gtafan113

Nope, I'm still stuck with that last piece of code I posted.

Share this post


Link to post
Share on other sites
sci4me

well, whats wrong with it.

Share this post


Link to post
Share on other sites
gtafan113

It's the same thing I still haven't fixed it yet...

Share this post


Link to post
Share on other sites
sci4me

ok, well i guess there is one thing to do, did u read wat i said before about putting the text in american.gxt, not an fxt file? just try that. there is a great gxt editor called sagxtedit. try it. the text is the problem right... thats wat i had 2 do for my mods. try it!

Share this post


Link to post
Share on other sites
gtafan113

I originally had the text appear BEFORE the file reading, and it appeared just fine so it isn't the FXT file although that was a good suggestion and I did have that happen once.

 

I think the problem has to do with the file loading and stuff.

Share this post


Link to post
Share on other sites
sci4me

ok, well not to beg/force you to let me see the full code, but thats my last thing i could do. dee the code. and study it. wait, never mind(sorta) what if u put the

 

00FE: actor $PLAYER_ACTOR sphere 0 in_sphere 2553.912 1971.901 10.8203 radius 3.0 3.0 3.0

 

what if u put the opcode thing at the endish part rather than the front?!?

also, i do WANT to see the code, but... never mind. u know. anyway, try that!

Share this post


Link to post
Share on other sites
gtafan113

Ok this is the current beginning code. I have put in different close file codes and open file codes because something I read said you need to use a different one depending on whether you want to read or write to the file.

 

03A4: name_thread 'ATM' :ATM_110001: wait 0 ms 00D6: if 00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 2553.912 1971.901 10.8203 radius 3.0 3.0 3.0 004D: jump_if_false @ATM_11 :ATM_630001: wait 0 ms 00D6: if 0A9A: [email protected] = openfile "BANK.DAT" mode 114 // IF and SET 004D: jump_if_false @ATM_63 0A9C: [email protected] = file [email protected] size 0001: wait 0 ms 00D6: if 04B5:   [email protected] >= 4 // @ >= any 004D: jump_if_false @ATM_147 0A9D: readfile [email protected] size 4 to [email protected] 0A9B: closefile [email protected] 0002: jump @ATM_198 :ATM_1470001: wait 0 ms 0A9A: [email protected] = openfile "BANK.DAT" mode 25207 // IF and SET 0006: [email protected] = 0 0A9E: writefile [email protected] size 4 from [email protected] 0A9B: closefile [email protected] 0002: jump @ATM_63 :ATM_1980001: wait 0 ms 0512: show_permanent_text_box 'ATM01' 00D6: if 0AB0:   key_pressed 4 004D: jump_if_false @ATM_235 0002: jump @ATM_307

 

 

Only thing is, it's STILL not working. I have no clue what's wrong.

 

Share this post


Link to post
Share on other sites
sci4me

is it just the text problem?

Share this post


Link to post
Share on other sites
gtafan113

It's the same problem that hasn't been fixed yet.

Share this post


Link to post
Share on other sites
TheSiggi
Well, I don't get it.... the game already fetures a atm-like thingy.....or do you carry your millions around with you? biggrin.gif

Share this post


Link to post
Share on other sites
james227uk

How does it? What is near the same as an ATM?

Share this post


Link to post
Share on other sites
gtafan113

I don't know of any ATM-like thing in San Andreas...

 

Could you elaborate a bit on that?

Share this post


Link to post
Share on other sites
TheSiggi

well, I'm talking about the paper CJ owns..... it is sth like an account cause you never see CJ paying stuff...except for cans

so I don't get it...why do you want an ATM mod???? cj can use all the money he has....everything else like getting the money by the machine would be cheating...otherwise I've just gone blank - Incase not, you could use a money menue aswell

Share this post


Link to post
Share on other sites
james227uk

I'm pretty sure the idea is that with the ATM you can store and withdraw money from it

 

And I'm still not getting it. What paper?

Share this post


Link to post
Share on other sites
sci4me

well, have u figured it out yet? also, there isnt anything i can really do except, idk. so this suks.

Share this post


Link to post
Share on other sites
TheSiggi

@James: paper= money, chips, etc

Well I'm the one who don't get it.... CJs money is stored as a value, you can use all if it whenever you need it, so whats a second account for???

Share this post


Link to post
Share on other sites
Deji
03A4: name_thread 'ATM':ATM_11wait 0if   00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 2553.912 1971.901 10.8203 radius 3.0 3.0 3.0else_jump @ATM_11:ATM_63wait 0if   0A9A: [email protected] = openfile "BANK.DAT" mode 0x6272 // IF and SETelse_jump @ATM_630A9C: [email protected] = file [email protected] sizewait 0if   04B5:   [email protected] >= 4 // @ >= anyelse_jump @ATM_1470A9D: readfile [email protected] size 4 to [email protected]: closefile [email protected] @ATM_198:ATM_147wait 00A9B: closefile [email protected]: [email protected] = openfile "BANK.DAT" mode 0x6277 // IF and SET0006: [email protected] = 00A9E: writefile [email protected] size 4 from [email protected]: closefile [email protected] @ATM_63:ATM_198wait 00512: show_permanent_text_box 'ATM01'if0AB0:   key_pressed 4else_jump @ATM_235jump @ATM_307

 

Share this post


Link to post
Share on other sites
sci4me

would that fix it? if so, gtafan113 should try it! then release the mod! I HOPE IT WORKS!!!

Share this post


Link to post
Share on other sites
gtafan113

I tried it but it didn't work. confused.gif

 

I have no idea why...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.