Quantcast

Jump to content

» «
Photo

Weird cleo issues?

2 replies to this topic
fireguy109
  • fireguy109

    It's a long way to the top

  • The Connection
  • Joined: 30 Aug 2010
  • United-States

#1

Posted 06 July 2013 - 04:36 AM

For some reason the keypresses aren't working in my mod. I've tried reinstalling Cleo at least 4 times with no luck. My cleo.asi is 13kb if that's significant. Currently I'm only running CLEO and MVL is disabled so it shouldn't be an interference thing.

Code - not the whole part but the relevant bit. It's not activating but I know the script is running. Oddly, changing the wait seems to crash the game too.
CODE
// This file was decompiled using vicescm.ini published by GtaForums.com on 27.7.07

{$VERSION 2.2.0000}
{$CLEO .cs}

//-------------MAIN---------------
thread 'FGC'
0001: wait 1000 ms
0002: jump @FGC_008a

:FGC_008a
0001: wait 0 ms
00D6: if and
8443:  not player $PLAYER_CHAR in_a_car
05EE:  key_pressed 0x9  // tab
004D: jump_if_false @FGC_008a
03E5: text_box 'FGC008'//
0247: request_model #UZI

:FGC_008b
0001: wait 0 ms
00D6: if
0248:   model #UZI available
004D: jump_if_false @FGC_008b
01B1: give_player $PLAYER_CHAR weapon 23 ammo 500
0002: jump @FGC_008a

ThirteenAG
  • ThirteenAG

    Soldier

  • Feroci
  • Joined: 29 Dec 2008
  • None

#2

Posted 06 July 2013 - 04:56 AM

QUOTE (fireguy109 @ Saturday, Jul 6 2013, 08:36)
For some reason

05EE: doesn't work in GTA3/VC correctly. Read the key state at 0x864A00 _activeKeyState directly to check.

fireguy109
  • fireguy109

    It's a long way to the top

  • The Connection
  • Joined: 30 Aug 2010
  • United-States

#3

Posted 06 July 2013 - 03:44 PM

I'm not very good with reading memory, frankly I have hardly a clue how to do that.

It seems as though 05EE only registers the letters and number keys for some reason. Quite annoying since I never had a problem when I used it in III. I guess I'll just use a key combo instead of one key then.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users