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)


Pages: (2) [1] 2   ( Go to first unread post ) Reply to this topicStart new topicStart Poll

 New keypress Cheat Code

 Help Without Spam ;)
 
MichaelKnight1  
Posted: Wednesday, Apr 18 2012, 17:19
Quote Post


Snitch
Group Icon
Group: BUSTED!
Joined: Mar 24, 2012

us.gif

XXXXX



Hi , I do not want to talk a lot With you but just I want to know something small . I am in time To make My New Mod Keypress Cheat Code , so i will write just a Part from my script .
while I Click on the keys is Activates and when i click a gain is Hang .
CODE

:NEWKEYPCC_127
wait 0
if
  Player.Defined($PLAYER_CHAR)
  Actor.Defined($PLAYER_ACTOR)
jf @NEWKEYPCC_127
if
  Player.Controllable($PLAYER_CHAR)
jf @NEWKEYPCC_127

:NEWKEYPCC_168
wait 0
if
0AB0:   key_pressed 72
0AB0:   key_pressed 65
0AB0:   key_pressed 77
jf @NEWKEYPCC_168
03E5: show_text_box 'C_ACTIVE'
0AA5: call 4427328 1 pop 1 3
wait 50

:NEWKEYPCC_232
wait 0
if
0AB0:   key_pressed 72
0AB0:   key_pressed 65
0AB0:   key_pressed 77
jf @NEWKEYPCC_232
03E5: show_text_box 'C_DEACTI'
0AA5: call 4427328 0 pop 0 3
jump @NEWKEYPCC_127

The Problem is of The second time Be when I Press Just " M " The Code is Activates , anyways peace
PM
  Top
 

 
Joni2030  
Posted: Wednesday, Apr 18 2012, 17:38
Quote Post


Prankster
Group Icon
Group: Members
Joined: Jul 6, 2011

sf.gif

XXXXX



1. i didn´t understand did you mean "I have time for this mod" or what.????
Users WebsitePM
  Top
 

 
MichaelKnight1  
Posted: Wednesday, Apr 18 2012, 17:53
Quote Post


Snitch
Group Icon
Group: BUSTED!
Joined: Mar 24, 2012

us.gif

XXXXX



QUOTE (Joni2030 @ Wednesday, Apr 18 2012, 17:38)
1. i didn´t understand did you mean "I have time for this mod" or what.????

tounge2.gif
QUOTE
I am in time To make My New Mod

read befor post your comment , Since you do not have the answer do not put a comment , anyways peace
PM
  Top
 

 
Bad.boy!  
Posted: Wednesday, Apr 18 2012, 17:56
Quote Post


SA modder
Group Icon
Group: Members
Joined: Jun 20, 2010

nl.gif

XXXXX



Sorry for this "spam":

1. Why do you keep uploading mods to gtagarage without finishing them.
2. and 3. my bad blush.gif

And finally about the script, use if and instead of if.

This post has been edited by Bad.boy! on Wednesday, Apr 18 2012, 18:24
PM
  Top
 

 
MichaelKnight1  
Posted: Wednesday, Apr 18 2012, 18:02
Quote Post


Snitch
Group Icon
Group: BUSTED!
Joined: Mar 24, 2012

us.gif

XXXXX



QUOTE (Bad.boy! @ Wednesday, Apr 18 2012, 17:56)
Sorry for this "spam":

1. Why do you keep uploading mods to gtagarage without finishing them.
2. Finally you admit that you are not American (this is actually a good thing)
QUOTE
Sorry for my bad english, is because im are a uruguayan.

3. Please don't tell every one you're a programmer (in any way), because you are not. Even if you managed to make awesome mods in cleo, you are not a programmer. Programming is writing programs, librarys, apps etc.
QUOTE
Im a amateur programmer,


And finally about the script, use if and instead of if.

Where You Copy This ?? That's Not My Post Loool XDD
so no problem You Can Spam & Spam I do not care . I Am fatigue ,
tounge.gif I Use [ if and ] but As usual .
PM
  Top
 

 
MichaelKnight1  
Posted: Wednesday, Apr 18 2012, 18:17
Quote Post


Snitch
Group Icon
Group: BUSTED!
Joined: Mar 24, 2012

us.gif

XXXXX



not work

This post has been edited by MichaelKnight1 on Wednesday, Apr 18 2012, 18:28
PM
  Top
 

 
Bad.boy!  
Posted: Wednesday, Apr 18 2012, 18:23
Quote Post


SA modder
Group Icon
Group: Members
Joined: Jun 20, 2010

nl.gif

XXXXX



srry guess you're still in the closet

see my previous post for answer
PM
  Top
 

 
