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

    1. GTANet.com

    1. GTA Online

      1. The Diamond Casino Heist
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Red Dead Online

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

    1. Red Dead Redemption 2

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

    1. Grand Theft Auto Series

    2. GTA 6

      1. St Andrews Cathedral
    3. GTA V

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

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

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

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

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

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

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

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

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

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

    1. Announcements

    2. Support

    3. Suggestions

Sign in to follow this  
archey

Whats wrong?

Recommended Posts

archey

When i put this code in my CLEO folder it make me not able to walk/shoot or anything. I had this problem before with a different script but i forgot how Goin-god had helped me fix it. sad.gif here it is

 

 

0000:{$VERSION 3.1.0027}{$CLEO .cs}//-------------MAIN---------------:carswait 0014B: [email protected] = init_parked_car_generator #CHEETAH 15 15 1 alarm 0 door_lock 0 0 0 at 2505.3604 -1696.3691 17.9575 angle 0.0014C: set_parked_car_generator [email protected] cars_to_generate_to 101004e: end_custom_thread:gunswait 0032B: [email protected] = create_weapon_pickup #SNIPER  15 ammo  20000 at 2504.56 -1722.3 18.5821032B: [email protected] = create_weapon_pickup #COLT45  15 ammo  10000 at 2497.81 -1687.0 13.487032B: 3@ = create_weapon_pickup #AK47  15 ammo  30000 at 2500.57 -1686.5 13.49270213: [email protected] = create_pickup #KNIFECUR type  15 at 2494.09 -1687.4 13.5145032B: [email protected] = create_weapon_pickup #M4  15 ammo  30000 at 2499.11 -1686.9 13.4942032B: [email protected] = create_weapon_pickup #MICRO_UZI  15 ammo  30000 at 2492.01 -1687.2 13.5132032B: [email protected] = create_weapon_pickup #MP5LNG  15 ammo  25000 at 2490.62 -1687.3 13.5163004e: end_custom_thread :itemswait 00213: [email protected] = create_pickup #ARMOUR type  15 at  2518.01 -1722.6 18.5821032B: [email protected] = create_weapon_pickup #JETPACK  15 ammo 0 at  2519.00 -1676.2 14.4843004e: end_custom_thread

 

 

P.S. Steal my script and ill hunt you down ph34r.gif hehe.. seriously don't steel it

Share this post


Link to post
Share on other sites
coin-god

Do not end each thread! Or the rest wont be readed.

 

Only use the last end thread.

Share this post


Link to post
Share on other sites
archey

so it would be:

 

0000:{$VERSION 3.1.0027}{$CLEO .cs}//-------------MAIN---------------:carswait 0014B: [email protected] = init_parked_car_generator #CHEETAH 15 15 1 alarm 0 door_lock 0 0 0 at 2505.3604 -1696.3691 17.9575 angle 0.0014C: set_parked_car_generator [email protected] cars_to_generate_to 101:gunswait 0032B: [email protected] = create_weapon_pickup #SNIPER  15 ammo  20000 at 2504.56 -1722.3 18.5821032B: [email protected] = create_weapon_pickup #COLT45  15 ammo  10000 at 2497.81 -1687.0 13.487032B: [email protected] = create_weapon_pickup #AK47  15 ammo  30000 at 2500.57 -1686.5 13.49270213: [email protected] = create_pickup #KNIFECUR type  15 at 2494.09 -1687.4 13.5145032B: [email protected] = create_weapon_pickup #M4  15 ammo  30000 at 2499.11 -1686.9 13.4942032B: [email protected] = create_weapon_pickup #MICRO_UZI  15 ammo  30000 at 2492.01 -1687.2 13.5132032B: [email protected] = create_weapon_pickup #MP5LNG  15 ammo  25000 at 2490.62 -1687.3 13.5163:itemswait 00213: [email protected] = create_pickup #ARMOUR type  15 at  2518.01 -1722.6 18.5821032B: [email protected] = create_weapon_pickup #JETPACK  15 ammo 0 at  2519.00 -1676.2 14.4843004e: end_custom_thread

? i think i tried this by myself but ill try again.

 

BTW, sorry im so stupid

 

Edit: this scrpt makes my game crash. I'm going to keep trying different ideas and ill check back.

Edited by archey

Share this post


Link to post
Share on other sites
cj360

Try adding enable_thread_saving at the start after the first wait and try only one thread its just easier that way.

Like instead of

 

 

