Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (85,170 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

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

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

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

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

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

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

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. 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

    2. Red Dead Redemption

    3. 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. Forum Support

    2. Site Suggestions

Sign in to follow this  
DaDenz

A quick question regarding a CLEO script!

Recommended Posts

DaDenz

Hello everyone!, I am new to this community,


And so far, it looks very nice here, and the people look very supporting.



I had little question regarding CLEO though,


I have this mod (.cs) which I like,


But it's active in game, all the time. i would to have it like this that when is press


1 and 2 at once, or something like that, that it get's deactivated or such.


Before I posted, i decided to try it myself, and look at some of the guides,


Unfortunately i didn't manage to make it work.


So i hoped that one of you guys, could help me with this!



Thank you in advance!



(the link may be handy for the mod)


http://www.mediafire...ug47ay/Cbug.rar


Share this post


Link to post
Share on other sites
Node

//Removed

Edited by ChopTheDog.

Share this post


Link to post
Share on other sites
DaDenz

Thankyou very much!!
i only get the error when compiling:

 

Label "TurnModOff" not found.

Share this post


Link to post
Share on other sites
Node

//Removed

Edited by ChopTheDog.

Share this post


Link to post
Share on other sites
DaDenz

Thanks for your help!

but the code didn't work unfortunately,

i pressed 1, but the key didn't activate the mod tho.

I hope someone else have a solution?

Share this post


Link to post
Share on other sites
DaDenz

Anyone please help?

Share this post


Link to post
Share on other sites
ZAZ

1. your rquest belongs to the request topic: http://gtaforums.com/topic/378015-request-mod-thread/

but anyway, i'll help

 

2. can you compile the script by yourself or do you need a finished cs file?

 

3. you said, that you need to deactivate the script by keypress 1 and 2 at once

 

i would to have it like this that when is press

1 and 2 at once, or something like that, that it get's deactivated or such.

but you didn't said anything about activating

 

later, after ChopTheDog gave help, you noticed that the function couldn't get activated

 

but the code didn't work unfortunately,

i pressed 1, but the key didn't activate the mod tho.

Please explain exactly how you want to deactivate the function and how you want to activated the function

Share this post


Link to post
Share on other sites
DaDenz

1. your rquest belongs to the request topic: http://gtaforums.com/topic/378015-request-mod-thread/

but anyway, i'll help

 

2. can you compile the script by yourself or do you need a finished cs file?

 

3. you said, that you need to deactivate the script by keypress 1 and 2 at once

i would to have it like this that when is press

1 and 2 at once, or something like that, that it get's deactivated or such.

but you didn't said anything about activating

 

later, after ChopTheDog gave help, you noticed that the function couldn't get activated

but the code didn't work unfortunately,

i pressed 1, but the key didn't activate the mod tho.

Please explain exactly how you want to deactivate the function and how you want to activated the function

 

I just want it like this,

when i press 1 it activates

when i press 1 again it deactivates.

like that, since the code is running all the time.

Share this post


Link to post
Share on other sites
flabed7

 

1. your rquest belongs to the request topic: http://gtaforums.com/topic/378015-request-mod-thread/

but anyway, i'll help

 

2. can you compile the script by yourself or do you need a finished cs file?

 

3. you said, that you need to deactivate the script by keypress 1 and 2 at once

i would to have it like this that when is press

1 and 2 at once, or something like that, that it get's deactivated or such.

but you didn't said anything about activating

 

later, after ChopTheDog gave help, you noticed that the function couldn't get activated

but the code didn't work unfortunately,

i pressed 1, but the key didn't activate the mod tho.

Please explain exactly how you want to deactivate the function and how you want to activated the function

 

I just want it like this,

when i press 1 it activates

when i press 1 again it deactivates.

like that, since the code is running all the time.

 

 

// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013

{$CLEO .CS}

 

//-------------MAIN---------------

thread 'MYHACK'

 

$isON = 0

 

:MYHACK_11

if

$isON == 1

then

gosub @MYHACK_46

end

 

wait 100

if

0AB0: key_pressed 0x31

jf @MYHACK_11

 

if

$isON == 0

then

$isON = 1

0ACB: show_styled_text 'Enabled' time 1000 style 4

jump @MYHACK_11

end

 

if

$isON == 1

then

$isON = 0

0ACB: show_styled_text 'Disabled' time 1000 style 4

jump @MYHACK_11

end

 

:MYHACK_46

 

//YOUR CODE HERE

 

return

Edited by flabed7

Share this post


Link to post
Share on other sites
ZAZ

 

1. your rquest belongs to the request topic: http://gtaforums.com/topic/378015-request-mod-thread/

but anyway, i'll help

 

2. can you compile the script by yourself or do you need a finished cs file?

 

3. you said, that you need to deactivate the script by keypress 1 and 2 at once

i would to have it like this that when is press

1 and 2 at once, or something like that, that it get's deactivated or such.

but you didn't said anything about activating

 

later, after ChopTheDog gave help, you noticed that the function couldn't get activated

but the code didn't work unfortunately,

i pressed 1, but the key didn't activate the mod tho.

Please explain exactly how you want to deactivate the function and how you want to activated the function

 

I just want it like this,

when i press 1 it activates

when i press 1 again it deactivates.

like that, since the code is running all the time.

 

{$CLEO .cs}thread 'CBUG' while truewait 0     if  and        [email protected] == 0        0AB0:   key_pressed 49// 	1 key    then        [email protected] = 1        repeat            wait 0        until 8AB0: not  key_pressed 49// 	1 key           end    if  and        [email protected] == 1        0AB0:   key_pressed 49// 	1 key    then        [email protected] = 0        repeat            wait 0        until 8AB0: not  key_pressed 49// 	1 key             end        if         [email protected] == 1    then        gosub @HIT_WALK            end           end:HIT_WALKif    0256:   player $PLAYER_CHAR definedthen    if         02E0:   actor $PLAYER_ACTOR aggressive    then        0A8C: write_memory 12006520 size 2 value 255 virtual_protect 0         0001: wait 70 ms         0812: AS_actor $PLAYER_ACTOR perform_animation "HIT_WALK" IFP_file "PED" 4.0 loopA 0 lockX 1 lockY 1 lockF 0 time 1 // versionB    endendreturn

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

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