MichaelKnight1  
Posted: Wednesday, Apr 18 2012, 18:27
Quote Post


Snitch
Group Icon
Group: BUSTED!
Joined: Mar 24, 2012

us.gif

XXXXX



QUOTE (Bad.boy! @ Wednesday, Apr 18 2012, 18:23)
srry guess you're still in the closet

see my previous post for answer

no.problem bad.boy everyone We are always Friends .
so i use the if and & the if or but everyone but As usual . allways peace
PM
  Top
 

 
fastman92  
Posted: Wednesday, Apr 18 2012, 18:30
Quote Post


фастман92 | ف
Group Icon
Group: Members
Joined: Jul 28, 2009

pl.gif

XXXXX



CODE
if
0AB0:   key_pressed 72
0AB0:   key_pressed 65
0AB0:   key_pressed 77


For more than one condition if and is required...

However you're highly resistant to the knowledge. Allways peace.
Users WebsitePMMSN
  Top
 

 
MichaelKnight1  
Posted: Wednesday, Apr 18 2012, 18:32
Quote Post


Snitch
Group Icon
Group: BUSTED!
Joined: Mar 24, 2012

us.gif

XXXXX



QUOTE (fastman92 @ Wednesday, Apr 18 2012, 18:30)
CODE
if
0AB0:   key_pressed 72
0AB0:   key_pressed 65
0AB0:   key_pressed 77


For more than one condition if and is required...

However you're highly resistant to the knowledge. Allways peace.

CODE
always peace - anyways peace

Is respect to gel People wink.gif

Thanks I Will Fix Only , anyways peace
PM
  Top
 

 
Deji  
Posted: Wednesday, Apr 18 2012, 18:32
Quote Post


Coding like a Rockstar!
Group Icon
Group: Members
Joined: Dec 24, 2007

ja.gif

XXXXX



Well, the question was answered, but a crash will also occur here:
CODE
0AA5: call 4427328 0 pop 0 3