{$CLEO .cs}//-------------MAIN---------------:carswait 0014B: [email protected] = init_parked_car_generator #CHEETAH 15 15 1 alarm 0 door_lock 0 0 0 at 2505.3604 -1696.3691 17.9575 angle 0.0014C: set_parked_car_generator [email protected] cars_to_generate_to 101:gunswait 0032B: [email protected] = create_weapon_pickup #SNIPER  15 ammo  20000 at 2504.56 -1722.3 18.5821032B: [email protected] = create_weapon_pickup #COLT45  15 ammo  10000 at 2497.81 -1687.0 13.487032B: [email protected] = create_weapon_pickup #AK47  15 ammo  30000 at 2500.57 -1686.5 13.49270213: [email protected] = create_pickup #KNIFECUR type  15 at 2494.09 -1687.4 13.5145032B: [email protected] = create_weapon_pickup #M4  15 ammo  30000 at 2499.11 -1686.9 13.4942032B: [email protected] = create_weapon_pickup #MICRO_UZI  15 ammo  30000 at 2492.01 -1687.2 13.5132032B: [email protected] = create_weapon_pickup #MP5LNG  15 ammo  25000 at 2490.62 -1687.3 13.5163:itemswait 00213: [email protected] = create_pickup #ARMOUR type  15 at  2518.01 -1722.6 18.5821032B: [email protected] = create_weapon_pickup #JETPACK  15 ammo 0 at  2519.00 -1676.2 14.4843004e: end_custom_thread

 

 

Try this:

 

{$CLEO .cs}//-------------MAIN---------------:carswait 00A95: enable_thread_saving014B: [email protected] = init_parked_car_generator #CHEETAH 15 15 1 alarm 0 door_lock 0 0 0 at 2505.3604 -1696.3691 17.9575 angle 0.0014C: set_parked_car_generator [email protected] cars_to_generate_to 101032B: [email protected] = create_weapon_pickup #SNIPER  15 ammo  20000 at 2504.56 -1722.3 18.5821032B: [email protected] = create_weapon_pickup #COLT45  15 ammo  10000 at 2497.81 -1687.0 13.487032B: [email protected] = create_weapon_pickup #AK47  15 ammo  30000 at 2500.57 -1686.5 13.49270213: [email protected] = create_pickup #KNIFECUR type  15 ammo  25000 at 2494.09 -1687.4 13.5145032B: [email protected] = create_weapon_pickup #M4  15 ammo  30000 at 2499.11 -1686.9 13.4942032B: [email protected] = create_weapon_pickup #MICRO_UZI  15 ammo  30000 at 2492.01 -1687.2 13.5132032B: [email protected] = create_weapon_pickup #MP5LNG  15 ammo  25000 at 2490.62 -1687.3 13.51630213: [email protected] = create_pickup #ARMOUR type  15 at  2518.01 -1722.6 18.5821032B: [email protected] = create_weapon_pickup #JETPACK  15 ammo 0 at  2519.00 -1676.2 14.4843004e: end_custom_thread

 

Share this post


Link to post
Share on other sites
archey

 

Try adding enable_thread_saving at the start after the first wait and try only one thread its just easier that way.

Like instead of

 

 

..

 

 

Try this:

 

..

 

Nope that code didn't work, i couldn't move/shoot.

Edited by archey

Share this post


Link to post
Share on other sites
ZAZ

Yes, 0A95: enable_thread_saving like cj360 shows is important.

 

And #ARMOUR can not be used in Cleo script. ARMOUR didnt exist in the default.ide

Its just like an object and must be created by IDE number.

Look in dynamic ide files to find it.

Share this post


Link to post
Share on other sites
Seemann

You're using wrong opcode number for the end_custom_thread. Check it.

Share this post


Link to post
Share on other sites
archey

 

You're using wrong opcode number for the end_custom_thread. Check it.

whats the opcode? and ZAZ do i have to take armour out of it?

 

okay i changed the opcode it works now, also took out armour spawn, thanks to everyone that helped

Edited by archey

Share this post


Link to post
Share on other sites
cj360

 

You're using wrong opcode number for the end_custom_thread. Check it.

Yea I didn't notice that blush.gif

 

 

also took out armour spawn

If u still want it add this '1242' and spawn that as an item/pickup.

Edited by cj360

Share this post


Link to post
Share on other sites
archey
also took out armour spawn

If u still want it add this '1242' and spawn that as an item/pickup.

Can you write the code? i didn't really understand this haha?

Share this post


Link to post
Share on other sites
ZAZ

 

also took out armour spawn

If u still want it add this '1242' and spawn that as an item/pickup.

Can you write the code? i didn't really understand this haha?

just the number instead of hash and name

replace #ARMOUR with 1242

Share this post


Link to post
Share on other sites
archey

 

also took out armour spawn

If u still want it add this '1242' and spawn that as an item/pickup.

Can you write the code? i didn't really understand this haha?

just the number instead of hash and name

replace #ARMOUR with 1242

okay cool thanks man.

Okay now i want to change my marker for where my minigun is at but, it is staying the emmet icon, even if i take that code out of the script. i want to ad a marker over it like a green one i have tried