Both calls should be (the param on the first one will be ignored, but you also didn't set the number of parameters to push and number of parameters to pop):
CODE
0AA5: call 4427328 0 pop 0
Users WebsitePM
  Top
 

 
MichaelKnight1  
Posted: Wednesday, Apr 18 2012, 18:38
Quote Post


Snitch
Group Icon
Group: BUSTED!
Joined: Mar 24, 2012

us.gif

XXXXX



QUOTE (Deji @ Wednesday, Apr 18 2012, 18:32)
Well, the question was answered, but a crash will also occur here:
CODE
0AA5: call 4427328 0 pop 0 3


Both calls should be (the param on the first one will be ignored, but you also didn't set the number of parameters to push and number of parameters to pop):
CODE
0AA5: call 4427328 0 pop 0

no that my problem confused.gif
is while i Activates the cheat code and then when I Re operation Become I Click Just in " M " The Cheat is Activates , always peace
PM
  Top
 

 
fastman92  
Posted: Wednesday, Apr 18 2012, 18:41
Quote Post


фастман92 | ف
Group Icon
Group: Members
Joined: Jul 28, 2009

pl.gif

XXXXX



Do wait 1000 after cheat is executed.
0AA5, that is.

03E5: show_text_box 'C_DEACTI' ?????

http://www.gtaforums.com/index.php?showtop...00&#cheatsTable
See, you can't deactivate Health, Armor, $250k.
"Is toggleable" is false.

YOU CAN'T DEACTIVATE Health, Armor, $250k. You can deactive for example "Peds attack other with golfclub".

Anyways peace

This post has been edited by fastman92 on Wednesday, Apr 18 2012, 18:46
Users WebsitePMMSN
  Top
 

 
MichaelKnight1  
Posted: Wednesday, Apr 18 2012, 18:52
Quote Post


Snitch
Group Icon
Group: BUSTED!
Joined: Mar 24, 2012

us.gif

XXXXX



QUOTE (fastman92 @ Wednesday, Apr 18 2012, 18:41)
Do wait 1000 after cheat is executed.
0AA5, that is.

03E5: show_text_box 'C_DEACTI' ?????

http://www.gtaforums.com/index.php?showtop...00&#cheatsTable
See, you can't deactivate Health, Armor, $250k.
"Is toggleable" is false.

YOU CAN'T DEACTIVATE Health, Armor, $250k. You can deactive for example "Peds attack other with golfclub".

Anyways peace

QUOTE

See, you can't deactivate Health, Armor, $250k.
"Is toggleable" is false.

I can But I've put This
CODE

Player.Money($PLAYER_CHAR) += -250000
Actor.Armour($PLAYER_ACTOR) = -100
Actor.Health($PLAYER_ACTOR) = 10

I've used all the solutions :
CODE

if or == press keys in same time
if and == press keys in same time

this is work , but i don't want to press keys in same time .
I Wanna To Click The One After the other , anyways peace



PM
  Top
 

 
Deji  
Posted: Wednesday, Apr 18 2012, 20:02
Quote Post


Coding like a Rockstar!
Group Icon
Group: Members
Joined: Dec 24, 2007

ja.gif

XXXXX



Why not just use 0ADC?
Users WebsitePM
  Top
 

 
MichaelKnight1  
Posted: Wednesday, Apr 18 2012, 20:11
Quote Post


Snitch
Group Icon
Group: BUSTED!
Joined: Mar 24, 2012

us.gif

XXXXX



QUOTE (Deji @ Wednesday, Apr 18 2012, 20:02)
Why not just use 0ADC?

I don't knew how to use this code ??
pleasse tell me how to use it nervous.gif ??

This post has been edited by MichaelKnight1 on Wednesday, Apr 18 2012, 20:14
PM
  Top
 

 
JACK JONES  
Posted: Wednesday, Apr 18 2012, 20:26
Quote Post


Booom!!!
Group Icon
Group: Members
Joined: Dec 6, 2011

sr.gif

XXXXX



With "if or" when you press any of your 3 keys that will triger your scrypt stuff. If you use "if and" you have to press all 3 keys. But if you want that every single key has his own evant then make 3 conditional checks and their 3 labels:
CODE
:START
wait 0
if
8AB0:   NOT   key_pressed 72
else_jump @1
if
8AB0:   NOT   key_pressed 65
else_jump @2
if
8AB0:   NOT   key_pressed 77
else_jump @3

:GOBACK
wait 0
jump @START

:1
wait 0
do what ever you want (that will happen with 72)
jump @START

:2
wait 0
do what ever you want (that will happen with 65)
jump @START

:3
wait 0
do what ever you want (that will happen with 77)
jump @START

There are a few more combinations for these key games. I'm not sure what exactly do you want.
PM
  Top
 

 
MichaelKnight1  
Posted: Wednesday, Apr 18 2012, 20:34
Quote Post


Snitch
Group Icon
Group: BUSTED!
Joined: Mar 24, 2012

us.gif

XXXXX



@JACK JONES I Can But My Problem is When I Press One Key of this the mod is will Activates or deactivated ...
CODE

NEWKEYPCC_127
wait 0
if
 Player.Defined($PLAYER_CHAR)
 Actor.Defined($PLAYER_ACTOR)
jf @NEWKEYPCC_127
if
 Player.Controllable($PLAYER_CHAR)
jf @NEWKEYPCC_127

:NEWKEYPCC_168
wait 0
if
0AB0:   key_pressed 72
0AB0:   key_pressed 65
0AB0:   key_pressed 77
jf @NEWKEYPCC_168
03E5: show_text_box 'C_ACTIVE'
0AA5: call 4427328 1 pop 1 3
wait 50

:NEWKEYPCC_232
wait 0
if
0AB0:   key_pressed 72
0AB0:   key_pressed 65
0AB0:   key_pressed 77
jf @NEWKEYPCC_232
03E5: show_text_box 'C_DEACTI'
0AA5: call 4427328 0 pop 0 3
jump @NEWKEYPCC_127
PM
  Top
 

 
SilentPL  
Posted: Wednesday, Apr 18 2012, 20:47
Quote Post


Senior File Manager
Group Icon
Group: Members
Joined: Feb 1, 2010

pl.gif

Member Award




JEEEEEEEEEEEEEEEEEEEEEEESUS, you don't know how to use 0ADC? It's the easiest opcode ever, just USE YOUR HEAD (the upper one).

And yeah, the site Deji gave you even explains it. You are a native American (OF COURSE), you HAVE TO understand this mercie_blink.gif
Users WebsitePMMSNXbox Live
  Top
 

 
JACK JONES  
Posted: Thursday, Apr 19 2012, 06:07
Quote Post


Booom!!!
Group Icon
Group: Members
Joined: Dec 6, 2011

sr.gif

XXXXX



I think I know what's his language - he doesn't have one. My guess is it's an alien from another planet far away from our solar system. That could explain its terrible english. This creature is a proof that we humans are after all the most intelegent type of life in the universe. Obviously they don't think that way. Maybe they're trying to build a code that will destroy humans by pressing a single button - well good luck with that.
Hey Michael tell us how do you call your planet (we got you now ha - better alert your friends)biggrin.gif.

This post has been edited by JACK JONES on Friday, Apr 20 2012, 06:13
PM
  Top
 

 

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

0 Members:

Pages: (2) [1] 2 

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



 
IMG IMG