03DC: [email protected] = create_marker_above_pickup 2062.652 -1704.273 20.36060165: set_marker [email protected] color_to 10168: show_on_radar [email protected] 3

but i have no idea, and the Emmet one wont leave!

Edited by archey

Share this post


Link to post
Share on other sites
ZAZ

 

also took out armour spawn

If u still want it add this '1242' and spawn that as an item/pickup.

Can you write the code? i didn't really understand this haha?

just the number instead of hash and name

replace #ARMOUR with 1242

okay cool thanks man.

Okay now i want to change my marker for where my minigun is at but, it is staying the emmet icon, even if i take that code out of the script. i want to ad a marker over it like a green one i have tried

03DC: [email protected] = create_marker_above_pickup 2062.652 -1704.273 20.36060165: set_marker [email protected] color_to 10168: show_on_radar [email protected] 3

but i have no idea, and the Emmet one wont leave!

03DC: [email protected] = create_marker_above_pickup displays only a simple colored radar blip

to display icon markers needs one of these codes:

 

02A7: $439 = create_icon_marker_and_sphere 48 at $X_Johnson_house $Y_Johnson_house $Z_Johnson_house 02A8: $439 = create_marker 48 at $X_Johnson_house $Y_Johnson_house $Z_Johnson_house 04CE: $Marker_Emmets_Gun = create_icon_marker_without_sphere 48 at 2447.364 -1974.496 12.5469 0570: $630 = create_asset_radar_marker_with_icon 48 at $2367 $2368 $2369

 

the icon number is 48 in the exembles above

48 = Disco icon

 

 

 

 

 

 

 

 

Share this post


Link to post
Share on other sites
archey

 

also took out armour spawn

If u still want it add this '1242' and spawn that as an item/pickup.

Can you write the code? i didn't really understand this haha?

just the number instead of hash and name

replace #ARMOUR with 1242

okay cool thanks man.

Okay now i want to change my marker for where my minigun is at but, it is staying the emmet icon, even if i take that code out of the script. i want to ad a marker over it like a green one i have tried

03DC: [email protected] = create_marker_above_pickup 2062.652 -1704.273 20.36060165: set_marker [email protected] color_to 10168: show_on_radar [email protected] 3

but i have no idea, and the Emmet one wont leave!

03DC: [email protected] = create_marker_above_pickup displays only a simple colored radar blip

to display icon markers needs one of these codes:

 

02A7: $439 = create_icon_marker_and_sphere 48 at $X_Johnson_house $Y_Johnson_house $Z_Johnson_house 02A8: $439 = create_marker 48 at $X_Johnson_house $Y_Johnson_house $Z_Johnson_house 04CE: $Marker_Emmets_Gun = create_icon_marker_without_sphere 48 at 2447.364 -1974.496 12.5469 0570: $630 = create_asset_radar_marker_with_icon 48 at $2367 $2368 $2369

 

the icon number is 48 in the exembles above

48 = Disco icon

What i want is the Emmet icon to show on the radar from where ever you are in San Andreas.

Edited by archey

Share this post


Link to post
Share on other sites
ZAZ

 

also took out armour spawn

If u still want it add this '1242' and spawn that as an item/pickup.

Can you write the code? i didn't really understand this haha?

just the number instead of hash and name

replace #ARMOUR with 1242

okay cool thanks man.

Okay now i want to change my marker for where my minigun is at but, it is staying the emmet icon, even if i take that code out of the script. i want to ad a marker over it like a green one i have tried

03DC: [email protected] = create_marker_above_pickup 2062.652 -1704.273 20.36060165: set_marker [email protected] color_to 10168: show_on_radar [email protected] 3

but i have no idea, and the Emmet one wont leave!

03DC: [email protected] = create_marker_above_pickup displays only a simple colored radar blip

to display icon markers needs one of these codes:

 

02A7: $439 = create_icon_marker_and_sphere 48 at $X_Johnson_house $Y_Johnson_house $Z_Johnson_house 02A8: $439 = create_marker 48 at $X_Johnson_house $Y_Johnson_house $Z_Johnson_house 04CE: $Marker_Emmets_Gun = create_icon_marker_without_sphere 48 at 2447.364 -1974.496 12.5469 0570: $630 = create_asset_radar_marker_with_icon 48 at $2367 $2368 $2369

 

the icon number is 48 in the exembles above

48 = Disco icon

What i want is the Emmet icon to show on the radar from where ever you are in San Andreas.

look in sanny HELP, SCM Documentation>>GTA SA>>Radar Icons

Share this post


Link to post
Share on other sites
archey

ok so now my script isn't working.. it was working like 2 hours ago. but my cleo is working. help

 

 

{$CLEO .cs}0000:0A95: enable_thread_saving014B: [email protected] = init_parked_car_generator #CHEETAH color 15 15 1 alarm 0 door_lock 0 0 0 at 2505.36 -1696.369 17.9575 angle 0.0014C: set_parked_car_generator [email protected] cars_to_generate_to 101014B: [email protected] = init_parked_car_generator #SABRE color 86 0 1 alarm 0 door_lock 0 0 0 at 2516.75 -1710.183 14.9659 angle 269.0579014C: set_parked_car_generator [email protected] cars_to_generate_to 101032B: [email protected] = create_weapon_pickup #SNIPER group 15 ammo 20000 at 2504.56 -1722.3 18.5821032B: [email protected] = create_weapon_pickup #COLT45 group 15 ammo 10000 at 2497.81 -1687.0 13.487032B: [email protected] = create_weapon_pickup #AK47 group 15 ammo 30000 at 2500.57 -1686.5 13.49270213: [email protected] = create_pickup #KNIFECUR type 3 at 2494.09 -1687.4 13.4942032B: [email protected] = create_weapon_pickup #M4 group 15 ammo 30000 at 2499.11 -1686.9 13.4942032B: [email protected] = create_weapon_pickup #MICRO_UZI group 15 ammo 30000 at 2492.01 -1687.2 13.5132032B: [email protected] = create_weapon_pickup #MP5LNG group 15 ammo 25000 at 2490.62 -1687.3 13.5163032B: [email protected] = create_weapon_pickup #JETPACK group 15 ammo 0 at 2519.0 -1676.2 14.4843032B: [email protected] = create_weapon_pickup #HEATSEEK group 15 ammo 3000 at 2485.684 -1636.95 25.1094032B: [email protected] = create_weapon_pickup #MINIGUN group 15 ammo 45000 at 2062.652 -1704.273 20.360602a8: [email protected] = create_icon_marker_and_sphere 18 at 2062.652 -1704.273 20.36060A93: end_custom_thread

 

Edited by archey

Share this post


Link to post
Share on other sites
spaceeinstein

I don't get how it's not working. Does the game still run if you delete this code?

Share this post


Link to post
Share on other sites
archey

Wait, i think i found it out. it the save file. because i was just playing a new game and they showed up. im a get a new save and try

Share this post


Link to post
Share on other sites
coin-god

Shouldnt he load the models first?

Share this post


Link to post
Share on other sites
archey

I got my old savegame back it works now.

 

now my other issue. of the radar icon

 

This is what i want: also look at minimap(sorry for bad animation used mspaint

 

user posted image

But this is what im getting:

 

user posted image

i want it to have a green triangle over it, thatshows on the radar where ever you go. i have tried lots of codes.

Edited by archey

Share this post


Link to post
Share on other sites
ZAZ

 

Shouldnt he load the models first?

for pickups and car_generators? No.

Btw. for objects seems not needed. I never got problems using init object without model-load.

But I do it mostly if I create more objects.

Share this post


Link to post
Share on other sites
archey
Shouldnt he load the models first?

for pickups and car_generators? No.

Btw. for objects seems not needed. I never got problems using init object without model-load.

But I do it mostly if I create more objects.

can you check out my last post?

Share this post


Link to post
Share on other sites
ZAZ

 

Shouldnt he load the models first?

for pickups and car_generators? No.

Btw. for objects seems not needed. I never got problems using init object without model-load.

But I do it mostly if I create more objects.

can you check out my last post?

I checked your post, but I dont know what you want.

I can see a green trinangle(only contur) and white spot on radar, never saw it in SA or cant remember

Is it a pickupmarker?

 

But this is what im getting:

A minigun ?

 

 

 

 

Share this post


Link to post
Share on other sites
archey

no what im getting is no Marker even with the code. what i want is a green triangle over the minigun and a green square on the radar that shows all the time.

Share this post


Link to post
Share on other sites
cj360

Try looking in sanny>help>GTA SA>Radar Icons and look for the green triangle I know what you mean but I don't remember its ID.

Share this post


Link to post
Share on other sites
archey

 

Try looking in sanny>help>GTA SA>Radar Icons and look for the green triangle I know what you mean but I don't remember its ID.

I looked at the radar/icon IDs. it isn't in there. but there is

03DC: $marker07 = create_marker_above_pickup $myweaps000165: set_marker $marker05 color_to 1

in the coding Bible II

1 sets the color to green.my code for cleo is

03DC: [email protected] = create_marker_above_pickup [email protected]: set_marker [email protected] color_to 1

i have tried this. but i think it will work with a new game. ill try it and post back.

 

EDIT: It works now! because i started a new game and it shows. it this piece of sh*t save ive been using for ever that it doesn't show on. lol thanks for the help. ill probly ahve more problems/questions.

Edited by archey

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.

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  

  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

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